Sep 13, 2022 — Test Center API v3 Beta improvements
The latest update for Test Center API v3 (Beta) include:
- Possibility to test webpages which require POST and HEAD HTTP method for assertion.
- You can add pragma and request headers for POST and HEAD.
- You can encode request body.
Currently, this operation is subjected to following limitations:
- POST request body doesn't support the binary data input.
- Test cases with request method are supported only by API. You can't access or work with these test cases via UI or CLI.
- Test suites withBROWSER
client type based test cases disappear from UI and CLI once you add to it test cases with CURL client type. We recommend you create a new test suite forCURL
client type test cases only.
- Constants format is changed from lower case to upper case:
ipVersion
values changed fromipv4
andipv6
toIPV4
andIPV6
, respectively.headerAction
values changed fromadd
,modify
,filter
toADD
,MODIFY
, andFILTER
, respectively.status
values changed fromin_progress
,failed
, andcompleted
toIN_PROGRESS
,FAILED
, andCOMPLETED
, respectively.
stateful
andlocked
boolean parameter names changed toisStateful
andisLocked
, respectively.- New response structure for GET requests. The response object contains a list of resources instead of direct list of resources.
- Test cases support
GET
,POST
, andHEAD
request methods. This change is also the cause of new required fields for test cases.
These changes might impact your current settings, so make the necessary changes to your implementation.
To learn more about changes between v2 and v3 API, check Test Center migration.
For more details on the API v3, refer to the API documentation.