dmolchanenko / RedwoodHQ

Other
161 stars 96 forks source link

Rest api #7

Closed ghost closed 8 years ago

ghost commented 8 years ago

These are the changes needed to launch executions via a rest api. It takes the exact parameters as the CLI execution and does limited query parameter checking as follows:

  1. Checks for required number of parameters
  2. Checks to make sure there is an available thread to execute the test The URL to invoke the execution is as follows: http://localhost:3000/api/remoteexecution/startexecution?name=Amazon+Shopping&user=admin&testset=Amazon+Shopping&machines=127.0.0.1&pullLatest=false&retryCount=1&project=Sample&ignoreScreenshots=true