So I run a Jmeter job on an Ubuntu server via the CLI. The test has a "View Results Tree" where I provide a log filename and path. I then can "less" cmd and scroll but wow is that tedious. I want to know if it is possible to download that log file and load it in JMeter Gui and view as you would in the View Results Tree element? Or does anyone know of some kind of JMeter Gui log viewer that can be used?
So I see I did not explain this correctly. Let me add that the running of the test is in the past. Now I have the tree log file in XML. I am looking for a tool that takes that XML and makes it into a pretty interface like the JMeter TREE log viewer while running the test but in this case AFTER the test is completed.
2
Answers
Yes you can view that in GUI by browsing the file.
Please bear in mind – by default, it will not allow you view all the samples. If you wanted to view all teh samples then you need to enable the configuration in
/bin/jmeter.properties and set the max_results to 0
I am not aware of any external tool to view the results – you can give it a try with Octoperf
You can mount the folder from the Ubuntu server where the listener is writing results to via NFS or Samba so it will be available over the network
You can copy the file from the Ubuntu server using scp command to yur local machine and open the file using JMeter GUI
You can use SSH X forwarding and run JMeter on the Ubuntu server and see its GUI on your local machine (you will need to have X server up and running on your machine)
If you just added View Results Tree listener and provided the path to the file where the metrics will be stored – you won’t be able to see request and response details. You will need to press "Configure" button and choose what do you want to store:
alternatively you can amend JMeter Properties which are responsible for the results file configuraiton, you can choose what is stored in JMeter’s .jtl results file. More information: How to Save Response Data in JMeter