I am testing one asp.net application using JMETER 2.7
On Login page - response, i am getting message 'your session timed out. pls try again.'
from previous GET request, i extracted __VIEWSTATE parameter and used in sub-sequent LOGIN POST request.
I also used http cookie manager.
jmeter reports this LOGIN reuqest as SUCCESS but in reponse data, application send back this LOGIN PAGE with session timeout message.
i also checked that- it's extrating __VIEWSTATE parameter properly.
As a result i can not proceed ahead.
what is the reason? pls help.
<font color="green"> </font>
Did you verify if it is passing the extracted viewstate as is?
No one can see beyond their choice!
yes, it's passing correctly as extracted.
Record again with same credentials and compare to see the difference in your login requests?
Is it only viewstate & session id that is different? OR is there something else, which is different?
Your application authentication, is it form based (userid/ pwd) OR NTLM based OR something else?
Does login use https protocol?
Application authentication is form-based. (userid/ pwd).
POST request contains following parameters.
first two are not passing anything.
It is not using https protocol.
does 'Follow redirect' or 'redirect automatically' making a difference?
i tried to run by keeping above properties checked (one at at a time.) but same result.
Check for jmeter.log file for any errors.
After some R&D, we find solution.
our application sets a NULL cookie.
by default, Jmeter ignores null cookies.
that's why it's getting session timeout.
to change this,
go to Jmeter properties -> and set
following parameter to False.
Record scenario again and run. this should solve the problem.
Kudos on resolving your problem and following up on here with the solution, crazytest1,