Restart a Job Using API

Restarting an Awetest job given the job ID using API

 

We can restart any given job using an API.

 Steps:

 

  • Get an access token (Refer to the documentation describing the process to get access token).
  • Go to terminal and type the following command

        curl -X POST http://www.awetest.com/api/v1/jobs/<JobID>/restart?access_token=<AccessToken>

 

 

Example:

curl -X POST http://166.78.101.160:8080/api/v1/jobs/6342/restart?access_token=73c7c180041c67c60618eb2042a7cfcc34a56b1bb99540791f491c2b82ef363e

Response: ID of the newly created job

 

{"id":6364}

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk