This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I am trying to use jmeter to run the load testing for my application. Could any one help me "how to get the session parameters in the jmeter". When I send a request from the jmeter, I get null pointer exception on the application server console since the session value is null. It would be great if somebody help me on this as it is very critical.
JMeter can't put values into the session. That has to be done by your webapp code. Maybe you need to have JMeter visit another page first so that the session values are initialized?
James Carman, President<br />Carman Consulting, Inc.
Joined: Mar 09, 2005
James, thank you very much for your response....let me elaborate my problem. Basically the application has been developed using MVC architecture and I have to do the performance test for following requests....
1. Login 2. Send message 3. Track message (here the user can see the messages sent and received) 4. Logout
The session will be created when the user goes to the the login page. When the user hits submit button after entering username/password, it gets "carrID" from the session (we are using cookies to mantain session) and invokes a servlet. I have given some souts to check what session value is coming, it says session value=null. But when I see the TCP dump, the jmeter is sending the proper values. Could you please let me know how to debug this problem and if there are any different settings in jmeter for MVC architecture.