Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 74079 invoked from network); 21 Sep 2006 23:14:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 23:14:23 -0000 Received: (qmail 39038 invoked by uid 500); 21 Sep 2006 23:14:21 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 39016 invoked by uid 500); 21 Sep 2006 23:14:21 -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 39005 invoked by uid 99); 21 Sep 2006 23:14:21 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2006 16:14:21 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=sebbaz@gmail.com; domainkeys=good Authentication-Results: idunn.apache.osuosl.org smtp.mail=sebbaz@gmail.com; spf=pass X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 64.233.184.229 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.184.229] ([64.233.184.229:5303] helo=wr-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 35/81-05580-9CC13154 for ; Thu, 21 Sep 2006 16:14:18 -0700 Received: by wr-out-0506.google.com with SMTP id 71so479186wra for ; Thu, 21 Sep 2006 16:14:14 -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=bxn5gttOiSgJhtkCZXgFB4TRZtapYR2yReuxvY2WKb83leKaMYAYQugB5uIH+O/Owg3IqjYhjJqpECIsprdFB7FAGNik6mYPqSalvOL24v0MOvBbXisVhLLpzW7iYIzlBzDLwuoeokpENkju+IlZPgDM7jimO7ykOPkyhF2SrAQ= Received: by 10.90.113.18 with SMTP id l18mr3715791agc; Thu, 21 Sep 2006 16:14:14 -0700 (PDT) Received: by 10.90.84.2 with HTTP; Thu, 21 Sep 2006 16:14:12 -0700 (PDT) Message-ID: <25aac9fc0609211614h197cfa3i1c0a277fecbc3181@mail.gmail.com> Date: Fri, 22 Sep 2006 00:14:13 +0100 From: sebb To: "JMeter Users List" Subject: Re: Can't use Reqular Extraction Variable in request path In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <25aac9fc0609200315t3e5cd933ge09365942a777de7@mail.gmail.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've made a fix to the RE Extractor, so that it will still run even if the HTTP response body is empty. Not sure if this is the case here. The current nightly has the fix if you want to try it. S. On 21/09/06, Per Ekman wrote: > I havn't had any logfile or console window errors at all > > I think I've created a new test plan, but I will try it once again to be > sure I havn't made any mistakes. > > > >From: sebb > >Reply-To: "JMeter Users List" > >To: "JMeter Users List" > >Subject: Re: Can't use Reqular Extraction Variable in request path > >Date: Wed, 20 Sep 2006 11:15:08 +0100 > > > >Did you check jmeter.log and the console window for errors? > > > >Can you get Assertions to work at all, e.g. if you create a new test pla= n? > > > >S. > >On 20/09/06, Per Ekman wrote: > >>I've tried your suggestion with entering a non-existing server in both = the > >>request default and removing the request defaults and entering a server= in > >>each request, and it still doesn't register the RE variable. > >> > >> >From: sebb > >> >Reply-To: "JMeter Users List" > >> >To: "JMeter Users List" > >> >Subject: Re: Can't use Reqular Extraction Variable in request path > >> >Date: Tue, 19 Sep 2006 18:45:01 +0100 > >> > > >> >On 19/09/06, Per Ekman wrote: > >> >>Thanks for the tips. This is very strange. I can't get this to work = at > >> >>all, > >> >>and I don't know why. I just realised that I had answered the earlie= r > >> >>thread > >> >>regarding this problem (and I was probably stopped by some other iss= ue > >> >>which > >> >>made me forget to send the test case back then). Anyway, this is the > >>very > >> >>same problem > >> >> > >> >>http://www.nabble.com/JMeter-2.2-Extractor-Variable-Problems-tf17860= 56.html#a5064504 > >> >> > >> >>Was this discussed anywhere else? Sebb, are you using 2.2 or some la= ter > >> >>nightly build? > >> > > >> >I've tried both 2.2 and the current nightly, and they show the same > >> >behaviour - the variables are set to "Error" (because I don't have > >> >access to the server). > >> > > >> >What happens when you test against a non-existent server (e.g. don't > >> >define the properties in the HTTP Request defaults) ? > >> > > >> >>/Per > >> >> > >> >> > >> >> >From: sebb > >> >> >Reply-To: "JMeter Users List" > >> >> >To: "JMeter Users List" > >> >> >Subject: Re: Can't use Reqular Extraction Variable in request path > >> >> >Date: Fri, 8 Sep 2006 17:39:54 +0100 > >> >> > > >> >> >If the RE extractor runs at all, then the variable will be set to > >> >> >either the default, or the extracted information. > >> >> > > >> >> >The presence of the untranslated ${Variable} in the output means t= hat > >> >> >the variable "Variable" is not defined at all. So either the RE ha= s > >> >> >failed to run, or the variable name is misspelt. > >> >> > > >> >> >I've tried running the test you sent me privately, and the REs see= m > >>to > >> >> >work fine, even though I cannot access the server - they all retur= n > >> >> >"Error" as expected. > >> >> > > >> >> >I suggest you check jmeter.log, in case there is some error that i= s > >> >> >causing the RE to fail to run properly (unlikely, but worth > >>checking). > >> >> > > >> >> >On 08/09/06, Per Ekman wrote: > >> >> >>Yeah, I'll send you the test case and check the archives > >> >> >> > >> >> >>It shouldn't be an incorrect regexp expression, as the default va= lue > >> >> >>should > >> >> >>then be inserted into the request path instead of ${LocationHeade= r1} > >> >> >> > >> >> >> >From: sebb > >> >> >> >Reply-To: "JMeter Users List" > >> >> >> >To: "JMeter Users List" > >> >> >> >Subject: Re: Can't use Reqular Extraction Variable in request p= ath > >> >> >> >Date: Thu, 7 Sep 2006 18:52:05 +0100 > >> >> >> > > >> >> >> >I seem to remember someone else reported this problem, but I > >>cannot > >> >> >> >remember the resolution. Check the mail archives. > >> >> >> > > >> >> >> >If this does not show the solution, perhaps you can you send me > >>the > >> >> >> >JMX privately - or perhaps create a Bugzilla issue. > >> >> >> > > >> >> >> >[Please don't post it to the mailing list] > >> >> >> > > >> >> >> >On 07/09/06, Per Ekman wrote: > >> >> >> >>Hi > >> >> >> >> > >> >> >> >>I'm trying out jMeter2.2 and using an old test case developed = in > >> >>2.1. > >> >> >>My > >> >> >> >>test case uses a regular expression extractor in order to fetc= h > >>the > >> >> >> >>location > >> >> >> >>header in a request and save it in a variable. > >> >> >> >> > >> >> >> >>So I'm using a variable like this: ${LocationHeader1} in the p= ath > >> >>and > >> >> >>when > >> >> >> >>the request is sent it looks like this in the View Result Tree= : > >>GET > >> >> >> >>http://130.100.12.34/${LocationHeader1} > >> >> >> >> > >> >> >> >>However, something is fishy here. In the same test case I have > >> >>managed > >> >> >>to > >> >> >> >>extract a header in this way and use in a request. > >> >> >> >> > >> >> >> >>Does anyone have a similar problem, and if so a possible > >>solution? > >> >> >> >> > >> >> >> >>______________________________________________________________= ___ > >> >> >> >>Lyssna obegr=E4nsat p=E5 musik! http://www.msn.se/music > >> >> >> >> > >> >> >> >> > >> >> >> > >> >> > >> >>--------------------------------------------------------------------= - > >> >> >> >>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 > >> >> >> > > >> >> >> > >> >> >>_________________________________________________________________ > >> >> >>Windows Live Messenger =E4r h=E4r! > >>http://get.live.com/messenger/overview > >> >> >> > >> >> >> > >> >> > >> >>--------------------------------------------------------------------= - > >> >> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.or= g > >> >> >>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.o= rg > >> >> > > >> >> > >> >>_________________________________________________________________ > >> >>S=F6k bilder p=E5 k=E4ndisar! http://search.msn.se/ > >> >> > >> >> > >> >>--------------------------------------------------------------------= - > >> >>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 > >> > > >> > >>_________________________________________________________________ > >>Dags att byta jobb? http://monster.msn.se/ > >> > >> > >>--------------------------------------------------------------------- > >>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 > > > > _________________________________________________________________ > S=F6k bilder p=E5 k=E4ndisar! http://search.msn.se/ > > > --------------------------------------------------------------------- > 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