Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 87319 invoked from network); 5 Jul 2007 15:36:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2007 15:36:53 -0000 Received: (qmail 8589 invoked by uid 500); 5 Jul 2007 15:36:54 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 8409 invoked by uid 500); 5 Jul 2007 15:36:53 -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 8396 invoked by uid 99); 5 Jul 2007 15:36:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2007 08:36:53 -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 sebbaz@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2007 08:36:47 -0700 Received: by wa-out-1112.google.com with SMTP id k40so3995731wah for ; Thu, 05 Jul 2007 08:36:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gp2SuLyqwFXRNRhLOiwh3HZDaMVuxRT7nJ8BT7d1JZe3DBmTLQoXhrInRp79YjqfuSGohynUEww2zye9CXWkRTrJIouoN5wUJflQB2C0/3NvPFV5MrTuuAiVmUjDRHmb31oLUGkFFHQhqNKKZS2Lcry+3IR19ua9m45n7iQdyoA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i9XIua6DcCVYu6bpoBsMAYwxBqjt+m+/QaKMDIkWgm6ht7nhLNzeFnMyAqN5urk9hO1ckWa0blhJXqYN4G+2NkCucANeLzEqaUnx3uT9DQgg/ZOR8INhmT1usi7+hlVsRfgkfRIbpu7jh9mt/MXobp1Okn/ffLhJZ+pKIWP5f3E= Received: by 10.114.125.2 with SMTP id x2mr8250401wac.1183649787480; Thu, 05 Jul 2007 08:36:27 -0700 (PDT) Received: by 10.114.168.12 with HTTP; Thu, 5 Jul 2007 08:36:27 -0700 (PDT) Message-ID: <25aac9fc0707050836g46565662g48c9cea041407d56@mail.gmail.com> Date: Thu, 5 Jul 2007 16:36:27 +0100 From: sebb To: "JMeter Users List" Subject: Re: RE extractor In-Reply-To: <7ac2300c0707050759p780530a8l751065a4fa9aa6aa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7ac2300c0707050759p780530a8l751065a4fa9aa6aa@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 05/07/07, aidy lewis wrote: > Hi, > > I am having problems making the RE extractor to work. > > The Test Plan looks like this > > HTTP Request > www.google.co.uk > > BeanShell PostProcessor //sebb informs us there is a bug in the > postprocessor and works like > print("${test}"); //a pre-processor No, I said that the post-processors run in reverse order. > Regular Expression Extractor > ref name: test > RegEx: (.*) > Template $0$ Do you really want to match everything? > Match No 1 > Default Value: "Token Not found". No need for enclosing quotes. > The returned result = ${test} > The problem is the print command: print("${test}"); The variable contains quotes, and these mess up the Java syntax. Check the log and you will see some errors. If a test does not behave as you expect, please always check the log for errors. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org