Test Set Execution status is not changed when executing test case through rest call

Friday, January 13, 2017 6:46:15 AM
Hello,

I am in the evaluation phase of the tool. We are looking into updating the test cases status once our automation script get executed. 
I used the following endpoints to create a test run and update the test cases

[POST] /Services/v5_0/RestService.svc/projects/{project_id}/test-runs/create/test_set/{test_set_id}
[PUT] /Services/v5_0/RestService.svc/projects/{project_id}/test-runs?end_date={end_date}

However, when i look at the test set after the call, the status is set to completed but executionstatus is not updated. Inside the test case, under the test runs tab, a test run is created.

Is there any way I can update the execution status?



Thanks,
Kashi Anaganti

2 Replies
Friday, January 13, 2017 9:15:03 PM
Avatar
re: kashi-visenze on Friday, January 13, 2017 6:46:15 AM
Hi Kashi

Yes, you can update the test set status as well, just do a PUT on the actual test set itself as a separate call, and put in the desired TestSetStatusId value.

Regards

Adam
Saturday, January 14, 2017 7:16:55 AM
Avatar
re: inflectra.adam on Friday, January 13, 2017
Hi Adam,

Thanks for your response. I am able to update the test set status id now but  not able to update the execution status.

Is there any separate rest call i need to make for that? please suggest.

Thanks,
Kashi Anaganti
Statistics
  • Started: Friday, January 13, 2017 6:46:15 AM
  • Last Reply: Saturday, January 14, 2017 7:16:55 AM
  • Replies: 2
  • Views: 240