Thanks , Sebb, that is exactly what I needed. Charlie
> -----Original Message----- > From: sebb [mailto:seb...@gmail.com] > Sent: Wednesday, 10 April 2013 5:06 AM > To: JMeter Users List > Subject: Re: when is a sample not a sample? > > On 9 April 2013 07:25, Stott, Charlie <cst...@tnsi.com> wrote: > > > Hi, > > > > I am wondering if and how it is possible to exclude the results of a > > specific sample (or at least disregard it) from the results. > > > > We have a dual stripe system which can be tested in online or offline > > mode. To automate the decision we can request a status page, and act > > on the results. Not all our test systems have dual stripes, so the > > request fails. However, this is a valid situation. > > > > I always want to lookup the status page, but only if it exists and > > only if it responds a certain way do I want it to affect the test run. > > > > I am finding the situation where it is not available is being recorded > > as a test failure. > > > > Effectively, I want to perform the request as a pre-processor of > > another sample, but it seems overkill to write it in > > java/beanshell/someotherlang code. Is there anything like a HTTP > > Request pre-processor, or a flag I can set somewhere that says ignore this > sample on error? > > > > You can use the Response Assertion to reset the failure flag. > That's used (for example) when checking for 404 responses, which by default > are failures. > > Just use an assertion test that's bound to succeed. > > > > Thanks in advance, > > Charlie > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org > > For additional commands, e-mail: user-h...@jmeter.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org