Forums

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

How to Map the xray/jira test case id with postman script and how to upload the postman result back

Gireesh
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!
June 11, 2020

Hi Team,
Am completely new to the API testing,

  1. I just wanted to know how to map the test cases which are present in xray with our postman script (here i know we have a test case ID based on that we can map but dont have idea on how to map-- please help me on that)
  2. Once after ran the collection, how to update the test case executed result back to xray through postman only(am not sure whether it is possible or not, if possible please guide me on that).
  3. For your information, here am using only postman tool and not using any programming languages to write code. If we want to write a code to integrate/map b/w xray and postman result collection please suggest me on that. 

Thanks in advance and really appreciate for the quick reply.

1 answer

0 votes
José Domingues [Xray]
Atlassian Partner
July 10, 2020

Hi @Gireesh

To export tests to JSON, you need to specify the keys, the ID of the filter or JQL query of the issues you want to export. At least one query parameter has to be specified, but all 3 can be sent at the same time.

When importing execution results using Xray JSON result format in a Continuous Integration environment, you can specify which Test Execution issue to import the results on using the "testExecutionKey" property. Alternatively, you can create a new Test Execution for the execution results and specify the Test Execution issue fields in the "info" object.

You can find information related to this in the below documentation:

Best Regards,

Team Xray

Suggest an answer

Log in or Sign up to answer