Test Executions
/api/v2/testexecutions/{id}/rerun
Re-run a Test Execution
Parameters
| Name | Description |
|---|---|
| id * | Numeric ID of the Test Execution. Type: integer (path) |
Responses
| Code | Description |
|---|---|
| 200 |
ID of the Test Execution. Media type: application/json Example Value: {
"id": 0
}
|
| 404 |
Resource was not found. Media type: application/json Example Value: {
"id": 0
}
|
| 409 |
Test Execution cannot be started. Media type: application/json Example Value: {
"id": 0
}
|
/api/v2/testexecutions/{id}
Get Test Execution
Parameters
| Name | Description |
|---|---|
| id * | Numeric ID of the Test Execution. Type: integer (path) |
Responses
| Code | Description |
|---|---|
| 200 |
Test Execution data. Media type: application/json Example Value: {
"id": 0,
"created": "string",
"start": "string",
"end": "string",
"testSuite": {
"id": 0,
"name": "string",
"testCases": [
{
"id": 0,
"name": "string",
"description": "string",
"testCaseMobiles": [
"string"
]
}
]
},
"rerunTestExecutionId": 0,
"result": {
"created": "string",
"successRatio": "string",
"traceAvailable": true,
"resultList": [
{
"success": true,
"errorCode": "SUCCESS",
"testCaseId": 0,
"testCaseName": "string",
"testCaseDescription": "string",
"testCaseWeight": 0,
"traceFile": "string",
"logs": [
{
"success": true,
"stepNumber": 0,
"mobileDeviceName": "string",
"description": "string",
"fileKey": "string",
"created": "string",
"logType": "string"
}
]
}
]
}
}
|
| 404 |
Resource was not found. Media type: application/json Example Value: {
"id": 0,
"created": "string",
"start": "string",
"end": "string",
"testSuite": {
"id": 0,
"name": "string",
"testCases": [
{
"id": 0,
"name": "string",
"description": "string",
"testCaseMobiles": [
"string"
]
}
]
},
"rerunTestExecutionId": 0,
"result": {
"created": "string",
"successRatio": "string",
"traceAvailable": true,
"resultList": [
{
"success": true,
"errorCode": "SUCCESS",
"testCaseId": 0,
"testCaseName": "string",
"testCaseDescription": "string",
"testCaseWeight": 0,
"traceFile": "string",
"logs": [
{
"success": true,
"stepNumber": 0,
"mobileDeviceName": "string",
"description": "string",
"fileKey": "string",
"created": "string",
"logType": "string"
}
]
}
]
}
}
|
/api/v2/testexecutions/{id}
Delete a Test Execution
Parameters
| Name | Description |
|---|---|
| id * | Numeric ID of the Test Execution. Type: integer (path) |
Responses
| Code | Description |
|---|---|
| 200 | Test Execution was deleted successfully. |
| 404 | Resource was not found. |
| 409 | Resource cannot be deleted. |
/api/v2/testexecutions
List Test Executions's
Parameters
| Name | Description |
|---|---|
| page | The page to list entries. Type: string (query) Default value: 0 |
| size | The page size for listing entries. Type: string (query) Default value: 20 |
| sort | The sort type for listing entries. Type: string (query) |
| prj | The project list for filtering entries. Type: string (query) |
| start | The start timestamp for listing entries. Type: string (query) |
| end | The end timestamp for listing entries. Type: string (query) |
| search | The search text for listing entries. Type: string (query) |
Responses
| Code | Description |
|---|---|
| 200 |
OK Media type: application/json Example Value: {
"totalElements": 0,
"totalPages": 0,
"number": 0,
"sort": {
"sorted": true,
"unsorted": true,
"empty": true
},
"size": 0,
"content": [
{
"id": 0,
"name": "string",
"projects": [
{
"id": 0,
"name": "string"
}
]
}
],
"first": true,
"last": true,
"pageable": {
"sort": {
"sorted": true,
"unsorted": true,
"empty": true
},
"offset": 0,
"paged": true,
"unpaged": true,
"pageNumber": 0,
"pageSize": 0
},
"numberOfElements": 0,
"empty": true
}
|