Update Test Step Result through API

Naresh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2018

Hi, I have a scenario of TestCase with 2 steps, and need to update Test Step status through API. Im trying below URL but seeing error.

 

http://<Server>:<port>/flex/services/rest/latest/execution/teststepresult/61?status=&comment=

 

while id in the URL is the Test Step ID and Status and Comments

using the request message as below

{"id":61,"comment":"Teststep is success","status":"3","testStepId":45}
 

Could you please advice on this.

1 answer

0 votes
Gregor Czempik October 9, 2019

please note: there are several IDs (the numbers are examples!):

"id":8408 = Teststep (object?) ID, different for each test execution

"executionId":3053 => within each test excecution you will get different / new id for the same teststep

"stepId":2999 = "testStepId":2999

 

so what ist your 61? which of those IDs?

which of your teststeps do you try to update?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events