Quantcast

Timeout problem with SOAP testing

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Timeout problem with SOAP testing

Benjamin Novack
Hi,

I'm currently using JMeter to benchmark some web services (eg, SOAP
requests) that go through a broker for various numbers of simultaneous
users. Due to what appears to be a bug in the broker, a handful (2-8) of
the first requests to go through the broker get 'stuck,' and never
return. My previous testing tool, SOATest, handled the situation
relatively gracefully, and simply declared those users to have
experienced a time-out error when they hit the time-out value. I've
tried adding a Duration Assertion into my test plan as a child of the
SOAP Request.. It appears to function correctly - ie, if I set it for
3000 milliseconds, a 'normal' request that takes longer will be marked
appropriately, and the test will move on. But for these 'lost' requests,
the test _never_ acknowledges that they should be timed out - in fact,
at the end of the time allotted for the test, the threads keep running
indefinitely, and I have to manually kill the test. The log asserts that
those threads "Won't die." The behavior I expected - and desired - was
that the threads should simply hit the value in the Duration Assertion
element and immediately be killed off, marked as errors. Any thoughts as
to what's going on?

Thanks,

---Ben Novack

I've included an example jmeter.log below to illustrate the problem.
This one happens to be 10 users for 4 minutes; 5 of the threads got
'stuck.' (Though it shouldn't matter for the purposes of solving this
problem, the number varies between 2 and 8, and does not increase with
number of simultaneous users; I chose 10/4 because it's a manageable
size for experimentation as I solve this. Also, while it happens to have
been 5 consecutive threads here, that's just coincidence.)

2006/10/10 15:44:38 INFO  - jmeter.util.JMeterUtils: Setting Locale to
en_US
2006/10/10 15:44:38 INFO  - jmeter.JMeter: Loading user properties from:
user.properties
2006/10/10 15:44:38 INFO  - jmeter.JMeter: Loading system properties
from: system.properties
2006/10/10 15:44:38 INFO  - jmeter.JMeter: Copyright (c) 1998-2006 The
Apache Software Foundation
2006/10/10 15:44:38 INFO  - jmeter.JMeter: Version 2.2
2006/10/10 15:44:38 INFO  - jmeter.JMeter: java.version=1.5.0_08
2006/10/10 15:44:38 INFO  - jmeter.JMeter: os.name=Windows XP
2006/10/10 15:44:38 INFO  - jmeter.JMeter: os.arch=x86
2006/10/10 15:44:38 INFO  - jmeter.JMeter: os.version=5.1
2006/10/10 15:44:38 INFO  - jmeter.JMeter: Default Locale=English
(United States)
2006/10/10 15:44:38 INFO  - jmeter.JMeter: JMeter  Locale=English
(United States)
2006/10/10 15:44:38 INFO  - jmeter.JMeter:
JMeterHome=C:\jakarta-jmeter-2.2
2006/10/10 15:44:38 INFO  - jmeter.JMeter:
user.dir=C:\jakarta-jmeter-2.2\bin
2006/10/10 15:44:38 INFO  - jmeter.JMeter: PWD
=C:\jakarta-jmeter-2.2\bin
2006/10/10 15:44:38 INFO  - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties
2006/10/10 15:44:40 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className
property for htmlParser, using default
2006/10/10 15:44:40 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is  
2006/10/10 15:44:40 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
application/xhtml+xml is  
2006/10/10 15:44:40 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml
is  
2006/10/10 15:44:40 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is  
2006/10/10 15:44:40 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
text/vnd.wap.wml is
org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2006/10/10 15:44:40 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access
log sampler bean info
2006/10/10 15:44:40 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers:
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser
, org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser,
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
2006/10/10 15:44:40 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of
access log samper bean info init
2006/10/10 15:44:41 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are START times
2006/10/10 15:44:41 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1
2006/10/10 15:44:54 INFO  - jmeter.gui.action.Load: Loading file:
C:\jmeter-automation\problematic_test.jmx
2006/10/10 15:44:54 INFO  - jmeter.save.SaveService: Testplan (JMX)
version: 2.2. Testlog (JTL) version: 2.2
2006/10/10 15:44:54 INFO  - jmeter.save.SaveService: Using SaveService
properties file version 408187
2006/10/10 15:44:54 INFO  - jmeter.protocol.http.sampler.HTTPSampler2:
Local host = B-0227
2006/10/10 15:44:54 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Protocol Handler name=TCPClientImpl
2006/10/10 15:44:54 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Status prefix=
2006/10/10 15:44:54 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Status suffix=
2006/10/10 15:44:54 INFO  - jmeter.protocol.tcp.sampler.TCPSampler:
Status properties=
2006/10/10 15:44:54 WARN  - jmeter.save.SaveService: Could not set up
alias JMSSampler java.lang.NoClassDefFoundError: javax/jms/Message
2006/10/10 15:44:54 WARN  - jmeter.save.SaveService: Could not set up
alias SubscriberSampler java.lang.NoClassDefFoundError:
javax/jms/MessageListener
2006/10/10 15:44:54 INFO  - jmeter.save.SaveService: Using SaveService
properties version 1.8
2006/10/10 15:44:54 INFO  - jmeter.save.SaveService: All converter
versions present and correct
2006/10/10 15:45:47 INFO  - jmeter.engine.StandardJMeterEngine:
Listeners will be started after enabling running version
2006/10/10 15:45:47 INFO  - jmeter.engine.StandardJMeterEngine: To
revert to the earlier behaviour, define
jmeterengine.startlistenerslater=false
2006/10/10 15:45:47 INFO  - jmeter.engine.StandardJMeterEngine: Running
the test!
2006/10/10 15:45:47 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,local)
2006/10/10 15:45:47 INFO  - jmeter.engine.StandardJMeterEngine: Starting
10 threads for group Thread Group. Ramp up = 0.
2006/10/10 15:45:47 INFO  - jmeter.engine.StandardJMeterEngine: Test
will stop on error
2006/10/10 15:45:47 WARN  - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties)
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@3a4d82 to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@132a3e to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 started
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@e9055b to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@da1a1f to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-2 started
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@1b2d71d to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@15f73e9 to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-3 started
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@15198e8 to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@fb0243 to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-4 started
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@d150be to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@bd5fa1 to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-5 started
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@4f96a0 to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@19699dd to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-6 started
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@28b522 to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@1281b8c to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-7 started
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@115a56d to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@1987899 to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-8 started
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@18587ac to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@15343c2 to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-9 started
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@4a3789 to sampler config
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@1083eaa to sampler
config
2006/10/10 15:45:47 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:45:47 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:45:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-10 started
2006/10/10 15:49:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 is done
2006/10/10 15:49:47 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 0
2006/10/10 15:49:48 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-5 is done
2006/10/10 15:49:48 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 4
2006/10/10 15:49:48 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-2 is done
2006/10/10 15:49:48 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 1
2006/10/10 15:49:48 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-3 is done
2006/10/10 15:49:48 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 2
2006/10/10 15:49:48 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-6 is done
2006/10/10 15:49:48 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 5
2006/10/10 15:49:48 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-4 is done
2006/10/10 15:49:48 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 3
2006/10/10 15:49:49 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-10 is done
2006/10/10 15:49:49 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 9
2006/10/10 15:49:49 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-9 is done
2006/10/10 15:49:49 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 8
2006/10/10 15:49:49 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-8 is done
2006/10/10 15:49:49 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 7
2006/10/10 15:49:49 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-7 is done
2006/10/10 15:49:49 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 6
2006/10/10 15:49:49 INFO  - jmeter.engine.StandardJMeterEngine: Stopping
test
2006/10/10 15:49:49 INFO  - jmeter.engine.StandardJMeterEngine:
Notifying test listeners of end of test
2006/10/10 15:49:49 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,local)
2006/10/10 15:49:49 INFO  - jmeter.engine.StandardJMeterEngine: Test has
ended
2006/10/10 15:55:02 INFO  - jmeter.engine.StandardJMeterEngine: Running
the test!
2006/10/10 15:55:02 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,local)
2006/10/10 15:55:02 INFO  - jmeter.engine.StandardJMeterEngine: Starting
10 threads for group Thread Group. Ramp up = 0.
2006/10/10 15:55:02 INFO  - jmeter.engine.StandardJMeterEngine: Continue
on error
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@266faa to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@19662a5 to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 started
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@152f463 to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@4996ea to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-2 started
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@8c970a to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@19fbe63 to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-3 started
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@53951e to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@130d29e to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-4 started
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@c32a5d to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@e7a7f2 to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-5 started
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@264f65 to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@1624af1 to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-6 started
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@a38776 to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@1857480 to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-7 started
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@7439fe to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@1de0a45 to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-8 started
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@9283b0 to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@ad8f2b to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-9 started
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 4
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 3
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.control.RunTime@6e2820 to sampler config
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@8fd321 to sampler
config
2006/10/10 15:55:02 DEBUG - jmeter.threads.SamplePackage: configs is
null: false
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2
2006/10/10 15:55:02 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1
2006/10/10 15:55:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-10 started
2006/10/10 15:59:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 is done
2006/10/10 15:59:02 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 0
2006/10/10 15:59:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-4 is done
2006/10/10 15:59:02 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 3
2006/10/10 15:59:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-10 is done
2006/10/10 15:59:02 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 9
2006/10/10 15:59:03 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-8 is done
2006/10/10 15:59:03 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 7
2006/10/10 15:59:03 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-9 is done
2006/10/10 15:59:03 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 8
2006/10/10 16:05:05 INFO  - jmeter.threads.JMeterThread: Stopping Thread
Group 1-2
2006/10/10 16:05:05 INFO  - jmeter.threads.JMeterThread: Stopping Thread
Group 1-3
2006/10/10 16:05:05 INFO  - jmeter.threads.JMeterThread: Stopping Thread
Group 1-7
2006/10/10 16:05:05 INFO  - jmeter.threads.JMeterThread: Stopping Thread
Group 1-5
2006/10/10 16:05:05 INFO  - jmeter.threads.JMeterThread: Stopping Thread
Group 1-6
2006/10/10 16:05:10 INFO  - jmeter.engine.StandardJMeterEngine: Thread
won't die: Thread Group 1-2
2006/10/10 16:05:16 INFO  - jmeter.engine.StandardJMeterEngine: Thread
won't die: Thread Group 1-3
2006/10/10 16:05:21 INFO  - jmeter.engine.StandardJMeterEngine: Thread
won't die: Thread Group 1-7
2006/10/10 16:05:26 INFO  - jmeter.engine.StandardJMeterEngine: Thread
won't die: Thread Group 1-5
2006/10/10 16:05:31 INFO  - jmeter.engine.StandardJMeterEngine: Thread
won't die: Thread Group 1-6
2006/10/10 16:05:31 INFO  - jmeter.engine.StandardJMeterEngine:
Notifying test listeners of end of test
2006/10/10 16:05:31 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,local)
2006/10/10 16:05:31 INFO  - jmeter.engine.StandardJMeterEngine: Test has
ended

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Timeout problem with SOAP testing

