Get-ASTestState

AdminStudio 2021 | 21.0 | AdminStudio REST APIs

Edition:REST APIs are enabled with AdminStudio Enterprise Edition.

When you send this request, it will return the test state (selected or not selected) of a given test.

Get-ASTestState API Information

Request Type

Description

API

http://localhost:8086/testcenter/tests/{InternalTestID}/state

Method

GET

Parameters

List all parameters in the following format:

InternalTestID = Use to specify the ID number of the test that you are checking the test state

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

<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>8ffb6c26-8b8b-429b-8b64-0919f8247772</Postman-Token></httpHeaders><request></request></headers><summary /><data>true</data>

</response>