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 6C09ADA06 for ; Sun, 8 Jul 2012 13:01:24 +0000 (UTC) Received: (qmail 5152 invoked by uid 500); 8 Jul 2012 13:01:23 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 5048 invoked by uid 500); 8 Jul 2012 13:01:22 -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 5031 invoked by uid 99); 8 Jul 2012 13:01:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jul 2012 13:01:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of richardgaywood@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jul 2012 13:01:14 +0000 Received: by wibhm6 with SMTP id hm6so1800597wib.8 for ; Sun, 08 Jul 2012 06:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=9JzfPQsbgts7r/iaQSPKpS32xkObGb5YEGBYsYFoDKY=; b=sNgQ/gdcZspI8Auni9c/iqsDMKRwieNNjIaESpz2K9mJB28czNW6gPvPq0+ARIn4rn Jofzwai1jXcKMLNMCQuX4AStswG7kXH1w9dFdke0WSyIyxvUJBdbRzesjsT47n6bdifd umLvzTQPaXe+xnih354Dzs2fSmzkm/2VE9ZaWOw27eZQImVZ9JxHYyR6O9LdQe1YbGyz ibxxX0d8spdI2s1LwPgttGpOr+3exS62ZVZXsn7q50fvQKDzuPy4R5stPkERnjw2fBIn dfPbapfIkHgCVz9QQKMjPLUw3g6vEuyUkPyoYTJd1DI6biER4YoaocFCoduKaXQFoalG YmRw== Received: by 10.180.96.3 with SMTP id do3mr21976623wib.5.1341752453047; Sun, 08 Jul 2012 06:00:53 -0700 (PDT) Received: from richards-imac.lan (93-96-173-211.zone4.bethere.co.uk. [93.96.173.211]) by mx.google.com with ESMTPS id fb20sm26261943wid.1.2012.07.08.06.00.50 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Jul 2012 06:00:51 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1278) Subject: Re: Making HTTP 404 a test success From: Richard Gaywood In-Reply-To: Date: Sun, 8 Jul 2012 14:00:49 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <84856C60-5594-4FDE-837C-F2DAA63646FF@gmail.com> References: To: "JMeter Users List" X-Mailer: Apple Mail (2.1278) X-Virus-Checked: Checked by ClamAV on apache.org On 6 Jul 2012, at 17:39, sebb wrote: > On 6 July 2012 17:13, Richard Gaywood = wrote: >=20 > Please don't use HTML in future; it's more likely to be treated as = SPAM. Oops. Sorry. Mea culpa; I dragged-and-dropped the screen shot into = GMail, not realising that made it HTML, rather than attaching the JPG. >> I tried adding a Response Assertion with config to state that = "Response Code", "Contains", "404" (with "Ignore Status" ticked), but = the sample still fails.=20 >=20 > Because 404 is not a success status; check the "Ignore status" option. As I said in my original message, I had "Ignore status" ticked already = -- but there was a PEBCAK; two Samplers in my test plan, with the same = name (oops), one of which had the correct config and one didn't. The = ones where 404s were shown as failures were the other Sampler to the one = I was editing. Thanks for your help, everyone.= --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org