Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6CB6F166 for ; Tue, 9 Apr 2013 23:32:39 +0000 (UTC) Received: (qmail 13887 invoked by uid 500); 9 Apr 2013 23:32:39 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 13763 invoked by uid 500); 9 Apr 2013 23:32:39 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 13748 invoked by uid 99); 9 Apr 2013 23:32:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 23:32:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [113.197.125.11] (HELO relaybrisbn.tnsi.com) (113.197.125.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 23:32:34 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIEAG++WVGsEU3h/2dsb2JhbABDgzu/ToESdIIfAQEFOhQ3BAIBCA0EBAEBAR4JByEQARQJCAEBBAgHBAEHFQSHYQO3Aw2JW4xggR+BAQYgEgaCWWEDlQoBiASFTIg4XIEF X-IronPort-AV: E=Sophos;i="4.87,387,1363132800"; d="scan'208";a="1062165" Received: from unknown (HELO mail-hub-ap.win2k.corp.tnsi.com) ([172.17.77.225]) by relaybrisbn.tnsi.com with ESMTP/TLS/RC4-MD5; 10 Apr 2013 00:34:10 +0100 Received: from TNS-MAIL-AP.win2k.corp.tnsi.com ([172.17.77.231]) by mail-hub-ap.win2k.corp.tnsi.com ([172.17.77.225]) with mapi; Wed, 10 Apr 2013 09:32:10 +1000 From: "Stott, Charlie" To: JMeter Users List Date: Wed, 10 Apr 2013 09:32:10 +1000 Subject: RE: when is a sample not a sample? Thread-Topic: when is a sample not a sample? Thread-Index: Ac41VVBTEyQPbRFgQuu481bLZsobcwAJOraQ Message-ID: <2DB71565D9DF26409875BE0660934F6B5F5A5480F0@TNS-MAIL-AP.win2k.corp.tnsi.com> References: <2DB71565D9DF26409875BE0660934F6B5F5A54807C@TNS-MAIL-AP.win2k.corp.tnsi.com> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Thanks , Sebb, that is exactly what I needed. Charlie > -----Original Message----- > From: sebb [mailto:sebbaz@gmail.com] > Sent: Wednesday, 10 April 2013 5:06 AM > To: JMeter Users List > Subject: Re: when is a sample not a sample? >=20 > On 9 April 2013 07:25, Stott, Charlie wrote: >=20 > > 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 t= his > sample on error? > > >=20 > You can use the Response Assertion to reset the failure flag. > That's used (for example) when checking for 404 responses, which by defau= lt > are failures. >=20 > Just use an assertion test that's bound to succeed. >=20 >=20 > > Thanks in advance, > > Charlie > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > > For additional commands, e-mail: user-help@jmeter.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org