The anatomy of a plan

This part takes a plan apart. The .jmx file is XML with one rule of its own, the Test Plan and the Thread Group say who runs and how often, the HTTP Request and its defaults say what is sent, the header and cookie managers say what travels with it, a listener says where the result goes, and an assertion says what counts as a pass. Each lesson changes one of them and runs the plan.

2.1 The .jmx file the plan as XML: the hashTree pairs, the element and its children, and the properties it holds Open 2.2 The Test Plan and the Thread Group users, ramp-up, loops, duration and on_sample_error, with a thread count from -J Open 2.3 HTTP Request and HTTP Request Defaults one request sampler, the defaults that fill it, redirects on and off, keep-alive and timeouts Open 2.4 Header and Cookie Managers a login that sets a cookie, a header that carries a token, and the 401 without either Open 2.5 Listeners in headless mode the Simple Data Writer and the Summariser, the columns of a .jtl, and why a GUI listener is wrong Open 2.6 Assertions a response assertion that passes, one that fails, the failure message in the .jtl and the exit status Open 2.7 The GUI as steps the panels a plan is built in, shown as steps, and the error this image gives instead Open

Lessons