You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Bruce Ide <fl...@gmail.com> on 2011/04/19 23:00:36 UTC

Re: Basic authorization in jmeter

There are a couple of things you can do there. If you put a cookie manager
in your test plan, Jmeter will manage it for you.

If you need to look at the session ID for any reason, you can modify your
jmeter.properties and set "CookieManager.save.cookies" to true, which will
cause the session ID to show up as the jmeter variable COOKIE_JSESSIONID.

Alternately, you could put a regex postprocessor on your HTTP Client
request, and extract the session ID from client headers (Make sure you
select the sampler headers in the postprocessor.) IIRC the regex looks
something like "JSESSIONID=([A-Z1-9]+)"

-- 
Bruce Ide
FlyingRhenquest@gmail.com