https - JMeter stops sending JSESSIONID cookie when switched to SSL -


i have test plan runs fine under http, , cookie manager correctly keeping sessions in place. capable of talking same server when switched ssl, , thinks working correctly because gets 200 response our custom message not being logged in.

all need reproduce behavior switch http https. test still able talk server, can see in "view results in table" log cookies has jsessionid under http, , empty under https. , each request under ssl answered set-cookie jsessionid.

interesting scenario. jmeter log file offer clues?

could jmeter needs copy of certificate store ssl cookie? console display handshake problem, can resolved adding certificate key store: http://www.java-samples.com/showtutorial.php?tutorialid=210

you might able further debug writing out cookie value variable , logging value:

received cookies can stored jmeter thread variables (versions of jmeter after 2.3.2 no longer default). save cookies variables, define property "cookiemanager.save.cookies=true". also, cookies names prefixed "cookie_" before stored (this avoids accidental corruption of local variables) revert original behaviour, define property "cookiemanager.name.prefix= " (one or more spaces). if enabled, value of cookie name test can referred ${cookie_test}.

source: http://jmeter.apache.org/usermanual/component_reference.html#http_cookie_manager

edit: asked how specific problem solved. turned out not have ssl specifically, other unrelated headers changed in format, regex using match on them started failing. i'd start there looking @ headers , comparing difference between when post http vs https


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -