Set-ASTestState
                                            
Edition: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 Type | Description | ||||||
| API | http://localhost:8086/testcenter/tests/{InternalTestID}/state/{State} | ||||||
| Method | PUT | ||||||
| Parameters | List all parameters in the following format: 
 
 | ||||||
| Connection Info | Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs | ||||||
| Response | Example: 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> |