ListTestCases - AWS IoT

ListTestCases

Lists all the test cases in the test suite.

Request Syntax

GET /testCases?intendedForQualification=intendedForQualification&maxResults=maxResults&nextToken=nextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

intendedForQualification

Lists all the qualification test cases in the test suite.

maxResults

Requests the test cases max results.

Valid Range: Minimum value of 1. Maximum value of 50.

nextToken

Requests the test cases next token.

Length Constraints: Maximum length of 2000.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "categories": [ { "name": "string", "tests": [ { "configuration": { "string" : "string" }, "name": "string", "test": { "id": "string", "testCaseVersion": "string" } } ] } ], "groupConfiguration": { "string" : "string" }, "nextToken": "string", "rootGroupConfiguration": { "string" : "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

categories

Gets the category of test case.

Type: Array of TestCaseCategory objects

groupConfiguration

Gets the configuration of test group.

Type: String to string map

nextToken

Test cases next token response.

Type: String

Length Constraints: Maximum length of 2000.

rootGroupConfiguration

Gets the configuration of root test group.

Type: String to string map

Errors

InternalServerException

Sends Internal Failure Exception.

HTTP Status Code: 500

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: