Bug 58800 - proxy.pause default value , fix documentation
Summary: proxy.pause default value , fix documentation
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.13
Hardware: All All
: P2 trivial (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-04 18:25 UTC by mike.palandra
Modified: 2016-01-04 18:31 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Log:
Bug 58800 - proxy.pause default value , fix documentation
Bugzilla Id: 58800

Modified:
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml
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