O'Reilly logo

Performance Testing with JMeter 2.9 by Bayo Erinle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we have covered how JMeter helps manage web sessions for your test plans. First we examined the most common way 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 the HTTP URL Re-writing Modifier, another component 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 next ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required