Mark4Later
Mark4Later

Reputation: 25

Active Threads Over Time graph is not updated

I am using Jmeter 4.0, when run the example downloaded from Active Threads Over Time Listener document page, the graph has not changed since the beginning and end, enter image description here

here the thread group :

enter image description here

enter image description here enter image description here

Upvotes: 1

Views: 1485

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

I noticed you're running JMeter test in GUI mode. Please don't., GUI mode is supposed to be used for tests development and debugging only, it is not suitable for test executions.

The test plan you're using generates > 5 millions samples in a > 500 MB file which is very "heavy" for interactive GUI listener updating.

  1. Disable (or remove) Active Threads Over Time listener
  2. Run your Test in command-line non-GUI mode like:

    jmeter -n -t ActiveThreadsOverTimeExample.jmx -l result.jtl
    
  3. When your test finishes open JMeter GUI and add Active Threads Over Time listener
  4. Using "Browse" button locate result.jtl file
  5. The graph should be displayed properly (you might have to wait a little bit)

    enter image description here


A better option would be using Command-line Graph Plotting Tool like:

  1. Perform above steps 1 and 2
  2. Execute the following command:

    JMeterPluginsCMD.bat --generate-png threadsovertime.png --input-jtl result.jtl --plugin-type ThreadsStateOverTime  --width 1024 --height 768
    

    Once command finishes you will be able to see the chart in the threadsovertime.png file

    You can install JMeter Plugins Command Line Graph Plotting Tool using JMeter Plugins Manager.

Upvotes: 1

Related Questions