0

I am Implementing Jmeter/taurus for performance testing for microservices. We are using Openshift PaaS solution to run all microservices. I am able to deploy jmeter/taurus inside Openshift using jenkins pipeline and generated the taurus report using jmx report in the container. My requirement is to publish the taurus report to Jenkins, rather than storing it to cloud storage or nexus. Can someone advise me what should be best approach to publish performance report for developers on Jenkins or any other optimal way to publish.

I found something by googling where they Jenkins agent was deployed inside Openshift and checkout the test suite Git repo into the agent's workspace just want to make sure if this is the best approach for my scenario. Our Jenkins master is running on Google cloud platform VM's with some dynamic slaves.

Thanks in Advance!

Aryan johan
  • 61
  • 1
  • 9

1 Answers1

1

According to Dump Summary for Jenkins Plugins Taurus User Manual Chapter, you just need to add reporting module definition to your YAML configuration file like:

reporting:
- module: final-stats
  dump-xml: stats.xml

And "feed" this stats.xml file to Jenkins Performance Plugin

enter image description here

That's it, you should get Performance Report added to your build dashboard. Check out How to Run Taurus with the Jenkins Performance Plugin article for more information if needed.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • I was able to produce stats.xml, but how can I take it onto the jenkins server since that resides inside the container? Above solution will work once the report is available on Jenkins server or one of the slave. – Aryan johan Nov 13 '18 at 13:32
  • did you mean to run Jenkins slave in Openshift? – Aryan johan Nov 14 '18 at 15:14