It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update Test Step Result through API

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

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
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

375 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you