{
"details": {
"id": "<String>", //Test Case Id
"summary": "<String>", //Test Case summary
"externalId": "<String>",//External Id of the test case if defined
"loopIndex": "<Number>" //Current loop index useful for test case having a loop
},
"request": { //Test Case request definition as specified by user
"method": "<String>", //Test Case request method, value can be one of GET, POST, PUT, PATCH, DELETE, OPTIONS.
"url": "<String>", //Test Case URL
"params": [
{
"id": "<String>", //Parameter Id
"name": "<String>", //Parameter name
"method": "String", //Parameter type, value can be one of query, body, path.
"value": "<String>", //Parameter value
"description": "<String>", //Parameter description
"paramType": "String" //Parameter data type, value can be one of string, number, boolean, object.
},
...
],
"headers": [
{
"id": "<String>", //Header Id
"name": "<String>", //Header name
"value": "<String>" //Header value
},
...
],
"rawBody": "<String>" //Raw body if specified, in string format
},
"execution": {
"request": {
"url": "<String>", //Test Case execution URL with query params
"method": "<String>", //Test Case request method, value can be one of GET, POST, PUT, PATCH, DELETE, OPTIONS.
"headers": "<String>", //JSON String containing request header names as keys and header values as values of those keys.
"body": "<String>" //Request body in string form
},
"response": {
"statusCode": "<Number>", //Response Status Code
"headers": "<String>", //JSON String containing response header names as keys and header values as values of those keys.
"body": "<String>" //Response body in string form
}
},
"result": {
"isExecuted": "<Boolean>", //Flag whether the test case is executed or not in the current test run.
"isPassed": "<Boolean>", //Flag whether the test case is passed or not in the current test run.
"isRunnable": "<Boolean>", //Flag whether the test case is runnable or not in the current test run.
"resultLink": "<String>" //Link to view the result of this test case in the current test run.
}
}