The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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?

TAGS
AUG Leaders

Atlassian Community Events