- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.
HTTP request
GET https://{endpoint}/v3beta1/{parent=projects/*/locations/*/agents/*/testCases/*}/results
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The test case to list results for. Format: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
page |
The maximum number of items to return in a single page. By default 100 and at most 1000. |
page |
The nextPageToken value returned from a previous list request. |
filter |
The filter expression used to filter test case results. See API Filtering. The expression is case insensitive. Only 'AND' is supported for logical operators. The supported syntax is listed below in detail: The supported fields and operators are: field operator
Examples: * "environment=draft AND latest" matches the latest test result for each test case in the draft environment. * "environment IN (e1,e2)" matches any test case results with an environment resource name of either "e1" or "e2". * "testTime > 1602540713" matches any test case results with test time later than a unix timestamp in seconds 1602540713. |
Request body
The request body must be empty.
Response body
The response message for TestCases.ListTestCaseResults
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"testCaseResults": [
{
object ( |
Fields | |
---|---|
test |
The list of test case results. |
next |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/dialogflow
For more information, see the Authentication Overview.