Skip to main content

Selecting Test State

REST APIs are enabled with AdminStudio Enterprise Edition.

When you send this request, it will set a given test to either run or not run.

Request TypeDescription
APIhttp://localhost:8086/testcenter/tests/\{InternalTestID\}/state/\{State\}
MethodPUT
ParametersList all parameters in the following format: InternalTestID = Use to specify the ID number of the test whose test state you want to set State = Use to specify the test state either True or False.
Connection InfoProvides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs
ResponseExample: http://localhost:8086/testcenter/tests/1002/state/false <response> <HasFault>false</HasFault><headers><httpHeaders><Host>localhost:8086</Host><Connection>keep-alive</Connection><Accept>*/*</Accept><User-Agent>PostmanRuntime/7.26.10</User-Agent><Accept-Encoding>gzip, deflate, br</Accept-Encoding><Postman-Token>6839882d-d21e-4934-90f9-ca33a8489447</Postman-Token><Content-Length>0</Content-Length></httpHeaders><request></request></headers><summary /><data>true</data> </response>