One of the things that any new person who is dealing with JMeter is facing that if you save a jmx project which is executed before the run results is not saved.
So if you didn’t know this you may lose your run results and you have to repeat again.
One of the best ways to save your run data is using “Simple Data Writer” it not only make you able to save your run data but also enable you to use the data file on any listner or graph you want or need.
CSV is one of the file extensions you can use to save your run results as the following example.
In the above example the results table will be saved to a .CSV file which is good in case you want only the data shown in the table but if you want more the Simple data writter will be a better option.
What are JTL files?
JMeter can create text files containing the results of a test run.
These are normally called JTL files, as that is the default extension – but any extension can be used.
Simple Data Writer
You can configure the results save configuration the more you save the more listners you can use.
I used to select them all , sometimes this leads to larger size data file but this is safer to use in different graphs and listners as i will show you later.
Lets add simple data writter to thread group and disable all the other listners and execute test as the following.
After the run is finished i’m going to open the jtl file in the following listners :
- View Results Tree
- Summary Report
- Active Threads over time graph
- Hits per second graph
As shown above the results data saved using Simple Data Writer can be used in any of the default JMeter listners and also extra listners which can be added to JMeter in the feature , .JTL extension is the default saving extensions which can be re-saved to CSV file if needed , see the following Wiki Page
Leave a Reply to Mohamed Cancel reply