Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Extract value from AGR response stream
Extract value from AGR response stream [message #91314] Tue, 16 January 2007 23:10 Go to next message
Eclipse UserFriend
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 #91628 is a reply to message #91314] Mon, 22 January 2007 22:06 Go to previous messageGo to next message
Liz Dancy is currently offline Liz DancyFriend
Messages: 77
Registered: July 2009
Member
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
>
Re: Extract value from AGR response stream [message #91871 is a reply to message #91628] Mon, 29 January 2007 15:09 Go to previous message
Eclipse UserFriend
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
>>
>
>
Previous Topic:Eclipse TPTP - Thread Analysis enhancement
Next Topic:JBoss server using an Agent Controller on another machine?
Goto Forum:
  


Current Time: Tue Mar 19 03:05:01 GMT 2024

Powered by FUDForum. Page generated in 0.03170 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top