performance - Session Expired Response in JMeter -
i testing particular application using jmeter 2.9.there test plan thread group--> transaction controller.inside various recorded requests there.i using http request defaults,http cookie manager , http header manager,and view result tree validation.i found 1 token i.e. csrf token correlated , did correlation.but particular request finding "session expired..login again" response much before logout request.my transaction flow login--> search content-->logout.
please help me finding solution.
the problem can in next areas: -you redirected automatically instead of next redirects -login hasn't succeeded -the session id has not been passed on request after login
the jmeter documentation states this: i've set jmeter sample same urls browser, why jmeter not seeing same responses?
there various different reasons this:
cookies - create sure added cookie manager. browsers process cookies unless set them otherwise, jmeter not process cookies unless add together cookie manager. user-agent - user-agent header sent browsers; identifies browser type. servers sensitive setting , generate different results think different browsers. header manager used add together headers such user-agent. hidden fields - if did not utilize jmeter proxy (or other application) record test plan, easy miss hidden fields forms. dynamic field names/content - servers utilize varying names fields. although test plan may right @ time of creation, not work when replayed. url rewriting - tba
from http://wiki.apache.org/jakarta-jmeter/differentbehaviour
performance jmeter performance-testing correlation jmeter-plugins
No comments:
Post a Comment