Summary

In this chapter, we covered how JMeter helps manage web sessions for your test plans. First, we examined the most common way in which web applications manage sessions—using a cookie. For these cases, JMeter provides a component called HTTP Cookie Manager, whose primary job is to help capture the cookie generated by the server and store it for future use during test execution. We then explored web applications that use URL rewriting to maintain sessions as opposed to cookies. This led us to HTTP URL Re-writing Modifier, another component that JMeter provides for handling these cases.

In conclusion, what we have covered here should suffice in helping you effectively manage sessions as you build test plans for your own applications.

In the ...

Get Performance Testing with JMeter - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.