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

Friday, January 13, 2017

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?

Kashi Anaganti

2 Replies
Friday, January 13, 2017
re: kashi-visenze Friday, January 13, 2017
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.


Saturday, January 14, 2017
re: inflectra.david 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.

Kashi Anaganti

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Friday, January 13, 2017
  • Last Reply: Saturday, January 14, 2017
  • Replies: 2
  • Views: 1689