jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SanderW <san...@performancearchitecten.nl>
Subject Re: Recording of a script in jmeter
Date Wed, 11 Aug 2010 11:48:52 GMT

Hi gp,

Isn't the cookie manager handling the jsessionid's?

With Regular Expression you add a Regular Expression Extractor.
For your example this could be:
Refence Name: myJessionid
Regular Expression: jsessionid=(.+?)\) 
   NOTE: (.+?) will get all characters until it reaches the right boundery.
The right boundery in this case is a special character and must be escaped,
hence the \
Template: $1$
Match No.: 1
Default value: jsessionid not found

If you use multiple RegEx (like '(.+?)') and you want the second expression,
then change the Template to $2$

Hope this helps


-- 
View this message in context: http://jmeter.512774.n5.nabble.com/Recording-of-a-script-in-jmeter-tp2259329p2471767.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
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