Apache JMeter allows you to test the web application based on HTTP URL, but in case of session/cookie based web application we need to maintain the cookie/session across all the request send for load testing. If you are still don’t know how to perform basic load testing than you should have look at Load Testing with Apache JMeter. In this article we would learn that how we can perform session/cookie based web applications.
HTTP Cookie Manager:
To ensure that cookie/session is maintained across all request we need to add “HTTP Cookie Manager” as the first element inside Thread Group. After adding HTTP Cookie Manager, Apache JMEter will maintain the cookie received from the server after login request and will send the cookie received across all the request there after. HTTP Cookie Manager can be created using
Thread Group -> Add -> Config Element -> HTTP Config Element