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

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

Xray not displays steps from import

Hi, Im trying to import test execution using POST /api/v2/import/execution. This is my payload:

{
"info" : {
"summary" : "Execution of automated tests for release v1.3",
"description" : "This execution is automatically created when importing execution results from an external source",
"startDate" : "2014-08-30T11:47:35+01:00",
"finishDate" : "2014-08-30T11:53:00+01:00",
"testEnvironments": ["tst"]
},
"tests" : [
{
"testKey" : "AT-2919",
"start" : "2014-08-30T11:51:00+01:00",
"finish" : "2014-08-30T11:52:30+01:00",
"comment" : "Execution failed. Example #5 FAIL.",
"status" : "FAILED",
"evidences" : [
{
"data": "iVBORw0KGgoAAAANSUhEUgAABkIAAAO9CAYAAADezXv6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEn(...base64 file enconding)",
"filename": "image21.jpg",
"contentType": "image/jpeg"
}
],
"steps": [
{
"status": "PASSED",
"comment": "Comment on Test Step Result 1",
"actualResult" : "Step Passed with Status Code 200"
}
]
}
]
}

It creates execution task but steps are empty:

image.png

Can you please help me and tell what Im going wrong?

1 answer

Hi @KubaKostrzewski 

Does the Test AT-2919 has the steps created? Or is it a Test case without any steps?

If you don't, it is necessary to have the Test case fully created first before importing an Execution.

Thank you.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

143 views 2 6
Read article

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