Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 79508 invoked from network); 10 Dec 2009 20:39:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Dec 2009 20:39:31 -0000 Received: (qmail 19577 invoked by uid 500); 10 Dec 2009 20:39:30 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 19502 invoked by uid 500); 10 Dec 2009 20:39:30 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 19492 invoked by uid 99); 10 Dec 2009 20:39:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 20:39:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.220.218 as permitted sender) Received: from [209.85.220.218] (HELO mail-fx0-f218.google.com) (209.85.220.218) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 20:39:22 +0000 Received: by fxm10 with SMTP id 10so318438fxm.14 for ; Thu, 10 Dec 2009 12:39:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=2ilEuHS4J6cm25SKNZxuiiep8NH8qumCDEfscvyVFvA=; b=hALNyRJiR0xuMbxEfKL/jrgFpJcy+a0hQ9flbplNRlFy5/ytjM4bVvDoNh42BMd8f8 SxcAlmC2mgAcXBS7NPXxbVjHNZ3cPm60N0V0LWD7EqTQcWinXh+jFvWfFb3nNo/RWi+K +OVD8Ua4aDORIU2l75yMO9W3QzSGg8HfDbMvw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YEMGRqhYGD4umfQIuOfrIuPDEgVyQuAkZ8Nm/GS1qSG+9rVurNS22dVt2OO6NGTTj8 f7Vb1g6TbRcyR6KkoAvg8ffq2qK7bFfov7cz0Q04524lZMcyek2uhKxngzTSIX36Sf9/ Dh8pEV/8DgXthOB65rBKuw7DGcqiHkV1y3vY8= MIME-Version: 1.0 Received: by 10.239.139.6 with SMTP id r6mr40052hbr.205.1260477541821; Thu, 10 Dec 2009 12:39:01 -0800 (PST) In-Reply-To: References: Date: Thu, 10 Dec 2009 20:39:01 +0000 Message-ID: <25aac9fc0912101239ud43817al4e9085bb25f09c45@mail.gmail.com> Subject: Re: assertion after while controller with embedded http sampler? From: sebb To: JMeter Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On 10/12/2009, Dirk Olmes wrote: > Hi, > > I'm setting up load test scenario for a web app that does HTTP meta > refresh. The user enters search criteria into a form and upon submit a > page is returned that has a refresh header, causing the browser to reload. > > I'm using a while controller that has a child http sampler to poll the > refresh URL. I'm using a regex expression extractor to retrieve the > updated refresh URL from the previous sample. > > Now my question: when the "refresh loop" ends and the result page is > displayed I want to add an assertion that the right page is displayed. > While I can identify the results page, I have no idea where to put the > assertion. > > Any ideas? ... Simple Controller + While Controller + Assertion This should limit the Assertion to the previous sampler. > -dirk > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org