All Apps and Add-ons

JMeter plugin to run test cases

atewari
Path Finder

Splunk Experts,
Has anyone integrated JMeter JMX file that contains test cases and run them automatically and presented test results through Spunk. We'd like to automate this process where we can initiate running test cases included in JMeter's JMX file (XML based) and display test results with Splunk Portal.

Is this possible?

Thanks!

Tags (1)
0 Karma

atewari
Path Finder

Thanks Damien! I am creating a local environment to test this. I really appreciate it. I will award points as soon as I have implemented this.

Thanks again!

0 Karma

Damien_Dallimor
Ultra Champion

You could quite easily create a custom scripted input in Splunk that runs your JMeter test cases for you (from the JMeter ".jmx" file)

jmeter.sh -n -t my_test.jmx -l resultslog.jtl

And then have Splunk monitor the results log file , create some searches/dashboards based on the result events etc...

CSV format for the results would probably be best : http://jmeter.apache.org/usermanual/listeners.html

And to make it even better , rather than having the results written to a file and monitored by Splunk, you could have the results of the scripted input sent directly into Splunk via TCP. There was a recent discussion on Stackoverflow about this.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...