sebb-2-2
On 10/10/06, Benjamin Novack <[hidden email]> wrote:

> Hi,
>
> I'm currently using JMeter to benchmark some web services (eg, SOAP
> requests) that go through a broker for various numbers of simultaneous
> users. Due to what appears to be a bug in the broker, a handful (2-8) of
> the first requests to go through the broker get 'stuck,' and never
> return. My previous testing tool, SOATest, handled the situation
> relatively gracefully, and simply declared those users to have
> experienced a time-out error when they hit the time-out value. I've
> tried adding a Duration Assertion into my test plan as a child of the
> SOAP Request.. It appears to function correctly - ie, if I set it for
> 3000 milliseconds, a 'normal' request that takes longer will be marked
> appropriately, and the test will move on. But for these 'lost' requests,
> the test _never_ acknowledges that they should be timed out - in fact,
> at the end of the time allotted for the test, the threads keep running
> indefinitely, and I have to manually kill the test. The log asserts that
> those threads "Won't die." The behavior I expected - and desired - was
> that the threads should simply hit the value in the Duration Assertion
> element and immediately be killed off, marked as errors. Any thoughts as
> to what's going on?
>

The purpose of Assertions is to decide if a completed sample passes
certain criteria or not.

They don't affect the Sampler itself - if the sampler does not
complete, then the Assertions will not be run.

