Splunk Search

Jmeter Results on splunk dashboard

srv007
Path Finder

We have a requirement to have a splunk dashboard which shows all the testcases that we have run from Jmeter for visibility purpose. I want to understand how can we achieve this.
Jmeter gives the option to export the detailed reports in csv format which can be uploaded to splunk but that would be manual approach, every time uploading csv file would be time consuming one.

Is there anyway we can integrate Jmeter with Splunk which allows to dump the reports on splunk.
The limitation here is since its a project in an organization, any external app or plugin can not be installed which is not approved by the organization.

Labels (3)
0 Karma

deepakc
Builder

At a high level:

You need to find a method of the Jmeter application to either dump/send/ftp/scripts  etc the csv files into a folder and create an inputs.conf with the required config(props.conf) file to monitor the csv files. Where the csv files will be located you will need a UF configured so that it sends to the Indexers.

The csv files should contain a time stamp, this should comes from the Jmeter application, and hopefully it does,  otherwise it will use default mod time.

In the inputs.conf there's an option to monitor the files and then delete them, this is the batch option so once it monitors the csv file, it sends it to the sinkhole (deletes it), other wise use the normal monitor option, your choice.

The it’s the goal is achievable, needs some setup/config/testing/refining/data checking.

0 Karma

yuanliu
SplunkTrust
SplunkTrust

This is a Jmeter question, then.  Other than manual export, what other capabilities/interfaces does Jmeter provide?  Any API call that will allow you to query all test cases? (Scripted input.)  Any way to trigger export after each test?  Or simply allow scheduled export? (File input.)  Is there a hook-like mechanism to trigger an arbitrary script after test? (HEC, file input, scripted input.)  There can be other possibilities.  If you know the answer but are unfamiliar with Splunk mechanisms, What data can I index? is a good place to start.  If you do not, present the documentation to a Jmeter expert and ask.

Additionally, this is a search forum.  The subject is more suitable in Getting Data In.  Even there, I doubt if many people will be intimately familiar with Jmeter.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...