Response header fields are missing
I used j-meter to automate the login process of one web application. Here i faced one issue like Response Header displaying without some important fields like "Location".
Location field contain the token value for the next redirecting page. But i am unable to get that token value from response header to navigate to the next page.
But while we run the browser manually we can see the location filed in the response header.
Can anyone explain why few fields are missing in response header when we use J-Meter & how can we solve this issue.
If you get the response with "Location" header after the login - probably JMeter login fails.
Usually all you need to do is:
See How To Use JMeter For Login Authentication for more details
Once you see "Location" header in View Results Tree listener - you can fetch it using Regular Expression Extractor using "Response Headers" option of "Field to check".
If you still don't see the required header it usually indicates mismatch in requests which are being sent by browser and JMeter. Use a sniffer tool like Wireshark to capture requests originating from browser and JMeter, compare them and modify JMeter requests to be exact replica of browser requests.