As to why the sampler never completes: JMeter does not currently set
any timeouts on the HTTPSampler or SOAP Samplers.

Depending on which sampler you are using (I can't tell from the log),
you may be able to set a system property to enable a timeout.

==

JMeter could probably be enhanced to support timeouts for certain
samplers - if you want this, please create a Bugzilla enhancement
request.

[Depending on the underlying protocol stack, this may have to be a
global timeout rather than per sampler.]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Timeout problem with SOAP testing

Benjamin Novack
My sampler is the Webservice(SOAP) Request - protocol http, if that
matters. Is there a system property I can set?

Thanks,

---Ben


-----Original Message-----
From: sebb [mailto:[hidden email]]
Sent: Wednesday, October 11, 2006 5:46 AM
To: JMeter Users List
Subject: Re: Timeout problem with SOAP testing

On 10/10/06, Benjamin Novack <[hidden email]> wrote:
> Hi,
>
> I'm currently using JMeter to benchmark some web services (eg, SOAP
> requests) that go through a broker for various numbers of simultaneous
> users. Due to what appears to be a bug in the broker, a handful (2-8)
of
> the first requests to go through the broker get 'stuck,' and never
> return. My previous testing tool, SOATest, handled the situation
> relatively gracefully, and simply declared those users to have
> experienced a time-out error when they hit the time-out value. I've
> tried adding a Duration Assertion into my test plan as a child of the
> SOAP Request.. It appears to function correctly - ie, if I set it for
> 3000 milliseconds, a 'normal' request that takes longer will be marked
> appropriately, and the test will move on. But for these 'lost'
requests,
> the test _never_ acknowledges that they should be timed out - in fact,
> at the end of the time allotted for the test, the threads keep running
> indefinitely, and I have to manually kill the test. The log asserts
that
> those threads "Won't die." The behavior I expected - and desired - was
> that the threads should simply hit the value in the Duration Assertion
> element and immediately be killed off, marked as errors. Any thoughts
as
> to what's going on?
>

