In LR, there is a "webpage subdivision Chart". Through this chart, you can easily identify which requests have the longest response time. If the response time process, whether it is consumed during server processing or during network transmission-the so-called server time and network time.
Jmeter does not provide such a detailed distinction-at least not found yet, but there is also a field available in the jmeter execution result. If you want to see this item, you must first set to save the jmeter running result to the XML format.
In jmeter. properties, find
Change jmeter. Save. saveservice. output_format = CSV
Jmeter. Save. saveservice. output_format = xml
Restart jmeter, execute a script, and save the test result.
Use any text editing tool to open the. jtl file with the following content:
1 <? XML version = "1.0" encoding = "UTF-8" ?>
2 < Testresults Version = "1.2" >
3 < Httpsample T = "2969" Lt = "1906" TS = "1159349557390" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-1" DT = "Text" NG = "5" Na = "5" />
4 < Httpsample T = "2797" Lt = "1719" TS = "1159349557609" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-2" DT = "Text" NG = "5" Na = "5" />
5 < Httpsample T = "2625" Lt = "1594" TS = "1159349558015" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-4" DT = "Text" NG = "5" Na = "5" />
6 < Httpsample T = "2843" Lt = "1812" TS = "1159349557812" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-3" DT = "Text" NG = "5" Na = "5" />
7 < Httpsample T = "2687" Lt = "1110" TS = "1159349558218" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-5" DT = "Text" NG = "5" Na = "5" />
8 < Httpsample T = "844" Lt = "391" TS = "1159349560374" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-1" DT = "Text" NG = "5" Na = "5" />
9 < Httpsample T = "843" Lt = "437" TS = "1159349560406" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-2" DT = "Text" NG = "4" Na = "4" />
10 < Httpsample T = "781" Lt = "422" TS = "1159349560640" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-4" DT = "Text" NG = "3" Na = "3" />
11 < Httpsample T = "782" Lt = "391" TS = "1159349560905" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-5" DT = "Text" NG = "2" Na = "2" />
12 < Httpsample T = "1188" Lt = "485" TS = "1159349560655" S = "True" LB = "Http://jackei.cnblogs.com /" RC = "200" Rm = "OK" TN = "Thread group 1-3" DT = "Text" NG = "1" Na = "1" />
13
14 </ Testresults >
15
Find <.
Combined with several jmeter articlesArticleAnd email to explain what it means.
Lt = latency time (MS)
When executing a script in jmeter, the 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 we can see that lt is the time when the first packet of the response was received.
In the preceding XML file, t indicates elapsed time. That is, the time when a request is sent to receive the complete response.
So lt is equivalent to the server time in LR, and t-lt is equivalent to the netwrok time in LR.