Workflow, which links Wiremock + Postman + Jira +Xray + Jenkins in such a way that automatic test procedures can be carried out, which then return reports to Xray.


Currently we use the following setting to run the test. But Jira + Xray + Jenkins are not yet integrated.

  • In Wiremock we create the respective mock-queries
  • We then use these queries in Postmann


  • Is it possible to automate this complete process?
  • Is this only possible via Junit?
  • Can this also be done via Python?
  • Have you tried anything, in Python or otherwise? What happened?
    – jonrsharpe
    Jul 24, 2020 at 9:31
  • Basically, we have already tried out quite a few things, but at least we have not yet agreed on which workflow would be the best here.
    – Mornon
    Jul 24, 2020 at 9:57
  • In terms of content, it is initially only about the test workflow itself.
    – Mornon
    Jul 24, 2020 at 9:57
  • 2
    What things? What does "best" mean? Why can't you agree within your team?
    – jonrsharpe
    Jul 24, 2020 at 9:58
  • 2
    Postman have plugins to create junit XML report , you can use it in jira - x-ray I think
    – PDHide
    Jul 24, 2020 at 11:07

1 Answer 1


TL;DR: Jenkins supports pipelines from code. Make your build, test and deploy pipeline in code and you are not dependent on a specific CD tool. If you can do it from the command line and with API's you can combine and chain any tool or test-step. Use Pipelines as Code!

Is it possible to automate this complete process?

Probably, but not out of the box with some clicks in a UI. Worst case you need to write some custom code or shell/bat-scripts to tie everything together in Jenkins. This makes Jenkins very flexible, if you can do it on the commandline you can do it in Jenkins.

Can this also be done via Python?

Same as above, if you can do it on the command line you can do it in Python with subprocess. Also Postman has a command line interface, maybe check out the Newman examples: https://learning.postman.com/docs/running-collections/using-newman-cli/command-line-integration-with-newman/

Is this only possible via Junit?

No, I don't see what JUnit has to do with it, the tool examples you give don't need the JUnit test-runner to run. Maybe using standard Jenkins steps you want to use JUnit test result output format which those tools support. XRay supports JUnit reports as does Postman, so it might make importing results easier. You could also use the Postman JSON output and rewrite it to a XRay JSON import, or parse the Postman JSON with code and call the XRay API.

Other reads:

  • Thanks Niels! Great Answer!
    – Mornon
    Jul 31, 2020 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.