Extract value from AGR response stream [message #91314] |
Tue, 16 January 2007 23:10 |
Eclipse User |
|
|
|
Originally posted by: dkurtz.olenick.com
Brand new to TPTP, Eclipse, and not really a Java user. So this may be a
dim question. But, I have a test recorded in the GUI recorder. I need to
extract a value from the first page returned by the server (a session ID)
and re-use it later in the script. What we in the LoadRunner world call
'correlation', and which JMeter (and I guess The Grinder) call 'regular
expression extraction.' Can somebody point me in the right direction on
how to do this?
Thanks.
ddk
|
|
|
|
Re: Extract value from AGR response stream [message #91871 is a reply to message #91628] |
Mon, 29 January 2007 15:09 |
Eclipse User |
|
|
|
Originally posted by: dkurtz.nospam_olenick.com
My apologies... I was trying to figure out how to do it with the HTTP
recorder. Have since figured out that that and the AGR are two different
things, and that apparently that functionality isn't really incorporated
into the HTTP recorder yet. I'm working my way through the AGR tutorials and
such right now, learning how to do verification hooks and such.
"Liz Dancy" <lizdancy@ca.ibm.com> wrote in message
news:ep3ciu$u48$1@utils.eclipse.org...
> You can insert a verification hook and write code to extract a value and
> then use this value later on in your test suite by storing the value as a
> variable in the generated verification class. However, it is not possible
> to reuse a value from a server page as you describe using AGR.
>
> If you could give me more details on what you are trying to accomplish in
> your testing, perhaps I can point you to another TPTP test type which
> might suit your needs better.
>
> Sincerely,
>
> Liz Dancy
>
> "daniel" <dkurtz@olenick.com> wrote in message
> news:cdf2134e7a71b3c6f9e0753126ceed07$1@www.eclipse.org...
>> Brand new to TPTP, Eclipse, and not really a Java user. So this may be a
>> dim question. But, I have a test recorded in the GUI recorder. I need to
>> extract a value from the first page returned by the server (a session ID)
>> and re-use it later in the script. What we in the LoadRunner world call
>> 'correlation', and which JMeter (and I guess The Grinder) call 'regular
>> expression extraction.' Can somebody point me in the right direction on
>> how to do this?
>>
>> Thanks.
>>
>> ddk
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03170 seconds