Xray- json return empty array - No jira creation

Viewed 18

I've created my client_id and secret on Jira and can get a proper Bearer token to communicate to Xray

I've got a return 200 code, but Nothing is created in Jira; why?

Can someone indicate to me what I've missed out

(was able to import the robot test but not JSON, as I would like to integrate Gatling result in Xray)

POST https://xray.cloud.getxray.app/api/v2/import/execution/ {

"testExecutionKey": "DP-12284",

"info" : {

    "summary" : "Execution of automated tests for release v1.3",

    "description" : "This execution is automatically created when importing execution results from an external source",

    "version" : "v1.3",

    "user" : "admin",

    "revision" : "1.0.42134",

    "startDate" : "2014-08-30T11:47:35+01:00",

    "finishDate" : "2014-08-30T11:53:00+01:00",

    "testPlanKey" : "DP-12272",

    "testEnvironments": ["iOS", "Android"]

},

"tests" : [

    {

        "testKey" : "DP-12271",

        "start" : "2014-08-30T11:47:35+01:00",

        "finish" : "2014-08-30T11:50:56+01:00",

        "comment" : "Successful execution",

        "status" : "PASSED"

    }

 ]

}xray.png

enter image description here

enter image description here

doc read: https://docs.getxray.app/display/XRAYCLOUD/Import+Execution+Results+-+REST+v2#ImportExecutionResultsRESTv2-XrayJSONresults

0 Answers
Related