Jmeter monitor component-spline visualizer (1)

Source: Internet
Author: User

I translated the "spline visualizer" component into a "spline ".

The official documents describe "the spline visualizer provides a view of all sample times from the start of the test till the end, regardless of how many samples have been taken. the spline has 10 points, each representing 10% of the samples, and connected using spline logic to show a single continuous line. (See jakarta-jmeter-2.3.2/printable_docs/usermanual/component_reference.html # spline_visualizer ).

When I first read the official description, I didn't quite understand it. But when you see the description of spline Visualizer in the http://www.jajakarta.org/jmeter/1.7/en/user_manual/visualizers.html, it's quite open. The following is an excerpt from "the spline visualizer presents a smooth curve that represents the data from the entire test run. there are 10 points on the curve, each point represents an average of some subset of the sample run. for instance, if your test run has been running for some time, and you have 1000 samples, the first "point" on the curve will represent an average of the first 100 samples, the next will be for Second 100 samples, etc. These points are connected using spline curves, and allow users to see the entire history of the test and how the responsiveness of their application has changed over time .".

It is described in a language that you understand as follows: after running your test plan, you will get multiple "request samples" (sampler) and response time data. Assume that you get 1000 sets of data. Divide the data into 10 groups: 1st to 100th data records into 1st groups, 101st to 200th data records into 2nd groups, and 901st to 1,000th data records into 10th groups. After calculating the average value of each group of data, you can get 10 Average values. Use the 10 Average values as the ordinate values, and use the,..., 10 Even scales as the abscissa to draw a smooth curve, which is the jmeter spline you see.

Run jmeter (2.3.2) in person. The main configuration information is as follows:

    • Test URL: http://jakarta.apache.org/jmeter/usermanual/index.html
    • Number of threads: 10
    • Ramp-up period (in second): 1
    • Cycles: 10

Save the data to the Local Machine (. jtl), and then use Excel to draw a smooth curve. By comparing the spline graph generated by jmeter with this graph, we can see that the graph is basically consistent.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.