0
votes

I have a test I need to perform on a website which includes several pages transitions. At first I used the add on tool BlazeMeter to capture the traffic from my chrome browser, added the results to JMeter and ran the test plan, and it failed. For comparison and attempt to diagnoze the problem, I opened Fiddler and did the same flow again, added the .jml file to JMeter, and compared the Headers of the request to the captured data and I noticed that there are differences between the request, in the request headers:Image from Fiddler

The JMeter Header: Jmeter header

So, question is, is there an issue with the cookies? My cookie manager in JMeter doesn't have any values. Should I concatenate cookie properties in my JMeter flow? Thanks

1

1 Answers

0
votes

Just add HTTP Cookie Manager to your Test Plan, JMeter is smart enough to handle cookies automatically. You will be able to see the values in the View Results Tree listener.

The inputs in the HTTP Cookie Manager allow you to set your custom User Defined cookies if required:

Cookie Manager user defined cookies

Cookie Manager in Work

All cookies which are being provided via Set-Cookie header will be handled by JMeter.


Given you are load testing an ASP.NET application I would recommend getting familiarized with ASP.NET Login Testing with JMeter guide as the chance you will be able to successfully replay recorded scenario is minimal.