Send the test results in JSON format to Xray #28987
Unanswered
RomainVivien
asked this question in
CI setup
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I use Cypress for my tests and Cucumber to write them. I would like to automate sending my tests in Gherkin format to Jira. Currently, this part is functional, but I am facing difficulties in automatically sending the generated JSON file at the end of the tests. This file is crucial for determining whether the test has failed or not.
Run curl --location -X POST "https://jira.****.com/rest/raven/2.0/export/execution/json?projectKey=****&testPlanKey=****" --header "Authorization: ****" --header "Content-Type: application/json" --data-binary @reports.json
Beta Was this translation helpful? Give feedback.
All reactions