May 4, 2023 — Test Center v3 Beta improvements
The latest update for the Test Center release includes:
-
In the POST /test-management/v3/test-runs API,
configVersionExecutions
andrequirementexecution
are no longer supported. The API accepts a single property name or ID and a version and executes all the associated test suites. The same applies totestSuiteExecutions
andtestCaseExecution
. -
In the GET test-management/v3/test-runs API:
- The API returns high-level information of a test run with functional object. For detailed information you need to GET /test-management/v3/test-runs/{testRunId}. This is to improve the performance of the API.
- To provide more accurate status on the test run, there's a new status of the test run:
COMPLETED_WITH_UNEXPECTED_RESULTS
. It indicates that some of the run test cases failed to execute or the condition evaluation for some of them isFAILED
.
-
In the
clientProfile
object, theclientType
member is changed toclient
with valuesCHROME
andCURL
. Impacted APIs:- POST /test-management/v3/functional/test-suites/with-child-objects
- GET /test-management/v3/functional/test-suites/{testSuiteId}/with-child-objects
- PUT /test-management/v3/functional/test-suites/{testSuiteId}/with-child-objects
- POST /test-management/v3/functional/test-suites/auto-generate
- GET /test-management/v3/functional/test-suites/{testSuiteId}/test-cases
- POST /test-management/v3/functional/test-suites/{testSuiteId}/test-cases
- PUT /test-management/v3/functional/test-suites/{testSuiteId}/test-cases
- GET /test-management/v3/functional/test-suites/{testSuiteId}/test-cases/{testCaseId}
- POST /test-management/v3/functional/test-suites/{testSuiteId}/test-cases/remove
- POST /test-management/v3/functional/test-suites/{testSuiteId}/test-cases/restore
-
In a test suite object,
testCaseCount
got renamed toexecutableTestCaseCount
. This change is caused by the Variables group feature. -
In the GET /test-management/v3/test-runs/{testRunId} API, the
order
filed from thetestCaseExecution
object is moved to thetestCaseContext
object. -
Support of variable groups.
-
In the GET /test-management/v3/test-runs/{testRunId} API, you can modify the amount of data received in the response by using appropriate query parameters:
includeContext
returns details of a test suite and test cases.includeSkipped
returns objects skipped at the time of the test run submission.includeAuditInfoInContext
returns audit fields for all test objects.
-
The new
resolveVariables
query parameter resolves statically assigned and group variables in test cases. You can use it to verify whether test cases are defined correctly before running a test. -
Removed the test case uniqueness check while creating test cases under stateful test suites.
-
In the POST /test-management/v3/test-runs API,
testSuiteExecutions
under a property andtestCaseExecutions
under a test suite execution are now optional.