Created attachment 25039 [details] Add connect and processing time metrics Hi all, I'm sending a small patch that mainly adds a connect time measurement to the HTTP and SOAP samplers. Also included, but disabled by default, is a 'processing' time that just sums the already existing latency times into the parent sampler. I'm looking forward to your comments, and am willing to look into adding the same for other samplers where appropriate. Also I plan to add a resolve time measurement, but this seemed to need some code in deeper classes (tips very welcome!). This was built against svn trunk on 2010-02-20. Cheers, Pieter
Connect time seems useful, but I don't understand why one needs the "processing" time.
For us the aggregated value is of use in case of a redirect or when embedded elements are loaded. After a hardware upgrade on the server side, the relative 'processing' time is likely to drop more rapidly than the measured download time, i.e. the 'transfer' time, if defined as t-pt would stay the same. On the other hand, after a network upgrade, the total time is likely to drop more than the processing time. Hence one could differentiate between a hardware upgrade (t-pt the same), and a network upgrade (t-pt decreased). Additionally, in case of a redirect, the aggregated processing time in the parent element could give something like a user-experienced latency, since he only starts seeing things after the last page. Finally: since the size, connect and total times are already aggregated, my symmetry neuron liked to see the same for the latency but without disturbing anything, hence processing time. What is your opinion?
More up to date patch by Andrey Pokhilko: https://github.com/apache/jmeter/pull/11.patch
URL: http://svn.apache.org/r1649663 Log: 48799 - Add connect time to output metrics Add French missing translation (and some ordering in key values) Modified: jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
(for undera) URL: http://svn.apache.org/r1649629 Log: 48799 - Add connect time to output metrics Added: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/MeasuringConnectionManager.java Modified: jmeter/trunk/bin/jmeter.properties jmeter/trunk/bin/testfiles/AssertionTestPlan.jmx jmeter/trunk/bin/testfiles/AuthManagerTestPlan.jmx jmeter/trunk/bin/testfiles/GenTest210.jmx jmeter/trunk/bin/testfiles/GenTest27.jmx jmeter/trunk/bin/testfiles/GuiTest.jmx jmeter/trunk/bin/testfiles/GuiTest231.jmx jmeter/trunk/bin/testfiles/HeaderManagerTestPlan.jmx jmeter/trunk/bin/testfiles/InterleaveTestPlan.jmx jmeter/trunk/bin/testfiles/InterleaveTestPlan2.jmx jmeter/trunk/bin/testfiles/LoopTestPlan.jmx jmeter/trunk/bin/testfiles/OnceOnlyTestPlan.jmx jmeter/trunk/bin/testfiles/SimpleTestPlan.jmx jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java jmeter/trunk/src/core/org/apache/jmeter/save/CSVSaveService.java jmeter/trunk/src/core/org/apache/jmeter/save/converters/SampleResultConverter.java jmeter/trunk/src/core/org/apache/jmeter/visualizers/TableSample.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.java jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/glossary.xml jmeter/trunk/xdocs/usermanual/listeners.xml
URL: http://svn.apache.org/r1649759 Log: 48799 - Add connect time to output metrics / misprints and cosmetics Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/MeasuringConnectionManager.java jmeter/trunk/xdocs/usermanual/glossary.xml
URL: http://svn.apache.org/r1649800 Log: 48799 - Add connect time to output metrics Revert JMX changes and modify SampleSaveConfigurationConverter appropriately Modified: jmeter/trunk/bin/testfiles/AssertionTestPlan.jmx jmeter/trunk/bin/testfiles/AuthManagerTestPlan.jmx jmeter/trunk/bin/testfiles/GenTest210.jmx jmeter/trunk/bin/testfiles/GenTest27.jmx jmeter/trunk/bin/testfiles/GuiTest.jmx jmeter/trunk/bin/testfiles/GuiTest231.jmx jmeter/trunk/bin/testfiles/HeaderManagerTestPlan.jmx jmeter/trunk/bin/testfiles/InterleaveTestPlan.jmx jmeter/trunk/bin/testfiles/InterleaveTestPlan2.jmx jmeter/trunk/bin/testfiles/LoopTestPlan.jmx jmeter/trunk/bin/testfiles/OnceOnlyTestPlan.jmx jmeter/trunk/bin/testfiles/SimpleTestPlan.jmx jmeter/trunk/src/core/org/apache/jmeter/save/converters/SampleSaveConfigurationConverter.java
URL: http://svn.apache.org/r1662172 Log: Bug 48799 - Add connect time to output metrics (missed setSample) Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2348