The purpose of Assertions is to decide if a completed sample passes
certain criteria or not.

They don't affect the Sampler itself - if the sampler does not
complete, then the Assertions will not be run.

As to why the sampler never completes: JMeter does not currently set
any timeouts on the HTTPSampler or SOAP Samplers.

Depending on which sampler you are using (I can't tell from the log),
you may be able to set a system property to enable a timeout.

==

JMeter could probably be enhanced to support timeouts for certain
samplers - if you want this, please create a Bugzilla enhancement
request.

[Depending on the underlying protocol stack, this may have to be a
global timeout rather than per sampler.]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Timeout problem with SOAP testing

sebb-2-2
This seems to use:

org.apache.soap.transport.http.SOAPHTTPConnection

which has a setTimeout() method.

However this is not called by JMeter at present.

There does not seem to be a way to set this via a property, so the
only way to implement this is to add the necessary code to the
WebServiceSampler class.

S.
On 11/10/06, Benjamin Novack <[hidden email]> wrote:

> My sampler is the Webservice(SOAP) Request - protocol http, if that
> matters. Is there a system property I can set?
>
> Thanks,
>
> ---Ben
>
>
> -----Original Message-----
> From: sebb [mailto:[hidden email]]
> Sent: Wednesday, October 11, 2006 5:46 AM
> To: JMeter Users List
> Subject: Re: Timeout problem with SOAP testing
>
> On 10/10/06, Benjamin Novack <[hidden email]> wrote:
> > Hi,
> >
> > I'm currently using JMeter to benchmark some web services (eg, SOAP
> > requests) that go through a broker for various numbers of simultaneous
> > users. Due to what appears to be a bug in the broker, a handful (2-8)
> of
> > the first requests to go through the broker get 'stuck,' and never
> > return. My previous testing tool, SOATest, handled the situation
> > relatively gracefully, and simply declared those users to have
> > experienced a time-out error when they hit the time-out value. I've
> > tried adding a Duration Assertion into my test plan as a child of the
> > SOAP Request.. It appears to function correctly - ie, if I set it for
> > 3000 milliseconds, a 'normal' request that takes longer will be marked
> > appropriately, and the test will move on. But for these 'lost'
> requests,
> > the test _never_ acknowledges that they should be timed out - in fact,
> > at the end of the time allotted for the test, the threads keep running
> > indefinitely, and I have to manually kill the test. The log asserts
> that
> > those threads "Won't die." The behavior I expected - and desired - was
> > that the threads should simply hit the value in the Duration Assertion
> > element and immediately be killed off, marked as errors. Any thoughts
> as
> > to what's going on?
> >
>
> The purpose of Assertions is to decide if a completed sample passes
> certain criteria or not.
>
> They don't affect the Sampler itself - if the sampler does not
> complete, then the Assertions will not be run.
>
> As to why the sampler never completes: JMeter does not currently set
> any timeouts on the HTTPSampler or SOAP Samplers.
>
> Depending on which sampler you are using (I can't tell from the log),
> you may be able to set a system property to enable a timeout.
>
> ==
>
> JMeter could probably be enhanced to support timeouts for certain
> samplers - if you want this, please create a Bugzilla enhancement
> request.
>
> [Depending on the underlying protocol stack, this may have to be a
> global timeout rather than per sampler.]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Timeout problem with SOAP testing

sebb-2-2
If you want to try the nightly build: 2-2.20061011, I've added a
timeout field to the sampler GUI.

Let us know if it works or not.

S.
On 11/10/06, sebb <[hidden email]> wrote:

> This seems to use:
>
> org.apache.soap.transport.http.SOAPHTTPConnection
>
> which has a setTimeout() method.
>
> However this is not called by JMeter at present.
>
> There does not seem to be a way to set this via a property, so the
> only way to implement this is to add the necessary code to the
> WebServiceSampler class.
>
> S.
> On 11/10/06, Benjamin Novack <[hidden email]> wrote:
> > My sampler is the Webservice(SOAP) Request - protocol http, if that
> > matters. Is there a system property I can set?
> >
> > Thanks,
> >
> > ---Ben
> >
> >
> > -----Original Message-----
> > From: sebb [mailto:[hidden email]]
> > Sent: Wednesday, October 11, 2006 5:46 AM
> > To: JMeter Users List
> > Subject: Re: Timeout problem with SOAP testing
> >
> > On 10/10/06, Benjamin Novack <[hidden email]> wrote:
> > > Hi,
> > >
> > > I'm currently using JMeter to benchmark some web services (eg, SOAP
> > > requests) that go through a broker for various numbers of simultaneous
> > > users. Due to what appears to be a bug in the broker, a handful (2-8)
> > of
> > > the first requests to go through the broker get 'stuck,' and never
> > > return. My previous testing tool, SOATest, handled the situation
> > > relatively gracefully, and simply declared those users to have
> > > experienced a time-out error when they hit the time-out value. I've
> > > tried adding a Duration Assertion into my test plan as a child of the
> > > SOAP Request.. It appears to function correctly - ie, if I set it for
> > > 3000 milliseconds, a 'normal' request that takes longer will be marked
> > > appropriately, and the test will move on. But for these 'lost'
> > requests,
> > > the test _never_ acknowledges that they should be timed out - in fact,
> > > at the end of the time allotted for the test, the threads keep running
> > > indefinitely, and I have to manually kill the test. The log asserts
> > that
> > > those threads "Won't die." The behavior I expected - and desired - was
> > > that the threads should simply hit the value in the Duration Assertion
> > > element and immediately be killed off, marked as errors. Any thoughts
> > as
> > > to what's going on?
> > >
> >
> > The purpose of Assertions is to decide if a completed sample passes
> > certain criteria or not.
> >
> > They don't affect the Sampler itself - if the sampler does not
> > complete, then the Assertions will not be run.
> >
> > As to why the sampler never completes: JMeter does not currently set
> > any timeouts on the HTTPSampler or SOAP Samplers.
> >
> > Depending on which sampler you are using (I can't tell from the log),
> > you may be able to set a system property to enable a timeout.
> >
> > ==
> >
> > JMeter could probably be enhanced to support timeouts for certain
> > samplers - if you want this, please create a Bugzilla enhancement
> > request.
> >
> > [Depending on the underlying protocol stack, this may have to be a
> > global timeout rather than per sampler.]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...