The duration assertion marks a sample as failed if the time it takes is larger than configured. it doesnt however timeout the sampler. If you have a blocking call then till that call returns , nothing else will happen till that call returns .
On Thu, Aug 23, 2018 at 8:24 AM vijay.raje2...@gmail.com < vijay.raje2...@gmail.com> wrote: > I used below class in JMX file. This is working fine for FTP for timeout. I > have used 30 sec(30000 milliseconds) for testing purpose. > > <hashTree/> > <DurationAssertion guiclass="DurationAssertionGui" > testclass="DurationAssertion" testname="Duration Assertion" enabled="true"> > <stringProp name="DurationAssertion.duration">30000</stringProp> > </DurationAssertion> > <hashTree/> > > When I used 1000 milliseconds(1 sec) as timeout it gives timeout error for > most of threads while testing. > > The operation lasted too long: It took 1,115 milliseconds, but should not > have lasted longer than 1,000 milliseconds > > <http://www.jmeter-archive.org/file/t346050/123.jpg> > > > > > > -- > Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org > For additional commands, e-mail: user-h...@jmeter.apache.org > >