dsaju
4 years agoOccasional Contributor
Not able to add teststep
Hi ,
I am not able to add multiple teststeps using the REST endpoint
/testresult
I am sending the below sample body but I only see the index 0 on the webpage
[
{
"status": "Pass",
"testCaseKey": "TTT-T84",
"comment": "The test has failed on some automation tool procedure.",
"executionTime": 180000,
"executedBy": "tomation01",
"assignedTo": "tomation01",
"actualStartDate": "2016-02-14T19:22:00-0300",
"actualEndDate": "2016-02-15T19:22:00-0300",
"scriptResults": [
{
"index": 0,
"status": "Pass",
"comment": "This step has pass."
},
{
"index": 1,
"status": "Pass",
"comment": "This step has failed."
},
{
"index": 2,
"status": "Pass",
"comment": "This step has failed."
}
]
}
]