https://issues.apache.org/bugzilla/show_bug.cgi?id=50977
Summary: Unable to set TCP Sampler for individual samples
Product: JMeter
Version: 2.4
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
OVERVIEW
Whichever TCP Sampler Timeout value comes first in the Test Plan is enforced
for all samples despite setting differing values for later TCP Samplers.
STEPS TO REPRODUCE
1. Create a Test Plan with a single thread, Loop Count of 1 and two TCP
Samplers.
2. Set the IP Address and TCP Port in both TCP Samplers to point at a server
(say TELNET)
3. Put nothing in the Text to send box
4. Set a Timeout in the first TCP Sampler to 1000ms and the second 3000ms
5. Add View Results in Table listener
6. Run the test
7. Review the Sample Time(ms) values in the listener
ACTUAL RESULTS
Both sampler timeout in 1000ms
EXPECTED RESULTS
The second sampler should timeout in 3000ms
BUILD PLATFORM
Windows 7 Professional - 32 bit
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
JMeter 2.4 r961953
ADDITIONAL INFORMATION
The cause appears to be in TCPSampler.java and due to the fact that the read
timeout is set is on creating the socket only.
Further details can be found at
http://jmeter.512774.n5.nabble.com/TCPSampler-Timeout-Can-t-set-on-sample-basis-td3890878.html
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]