jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivasan, Kavya" <>
Subject Re: Recorded scripts are unable to perform login operation while playing in Jmeter.
Date Tue, 15 Mar 2016 14:26:33 GMT
Hi Vikash,

When you have recorded, you would have recorded with a session id.
If you see the script in editplus or see the requests from jmeter only, you can see this session
id hard coded somewhere.

Next time when you run the script it wouldn't login as this session is expired.

Here are the steps to resolve.

Record your script
Add a cookie manager to your script
Run the script and see results in tree listener to see if login is happening or not.

This is possible in jmeter 11 onwards.
If you are using jmeter 9 or below, then use a user defined variable to save the session id
and replace in your script across all places the hard coded session id witb this user defined
variable before you run the script each time.

Hope it helps.

Thanks and Regards,
Kavya Srinivasan

Sent from Samsung Mobile

-------- Original message --------
From: Vikash kumar <>
Date: 15/03/2016 18:42 (GMT+05:30)
To: JMeter Users List <>
Subject: Recorded scripts are unable to perform login operation while playing in Jmeter.


I've recorded some scenarios  including "Login" to my application scenario
 from Jmeter, but while playing the recorded scripts from Jmeter i am
seeing that the user hasn't logged in and is still present at the landing
page only. I have used a 'Tree Listener' and navigated to the request and
opened the "Response Data" tab,  seeing the HTML response of the request
sent and received by JMeter. I've used only one user/thread for my

Any idea why it's showing like this in the HTML response of "Response Data"
tab in the  'Tree Listener'  listener. Do i need to tweak any change or

Earliest reply is deeply appreciable.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message