Bug 58800

Summary: proxy.pause default value , fix documentation
Product: JMeter - Now in Github Reporter: mike.palandra
Component: HTTPAssignee: JMeter issues mailing list <issues>
Severity: trivial CC: p.mouawad
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   

Description mike.palandra 2016-01-04 18:25:30 UTC
I noticed that my proxy recording sessions were generating far fewer timer elements than expected.

I consulted HTTP Test Script Recorder component reference and in the "Grouping" attribute, noticed mention of a potentially relevant JMeter property called "proxy.pause":

< http://jmeter.apache.org/usermanual/component_reference.html#HTTP%28S%29_Test_Script_Recorder >

I created a trivial test plan with a BeanShell sampler to log the runtime value of proxy.pause and it was null.  In jmeter.properties, an assignment for it is commented out with a note claiming a default of 5 seconds.

This is consistent with source file "/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java" (both 2.13 and today's trunk):

    private static final long sampleGap =
        JMeterUtils.getPropDefault("proxy.pause", 5000); // $NON-NLS-1$
    // Detect if user has pressed a new link

However, documentation (linked above) states default as 1000 milliseconds (1 sec).

Either sources (.java and .properties) are incorrect or doc is incorrect; I'm not sure which.
Comment 1 Philippe Mouawad 2016-01-04 18:31:52 UTC
Author: pmouawad
Date: Mon Jan  4 18:31:35 2016
New Revision: 1722943

URL: http://svn.apache.org/viewvc?rev=1722943&view=rev
Bug 58800 - proxy.pause default value , fix documentation
Bugzilla Id: 58800

Comment 2 The ASF infrastructure team 2022-09-24 20:38:01 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3758