jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Almyashev" <Sergey.Almyas...@mirasoft.com.ua>
Subject RE: Simple example
Date Mon, 16 Feb 2004 16:44:08 GMT
Try next:
For 1st request insert /post-processing/RegEx extraction (I've writed from mind).
Give name of variable: myvar.
Input next regex:
 AppContext" value="([^"]+)"
Input template (or group): $1$

Than, in next and maybe other requests, put in parameters list next parameter:
name it AppContext 
at "value" input ${myvar}

It must work!

> -----Original Message-----
> From: Charles DeCroes [mailto:cdecroes@bcbsal.org]
> Sent: Monday, February 16, 2004 6:04 PM
> To: jmeter-user@jakarta.apache.org
> Subject: RE: Simple example
> 
> 
> Here is an exert from the repsonse.  Below is the element I'm 
> trying to
> capture with each response to use in the next request.
> 
> 
> <input type="hidden" name="AppContext"
> value="org.bcbsal.gems.browse.cgd.CGDApplicationContext@16095fc">
> 
> thanks for the help.
> 
> >>> Sergey.Almyashev@mirasoft.com.ua 2/16/2004 12:59:01 AM >>>
> send me responce of a server and I'll try to write proper Regex for
> your AppContext. I catch JSESSOINID such a way.
> 
> -----Original Message-----
> From: Charles DeCroes [mailto:cdecroes@bcbsal.org] 
> Sent: Sunday, February 15, 2004 11:11 PM
> To: jmeter-user@jakarta.apache.org 
> Subject: Simple example
> 
> 
> In my application the server will send back several paramaters that
> need
> to be used for other requests.  Specifically every jsp has several
> hidden fields, one of them is called AppContext.  The value for
> AppContext is returned with the login request and needs to be used for
> every other request.  So my question is how do I get that value and
> put
> it into the next http request?  I have tried reg exp and url rewriting
> but I couldn't get them to work.  If you could give me as much detail
> as
> possible.
> 
> tia,
> charles
> 
> ==============================================================
> ================
> CONFIDENTIALITY NOTICE
> This e-mail is intended for the sole use of the individual(s) to whom
> it is addressed, and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law.  You are
> hereby notified that any dissemination, duplication, or 
> distribution of
> this transmission by someone other than the intended addressee or its
> designated agent is strictly prohibited.  If you receive this 
> e-mail in
> error, please notify me immediately by replying to this e-mail.
> ==============================================================
> ================
> 
> ---------------------------------------------------------------------
> 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 
> 
> 
> 
> ==============================================================
> ================
> CONFIDENTIALITY NOTICE
> This e-mail is intended for the sole use of the individual(s) 
> to whom it is addressed, and may contain information that is 
> privileged, confidential and exempt from disclosure under 
> applicable law.  You are hereby notified that any 
> dissemination, duplication, or distribution of this 
> transmission by someone other than the intended addressee or 
> its designated agent is strictly prohibited.  If you receive 
> this e-mail in error, please notify me immediately by 
> replying to this e-mail.
> ==============================================================
> ================
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message