Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to define a new REST Connection, follow the steps below:

1- Click Image Modified while on REST Connections tab. You can select Folder to create a folder to organize your REST Connections. To create a REST Connection, select Connection.

Image RemovedImage Added

2- This will open up the REST Connections tab

Image RemovedImage Added

3- Specify a name (60 characters max), URL, and comments for your REST Connections.

4- Select the method for the connection from REST Options. GET method does not support body, but POST, PUT, PATCH and DELETE can be used with a body (payload).

5- Click Test connection tab to continue. 

6-The payload is optional and can be added as Plain Text or as Multipart where a multiple body parts can be added with custom field names.

57- Click Test to Test your connection and show the responses.

68- If your request requires authentication and you see status code 401, select the Type under Authentication Options and enter the Username and Password.

79- If the selected method is POST or PUT, you can upload attachments by clicking Multipart option below.

810- If your REST endpoint requires authentication, you can use the Authentication Options to add your information. Supported authentication methods:

...

D. By headers that can be added above the Payload

911- Hit Save to save your REST Connection.

1012- You can now use the REST connection in your test case with REST commands.

...