I tried a lot and tired now :(
I need to Load test a Website. I have configured all things, specified all necessary extractor & expressions and try to login, but it is giving me Response code: 302. I can see that GET LOGIN & POST LOGIN requests working perfect but page which is coming just after login is getting 302 in JMeter.
Then, I have recorded a script using proxy to verify that if I am passing all values and expressions correctly or not , and found that I am doing it right.
Now what could be reason of not able to login when try to perform without record. I have read all type of solutions from internet but still there is not success.
SOLVED BY FOLLOWING :
1 - Add Cookie manager
2 - Set CookieManager.save.cookies=true in jmeter.properties. By default it was false.