123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> General >> View Article

Use Hosted Graphite To Monitor Real Time Execution Results Of Your Jmeter Load Test

Profile Picture
By Author: Fleek IT Solutions
Total Articles: 10
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

Hosted Graphite is a provider of metric collection, storage and visualisation services. This service can also be used to see the jmeter load test runtime statistics. For more details, pls check https://www.hostedgraphite.com

To start with

Create an account at hostedgraphite.com
After account creation an API key and URL endpoints for each account will be provided by hostedgraphite
Once you have this information, we are good to create our jmeter test plan. Jmeter 2.13 has introduced a new listener called “Backend Listener” which allows you to send test execution results data to Graphite Backend that can be used to:

See real time execution results
Nice graphical metrics
Compare 2 or more load tests
Storing monitoring data as long as JMeter results are in the same backend
For more details please refer to: http://jmeter.apache.org/usermanual/realtime-results.html

Backend listener configuration
graphiteHost: Graphite or InfluxDB (with Graphite plugin enabled) server host. In case of hostedgraphite you can pass endpoint URL which you will get in your hostedgraphite ...
... account.
graphitePort: Graphite or InfluxDB (with Graphite plugin enabled) server port, defaults to 2003. In case of hostedgraphite you will find port for your endpoint URL in your hostedgraphite account.
rootMetricsPrefix: Prefix of metrics sent to backend. Defaults to “jmeter.” In case of hostedgraphite, you will need to send your API key as prefix as well so that your data can be mapped with your account in hostedgraphite.
summaryOnly: Only send a summary with no detail. Defaults to true.
samplersList: Semicolon separated list of samplers for which you want to report metrics to backend. For example as per above screenshot we are sending metrics for 4 samplers “home;blogs;about;docs”
Percentiles: The percentiles you want to send to backend. List must be semicolon separated.
Test Plan
Add backend listener to your test plan
Start executing your test
Open your hostedgraphite account and go to dashboard
Create a new dashboard and add graphs to dashboard panels
Edit graphs to define metrics as per your requirements
Backend listener exposed few useful metrics like:

Virtual user metric
Min active threads
Max active threads
Mean active threads
Started threads
Finished threads
Response time metric
Count: count of requests
Min: minimum response time
Max: maximum response time
Percentile: response time percentile (90, 95, 99)

Total Views: 155Word Count: 344See All articles From Author

Add Comment

General Articles

1. 10 Common Erp Mistakes And How To Avoid Them
Author: shashank

2. Vija Celmins
Author: Jenna Miller

3. Matka Gambling And Arrival Of Online Lotteries
Author: satta matka marketing

4. Composting Business In India
Author: riteways

5. The Best Countertop Materials For Your Bathroom
Author: Alex Arnold

6. Gain A Steady Revenue Stream By Becoming A Voip Reseller
Author: Josie Ryan

7. Significance Of Jewellery In Our Life
Author: shoptbztheoriginal

8. Vinn På Toppkasinon
Author: Catherine Blakes

9. Flavoured Yogurt Market Is Booming Across Globe | Key Players General Mills Inc., Nestlé, Yakult Honsha Co., Ltd., Ultima Foods, Chobani, Llc
Author: DBMR

10. 4 Tips For Choosing A Long Term Disability Lawyer
Author: David Chavez

11. How To Add An Expiration Date To Emails In Gmail
Author: Blanche Harris

12. What Exactly Is A Pcm In A Car? Everything You Need To Know
Author: Many Autos

13. Tips To Keep Your Outdoor Lighting Safe And Functional All Around The Year
Author: Jamoeengland

14. Market Research: Reasons Why Market Research Important
Author: Shalabh Mathur

15. How To Increase Blog Traffic: Latest Tips And Tricks
Author: Blanche Harris

Login To Account
Login Email:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: