Not that I have a real problem with this, but I had to ask this. Is there a
reason why Regex Extractor has to act on either one of body or header and
not both? 

Ryo

> Doh! I'd changed the sense of the property so that it would default to Body,
> and forgot to change one of the button names as well.
> 
> Seems to work OK now ...
> 
> I've updated the 2.0 branch, which should appear in a day or so at
> http://gump.covalent.net/jars/latest/jakarta-jmeter-20/
> 
> S.
> ----- Original Message -----
> From: "Casadonte, Joe" <[EMAIL PROTECTED]>
> To: "'JMeter Users List'" <[EMAIL PROTECTED]>
> Sent: Thursday, May 27, 2004 4:14 PM
> Subject: RE: Regular Expression Extractor for Sampler Result
> 
> 
>> Something made it into 2.0.1, but the radio button doesn't seem to stick
> on
>> 'Headers'.  It always reverts to 'Body'.  I fixed something else in my
>> TestPlan, though, and now I can extract it from the body in a different
>> manner.  So my immediate problem is solved.
>> 
>> Thanks for the tip, though!
>> 
>> --
>> Regards,
>> 
>> 
>> joe
>> Joe Casadonte
>> [EMAIL PROTECTED]
>> 
>> 1016 West Ninth Avenue
>> King of Prussia, PA  19406
>> 610-491-9881
>> 
>>> -----Original Message-----
>>> From: BAZLEY, Sebastian [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, May 27, 2004 6:08 AM
>>> To: 'JMeter Users List'
>>> Subject: RE: Regular Expression Extractor for Sampler Result (NOT
>>> Response Dat a)
>>> 
>>> 
>>> Yes, this was added to the 2.0 branch recently - there are
>>> now radio buttons
>>> to choose between header and body.
>>> 
>>> Not sure if it made it into 2.0.1 or not, but it should be in the 2.0
>>> nightly builds.
>>> 
>>> S.
>>> -----Original Message-----
>>> From: Casadonte, Joe [mailto:[EMAIL PROTECTED]
>>> Sent: 26 May 2004 21:32
>>> To: JMeter Users List
>>> Subject: Regular Expression Extractor for Sampler Result (NOT Response
>>> Dat a)
>>> 
>>> 
>>> Is it possible to use the regex extractor post processor on
>>> the HTTP Headers
>>> sent back?  We have this client sub-session thing that is given in a
>>> redirect.  My call to
>>> http://qaserver/servlets/foo.bar.MyServlet will give
>>> the following Sampler Result
>>> 
>>> Load time: 0
>>> HTTP response code: 302
>>> HTTP response message: null
>>> 
>>> HTTP response headers:
>>> HTTP/1.1 302
>>> Date: Wed, 26 May 2004 18:43:21 GMT
>>> Server: Apache
>>> Set-Cookie: JSESSIONID=2FB5602B8EB0AF26123E8486A39A7360; Path=/
>>> Expires: -1
>>> Location: http://qaserver/servlets/1085597001898/foo.bar.MyServlet
>>> Content-Length: 0
>>> Vary: Accept-Encoding,User-Agent
>>> Keep-Alive: timeout=15, max=97
>>> Connection: Keep-Alive
>>> Content-Type: text/html; charset=utf-8
>>> 
>>> I need to capture '1085597001898' and use it in the URL of subsequent
>>> samplers.  A second call to
>> http://qaserver/servlets/foo.bar.MyServlet will
>> result in a different sub-session ID, so I don't think I can use URL
>> re-writing.  Or if I can I don't understand how to do it.
>> 
>> I tried setting RegexExtractor.useHeaders=true in jmeter.properties, but
>> that didn't seem to help, and I couldn't use that in a general context
>> anyway, as it would apply to ALL regex extractors (there really needs to
> be
>> a way to say for an individual regex extractor, whether or not to look at
>> the headers).
>> 
>> --
>> Regards,
>> 
>> 
>> joe
>> Joe Casadonte
>> [EMAIL PROTECTED]
>> 
>> 1016 West Ninth Avenue
>> King of Prussia, PA  19406
>> 610-491-9881
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> ___________________________________________________________________________
>> 
>> This e-mail and the documents attached are confidential and intended
> solely
>> for the addressee; it may also be privileged. If you receive this e-mail
> in
>> error, please notify the sender immediately and destroy it. As its
> integrity
>> cannot be secured on the Internet, the Atos Origin group liability cannot
> be
>> triggered for the message content. Although the sender endeavours to
>> maintain
>> a computer virus-free network, the sender does not warrant that this
>> transmission is virus-free and will not be liable for any damages
> resulting
>> from any virus transmitted.
>> 
> ___________________________________________________________________________
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--------
Ryo Sode
SQA Lead Engineer
Internet Division
FileMaker Inc.
TEL 408.987.7500
AIM ScreenName: ryosode



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to