Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,702
Community Members
 
Community Events
184
Community Groups

How to update test cases status/execution status in zephyr scale using postman calls

Rohit Sinha
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!
Mar 21, 2023

I am trying to update/change the execution status of the test cases in Zephyr scale via postman. For example, I want to change the status of a test case from Pass to Fail either under Test Cycles/Cases or Test executions. I tried few of the below POST/PUT calls but get errors such as, "Method Not allowed" or "Invalid Payload":

Option 1: POST

URL: ...//api.zephyrscale.smartbear.com/v2/testexecutions

Request Body: 

{

"createTestExecution.projectKey": "B2B", 

"createTestExecution.statusName": "PASS", 

"createTestExecution.testCaseKey": "B2B-T1082", 

"createTestExecution.testCycleKey": "B2B-R33"

}

Option 2: PUT/POST

URL: ...//api.zephyrscale.smartbear.com/v2/testcases/B2B-T1082

Request Body: 

{
    "updateTestCase.key""B2B-T1082",
    "updateTestCase.name""Terms of Use",    
    "updateTestCase.status": {
        "id"2472038
    }

Could anyone please help me with the correct syntax of the API call in Postman for changing the status of test cases/executions in Zephyr scale.

1 answer

0 votes
Clark Everson
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 21, 2023

Hi Rohit,

Welcome to community! While sometimes you may find answers for apps on the community, apps are very much like apps on your phone. So as there are thousands of them you may not find someone that can answer your specific question.

 

I would recommend submitting a ticket to the vendor if you have not already:https://support.smartbear.com/zephyr-squad/

 

Best,

Clark

Suggest an answer

Log in or Sign up to answer