Jmeter script - How to read the jtl file

book

Article ID: 130793

calendar_today

Updated On:

Products

CA App Synthetic Monitor NIMSOFT CLOUD USER EXPERIENCE MONITOR

Issue/Introduction



We have created a JMeter script.  If a step fails, how can we see this in a jtl file?

Environment

Release:
Component: WMAPP

Resolution

To view the jtl file perform the following steps.

1. Open JMeter and load the script in question.
2. In the ASM UI, go to the logs of the Script Monitor that is showing an error.  On the side menu, click on Analysis -> Logs and select the monitor.
3. Click on the Root Cause Analysis (or Detailed Analysis) icon in the log.

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

4. Once the analysis window opens up, scroll down and look for the link to the jtl file as you see it below.

<Please see attached file for image>

User-added image

5. Once you download it, go back to your JMeter and ensure your script has a View Results Tree in it.  If not, right click on Thread Group -> Add -> Listener -> View Results Tree

<Please see attached file for image>

User-added image

6. Select View Results Tree and in the screenshot below, click on Browse and open the jtl file you have downloaded.

<Please see attached file for image>

User-added image

7. Once loaded, you can then view your steps in the Text view and on the Sampler Result will be the result of the steps.  Green means the step passed.  Red means the step failed.  The Sampler Result will have an explanation as to how it failed.

Attachments

1558687542775000130793_sktwi1f5rjvs16fb4.png get_app
1558687541085000130793_sktwi1f5rjvs16fb3.png get_app
1558687539007000130793_sktwi1f5rjvs16fb2.png get_app
1558687537256000130793_sktwi1f5rjvs16fb1.png get_app
1558687533948000130793_sktwi1f5rjvs16fb0.png get_app