HTTP Authorization Tutorial
This tutorial explains how to enable HTTP authorization for the following HTTP form:
<form method="post" action="/login">
Username: <input type="text" name="username" required>
Password: <input type="password" name="password" required>
<input type="submit" value="Login">
</form>This form renders in a browser as a username field, a password field, and a login button.
To authorize using this form:
Create an HTTP Request test step with the appropriate settings (username, password, and method).

In this example, the username is
admin, the password isp@ssw0rd, and theHTTP methodis specified asPOST.Important
Make sure the HTTP request endpoint matches the address in the
actionattribute of theformelement.Open the created HTTP request and select the Post QueryString option.

Set the HTTP Request test step to keep the session alive by using the Maintain HTTP Session option.
Select the test case in the Navigator.
Click on the test case toolbar.
Switch to the Basic tab.
Select the Maintain HTTP Session option.

Click OK.
When everything is set up, the session will be maintained, and any other requests in the test will use the authenticated session.