RE: [Grinder-use] Logfile Data (Technical Meaning)
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
|
From: Fitzgerald, C. <Cal...@Th...> - 2006-04-27 10:18:44
|
The reason that the "Time to establish connection" and "time to resolve host" metrics are not subtracted from the total is that each metric is measured from the start time of the test. The metrics are not reported as incremental measurements. Ie: "time to resolve host" = DNSLookup "Time to establish connection" = DNSLookup + TCP Connection "Time to First Byte" = DNSLookup + TCP Connection + First Byte Received "Total Time" = DNSLookup + TCP Connection + First Byte Received + Data Transmission Therefore the only thing that you need to subtract from the "Total Time" to get your Data Transmission time is "Time to First Byte". Cheers Calum -----Original Message----- From: joh...@st... [mailto:joh...@st...] Sent: Wednesday April 2006 16:19 To: Fitzgerald, Calum Subject: RE: [Grinder-use] Logfile Data (Technical Meaning) Your formular makes sense, but what why is the " Time to establish connection" and "time to resolve host" not substracted from the total test time? During that time durations there is not transmission of data. Does it really not make sense to substract this time durations if I look at each Teststep on it's one. Eg. The "bytes per second" for a Teststep would than be: "Bytes transfered in Teststep" / "Time for the Teststep" - "time to resolve host" - " Time to establish connection" ???- "time to first byte" ??? Regards, jo ---------- Original Message ---------------------------------- From: "Fitzgerald, Calum" <Cal...@Th...> Date: Tue, 25 Apr 2006 15:57:03 +0100 > >Your formula needs to be: > >formular: Total Response Length / ( Total Test Time - Total Time to >first Byte ) > >This would give you an average for "Response bytes per second" for the >whole test run. > >The time to first byte metric gives you a measurement of when the >serverside application has finished process your request and starts to >send you its response. > >The metrics for Time to Resolve host, Time to establish connection and >Time to first byte are all measured from the start of the "TestStep", >they are not incremental. > >Cheers >Calum > > >-----Original Message----- >From: joh...@st... >[mailto:joh...@st...] >Sent: Tuesday April 2006 15:29 >To: gri...@li... >Subject: RE: [Grinder-use] Logfile Data (Technical Meaning) > >Does this calculation make sense of "Response bytes per second", when >we run this test case as a single virtual user (only one user is >running and >measuering) > >Eg this log is beeing printed: > >"TestSteps" TestStep time response length Time to resolve host Time >to establish connection Time to first byte TestDesc >1 621 2450 100 >421 611 "GET glbl_ie6.css" >2 80 1029 0 >0 80 "GET portal_body_bg_img.gif" >3 101 329 0 >0 101 "GET basic.js" > >Total 802 3808 100 >421 > > >formular: Total Response Length / ( Total Test Time - Total Time to >resolve host - Total Time to establish connection ) > >= (2450 + 1029 + 329) / ((621+80+101) - (100 + 0 + 0) - (421 - 0 -0 )) >= >3808 / 281 = 13,81 Response Bytes per second > >Would it be possible to measure accurately the throughput with the >httpClient Plugin? > >Currently (only for one running VU) I see one recorded script as one test. >And one line as a test step, or as a nested Tests for later analysis. > > > > > > > > > > >------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job >easier Download IBM WebSphere Application Server v.1.0.1 based on >Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12164 >2 _______________________________________________ >Grinder-use mailing list >Gri...@li... >https://lists.sourceforge.net/lists/listinfo/grinder-use > > >------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job >easier Download IBM WebSphere Application Server v.1.0.1 based on >Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12164 >2 _______________________________________________ >Grinder-use mailing list >Gri...@li... >https://lists.sourceforge.net/lists/listinfo/grinder-use > |