Hi all, I have been trying to use JMeter to test my web app. I am having trouble with cookies, I use the Http session to store information about whether the user is currently logged in, however i am finding that the cookie indicating the session id is not being set at all.
I have been putting trace through the Jmeter code to track this down, and from what i can tell, the HttpSampler.setCookieManager is never called (or the cookie manager set through other means) hence the call to HttpSampler.setConnectionCookie always has a null cookie manager. I my test plan i have a Http Cookie Manager as the very first element beneath the Thread Group, following by several Http Request nodes. I would love to solve this problem but I am not sure whether the cookie manager needs to be set for each HttpSampler at creation time (or at load time) or only when the test is actually executed. I would assume that it only needs to be allocated at test execution time, but how to actually do it!!!! I cant find the right point in the code where it should be done. Can someone either do it or point me in the right direction. Jason Height -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
