Capturing simple forms
We have already encountered a variation of form submission in Chapter 2, Recording Your First Test, when we submitted a login form to authenticate with the server. The form had two text fields for username and password respectively. That's a good start. Most websites requiring authentication will have a similar feel to them. HTML forms, however, span a whole range of other input types. These include checkboxes, radio buttons, select and multiselect drop-down lists, text areas, file uploads, and so on. In this section, we take a look at handling other HTML input types.
We have created a sample application we will be using throughout most of this chapter to illustrate some of the concepts we will be discussing. The application can be reached at http://jmeterbook.aws.af.cm. Take a minute to browse around and take it for a manual spin so as to have an idea what the test scripts we record will be doing.
Handling checkboxes
Capturing checkbox submission is similar to that of...