Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 58558 invoked from network); 17 Jul 2006 23:40:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jul 2006 23:40:46 -0000 Received: (qmail 36493 invoked by uid 500); 17 Jul 2006 23:40:44 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 36467 invoked by uid 500); 17 Jul 2006 23:40:44 -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 36456 invoked by uid 99); 17 Jul 2006 23:40:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 16:40:44 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sebbaz@gmail.com designates 64.233.166.179 as permitted sender) Received: from [64.233.166.179] (HELO py-out-1112.google.com) (64.233.166.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 16:40:44 -0700 Received: by py-out-1112.google.com with SMTP id n25so1721308pyg for ; Mon, 17 Jul 2006 16:40:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t+eDPxzvuUTPivgwCmpiquq4i/X3OO/ol+OoAtJdQzzrePS+QU1h5YTZzIrGvGBv6rQ1yPTC1VnuIZYF6Do+5X3kY/0aITpesw/8xNHa4n829wjxTsqYhoiLjzZjP6Ekiw1H3ix62JOXIKeH0+4uVpqfD8VIF16JhiZvaTkfAwo= Received: by 10.35.38.17 with SMTP id q17mr4717285pyj; Mon, 17 Jul 2006 16:40:23 -0700 (PDT) Received: by 10.35.28.6 with HTTP; Mon, 17 Jul 2006 16:40:23 -0700 (PDT) Message-ID: <25aac9fc0607171640h1c414e8fh18b07ac172064efc@mail.gmail.com> Date: Tue, 18 Jul 2006 00:40:23 +0100 From: sebb To: "JMeter Users List" Subject: Re: Using multiple variable arrays for link validation In-Reply-To: <69810672B2FEF945BF26C7DA1350E4997EABE7@eonex1.eons.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <69810672B2FEF945BF26C7DA1350E4997EABE7@eonex1.eons.lan> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Try using two sets of brackets to capture both fields at the same time, and then use the group field variables _g1, _g2 to refer to them. On 06/07/06, Josh Feldman wrote: > I am trying to validate links on a page. The page I am testing involves > different servers so I am using two regular expressions to capture both > the servers and the paths. The issue I am having is matching up the > positions of the arrays so that the right server matches the right path. > Below is my test script outline > > > > Http request > > Regular expression: a\shref=".*?(dev|com)(/[^"]+)" to > capture path > > Regular expression: ://([^"]+(dev|com))/ to capture server > > For Each Controller: input prefix- server output- > returnVar > > Http request calling up returnVar > > > > > > This script runs through all the servers on the page however I can't > figure out a way to match up the servers with the paths > > > > A ForEach controller within a ForEach controller gives me too many > requests; it goes through each server with each path > > > > I think if I incorporate a counter into the script it might work, but I > have been unsuccessful. > > > > Any help would be great > > Josh Feldman > > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org