Most test cases are created as a result of recording a test case. However, in some instances, one, several requests, or entire test cases can't be recorded and must be created manually. For these cases you can use the Request Composer.
To open the Request Composer, right click on the Sessions Grid and select the Request Composer option.
The Request Composer should open in a new tab.
To create a new HTTP(S) request, you can either complete the builder form or click the Raw tab and enter the request content manually.
Then press Send to issue the request and add a session to the bottom of the session grid. After that you can add it to the test case.
- Select the request method.
- Type the absolute request url including the query string.
- Select the HTTP Version number (1.1 is the default).
- If you want to add request additional request headers like User-Agent or Accept. Do not add the Content-Length header as it will be added automatically.
- If you selected the POST or PUT method then you can add a request body.
- If you have a webform body then you can add name/value names.
- Check the Url-Encode names/values checkbox to url-encode the names and values and adds the Content-Type: application/x-www-form-urlencoded header.
- If you have any other body then select the Raw body radio button and type the request body.
works in standalone version only
the new session will be added to the bottom of the session grid
describe additional steps that are necessary to add it to the test case,