1

I am looking to monitor live user responses through jmeter. Can the backend listener in jmeter used to record live users(end users)? I am not talking about virtual users that we set up in jmeter. But the real end users.How can this be achieved? Editing to add more details:

Our requirement is to monitor the real users, in 2-3 geographical locations, all through out the business hours..say from 8 to 5.

For this purpose, do you think, I need to have a dedicated machine with jmeter, grafana and influxdb for monitoring alone? I have other testing going on using jmeter and I don't want to use the same machine to do both monitoring and testing. DO you think this is achievable by jmeter? ANy suggestions?

user71899
  • 17
  • 1
  • 6

2 Answers2

2

you can use the following tools in combination to achieve live monitoring:

  1. JMeter backend Listener - to send results to influxDB
  2. influxdb - store the results sent by backend listener
  3. grafana - run continuous queries for metrics and plot graphs like average response times etc.

Follow the steps mentioned here:

  1. http://jmeter.apache.org/usermanual/realtime-results.html - First Option
  2. https://www.linkedin.com/pulse/jmeter-live-performance-monitoring-dashboard-grafana-influxdb-sarker
  3. http://www.testautomationguru.com/jmeter-real-time-results-influxdb-grafana/
  4. http://techblogsearch.com/a/live-performance-result-monitoring-with-jmeter-grafana-influxdb.html
Naveen Kumar R B
  • 6,248
  • 5
  • 32
  • 65
  • In that case, the graphite host and port that I need to give in the backend listener should be that of the remote server where the real users log in? – user71899 Nov 22 '16 at 09:21
  • refer the steps here to setup till influxDB http://stackoverflow.com/questions/40606715/how-to-install-influxdb-on-windows-os-and-access-admin-console – Naveen Kumar R B Nov 22 '16 at 09:40
  • refer [[graphite]] section in influxdb.conf to configure the port "bind-address = :2003". whatever port is configured here, you should specify the same in backend listener. – Naveen Kumar R B Nov 22 '16 at 09:54
  • Our requirement is to monitor the real users, in 2-3 geographical locations, all through out the business hours..say from 8am to 5pm. For this purpose, do you think, I need to have a dedicated machine with jmeter, grafana and influxdb for monitoring alone? I have other testing going on using jmeter and I don't want to use the same machine to do both monitoring and testing. DO you think this is achievable by jmeter? Any suggestions? – user71899 Nov 22 '16 at 16:41
  • Maybe you are looking for Application Monitoring Tools (APM) like AppDynamics, DynaTrace. Using JMeter you can achieve but you should put a lot of efforts. Using Backend Listener only specific metrics can be captured related to Thread/Virtual Users metrics and Response times metrics (refer JMeter Live Results web page). If the metrics you want to capture are not present, then you may need to write your own Listener. – Naveen Kumar R B Nov 22 '16 at 18:04
  • Thanks Naveen.It helps. – user71899 Nov 23 '16 at 08:48
0

We use to perform general production app (here- Scada-LTS) monitoring by javamelody. But this will give You general statistics. For per user monitoring it seems You should use log4j + ELK or other simpler syslog analyzing tool. Jmeter should be used rather for test environment for stress tests.

Grzesiek
  • 715
  • 5
  • 24