Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 58431 invoked from network); 5 Apr 2007 12:10:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 12:10:50 -0000 Received: (qmail 92247 invoked by uid 500); 5 Apr 2007 12:10:55 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 92044 invoked by uid 500); 5 Apr 2007 12:10:54 -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 92033 invoked by uid 99); 5 Apr 2007 12:10:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 05:10:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of hoffmanm@ctc.com designates 147.160.99.125 as permitted sender) Received: from [147.160.99.125] (HELO pm2.ctc.com) (147.160.99.125) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 05:10:44 -0700 Received: from server3a.ctc.com (server3a.ctc.com [10.160.17.12]) by pm2.ctc.com (8.13.1/8.13.1) with ESMTP id l35CALpe030385 for ; Thu, 5 Apr 2007 08:10:21 -0400 Received: from ctc-mail1.ad.ctcgsc.org (ctc-mail1.ad.ctcgsc.org [10.160.13.21]) by server3a.ctc.com (Switch-3.2.3/Switch-3.2.3) with ESMTP id l35CAMBD011394 for ; Thu, 5 Apr 2007 08:10:22 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: RE: General RegEx Date: Thu, 5 Apr 2007 08:10:21 -0400 Message-ID: <5C030C137E5F744FB062A231254D7D906DAF00@ctc-mail1.ad.ctcgsc.org> In-Reply-To: <25aac9fc0704040952o38afcf50k1e2e27208e8fee54@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: General RegEx Thread-Index: Acd22bGhhznuiKyGTpOOCKFBBH+OpAAoRG1w References: <8C94328FF0EF6BB-890-733C@WEBMAIL-RC02.sysops.aol.com> <5C030C137E5F744FB062A231254D7D906DAED4@ctc-mail1.ad.ctcgsc.org> <25aac9fc0704030731y3e4204c3p2741069a0ba8c0cd@mail.gmail.com> <5C030C137E5F744FB062A231254D7D906DAED6@ctc-mail1.ad.ctcgsc.org> <5C030C137E5F744FB062A231254D7D906DAED8@ctc-mail1.ad.ctcgsc.org> <5C030C137E5F744FB062A231254D7D906DAEDC@ctc-mail1.ad.ctcgsc.org> <25aac9fc0704030948s77cdf8dfxbf684bb8bccdee42@mail.gmail.com> <5C030C137E5F744FB062A231254D7D906DAEDF@ctc-mail1.ad.ctcgsc.org> <25aac9fc0704040822hb4962fap1ed3ca590280a013@mail.gmail.com> <5C030C137E5F744FB062A231254D7D906DAEF0@ctc-mail1.ad.ctcgsc.org> <25aac9fc0704040952o38afcf50k1e2e27208e8fee54@mail.gmail.com> From: "Hoffman, Matthew" To: "JMeter Users List" X-Virus-Checked: Checked by ClamAV on apache.org Not sure why this won't work. The URL is: http://localhost/tttt/ppp/form.action?id=333&selectedTab=1&refresh=1 The request that is coming back in the result tree is: GET http://localhost/tttt/ppp/form.action?id=Token+Not+Found&selectedTab=1&r efresh=1 Cookie Data: JSESSIONID=0E0B4C3CDE5E468557D5CD9E6E724C9A Request Headers: The regular expression extractor looks like this: Reference name: tmrid Regular expression: id="(\d{3})" Template: $1$ Match No.: 1 Default Value: Token Not Found In the request: Form.action Id = ${tmrid} (encode and include checked) Retrieve all embedded... checked Let me know if there is something I am doing wrong. Thanks -----Original Message----- From: sebb [mailto:sebbaz@gmail.com] Sent: Wednesday, April 04, 2007 12:52 PM To: JMeter Users List Subject: Re: General RegEx Try id=(\d{3}) instead. On 04/04/07, Hoffman, Matthew wrote: > It looks like. > > http://localhost/index.htm?id=206 > > -----Original Message----- > From: sebb [mailto:sebbaz@gmail.com] > Sent: Wednesday, April 04, 2007 11:23 AM > To: JMeter Users List > Subject: Re: General RegEx > > What does the query string actually look like? > > It cannot contain anything like: > > name="id" value="206" > > because spaces (and maybe quotes?) are not valid in query strings. > > > On 03/04/07, Hoffman, Matthew wrote: > > This request doesn't pull from the form. It should get the ID from > the > > URL (queryString). I have the regex setup to get it from the URL with > > the specified format below. Any other way I can do this? I need that > > id put into a variable so I can use it further down in my script. > > > > Thanks > > > > -----Original Message----- > > From: sebb [mailto:sebbaz@gmail.com] > > Sent: Tuesday, April 03, 2007 12:49 PM > > To: JMeter Users List > > Subject: Re: General RegEx > > > > Works for me (copy+paste into Java Sampler and RE PP). > > > > Perhaps there are some additional spaces in the document? > > > > BTW, you could use \d instead of [0-9] > > > > S. > > On 03/04/07, Hoffman, Matthew wrote: > > > Hi, > > > I am trying to use the reg expression for the following: > > > > > > name="id" value="206" > > > > > > I am using the below which passes all the regex validators that I > > have. > > > I have Token Not Found in the Default value and that is what I am > > seeing > > > in the actual request. > > > > > > name="id" value="([0-9]{3})" > > > > > > Let me know if there is something else that JMeter is looking for. > > > > > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > ------------------------------------------------------------ > This message and any files transmitted within are intended > solely for the addressee or its representative and may > contain company sensitive information. If you are > not the intended recipient, notify the sender immediately > and delete this message. Publication, reproduction, > forwarding, or content disclosure is prohibited without the > consent of the original sender and may be unlawful. > > Concurrent Technologies Corporation and its Affiliates. > www.ctc.com 1-800-282-4392 > ------------------------------------------------------------ > > --------------------------------------------------------------------- > 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 ------------------------------------------------------------ This message and any files transmitted within are intended solely for the addressee or its representative and may contain company sensitive information. If you are not the intended recipient, notify the sender immediately and delete this message. Publication, reproduction, forwarding, or content disclosure is prohibited without the consent of the original sender and may be unlawful. Concurrent Technologies Corporation and its Affiliates. www.ctc.com 1-800-282-4392 ------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org