Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a simple HTTP server that will act as phantomas entry point #142

Closed
macbre opened this issue Nov 28, 2013 · 5 comments
Closed

Create a simple HTTP server that will act as phantomas entry point #142

macbre opened this issue Nov 28, 2013 · 5 comments
Milestone

Comments

@macbre
Copy link
Owner

macbre commented Nov 28, 2013

Features:

  • adding a test (PUT /test)
  • checking the test completion / results (GET /test/:id)
  • websockets for observing the log

Frameworks:

  • nodejs + express
  • perl + dancer

Use phantomas node.js module - #152

@macbre macbre modified the milestones: v1.1, Roadmap Mar 12, 2014
@macbre macbre modified the milestones: Roadmap, v1.1 Mar 27, 2014
@macbre
Copy link
Owner Author

macbre commented Apr 16, 2014

https://github.com/go-martini/martini - or go with golang :)

@cvan
Copy link
Contributor

cvan commented Jun 25, 2014

This sounds fantastic. I'd like to assign this to myself.

@macbre
Copy link
Owner Author

macbre commented Jun 25, 2014

👍

@gmetais
Copy link
Contributor

gmetais commented Jan 10, 2015

Hi,

Just writing here in case it can inspire you or anyone. The new version 1.1 of YellowLabTools introduces an API for launching tests. You might be interested to know you can ask the API to return the Phantomas JSON results.

The API normally returns YLT transformed results, but using it with the partialResult: phantomas parameter will remove all the YLT bullshit ;)

Example curl command:

curl -L 'http://yellowlab.tools/api/runs' -H 'Content-Type: application/json' --data-binary '{"url":"www.google.fr","waitForResponse":true,"partialResult":"phantomas"}'

Not very far from what you where talking about here. No websockets for the logs though :)
The API documentation is here: https://github.com/gmetais/YellowLabTools/wiki/Public-API

@macbre
Copy link
Owner Author

macbre commented Jan 11, 2015

Nice, thanks @gmetais !

@macbre macbre closed this as completed Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants