How to differentiate between Server time and Network time in JMeter

Source: Internet
Author: User

In LR there is a "Web Subdivision map", through which you can easily distinguish which requests are the longest response time, if the response time process is consumed at the time of server processing, or consumed in the network transmission process-that is, the so-called Server times and networks Time
JMeter does not provide such a detailed distinction-at least not yet, but there is a field in the JMeter's execution results that can be used. If you want to see this, first set the save JMeter Run result to XML format.

Found in Jmeter.properties
Jmeter.save.saveservice.output_format=csv instead
Jmeter.save.saveservice.output_format=xml

Restart JMeter, execute a script, and save the test results.
Use any of the text editing tools to open the. jtl file with the following content:

1 <?xml version= "1.0" encoding= "UTF-8"?>
2 <testresults version= "1.2" >
3 4 5 6 7 8 9 One 13
</testResults>
15
Find the Lt.

Combine several articles of JMeter and email to explain the meaning of Lt.
Lt = Latency Time (ms)

When executing a script in JMeter, the approximate process is as follows:

Start Timer
Send Request
Wait for data
Initial (first) response packet Occurs-this is latency
More data
...
End of response
Stop Timer-this is the response time

Here you can see that LT is the time to receive the first packet of a response.
In the above XML file, T is an item that represents elapsed time. That is, a request is sent from the time it is received to the full response.
Then LT is equivalent to the Server time in LR, and t-lt is equivalent to Netwrok time in LR.

How to differentiate between Server time and Network time in JMeter

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.