Send a multipart HTTP or REST Service request
Relevant for: API testing only
This topic describes how to add and configure a multipart HTTP or REST Service request.
Add an HTTP or REST Service step
From the Toolbox pane, add one of the following to the canvas:
-
From the Network activities, an HTTP Request
-
From the Local Activities section, a REST service method
Set the properties for the first part of the request
Set the request property values in the relevant tab:
-
For an HTTP Request step, these properties are found in the Input/Checkpoints tab .
-
For a REST Service step, these properties are found in the HTTP Input/Checkpoints tab .
Set the properties for the other parts
-
In the Properties pane, open the Multipart tab .
-
Select the Enable Multipart option.
-
In the Input section, set the multipart type.
-
Below the Type, provide the details for the general header:
-
Click the Add button to add a header.
-
Expand the Headers (array) element.
-
In the Headers[<number>] array property, enter the Name and Value for the general header.
-
-
Click the Add button and add the necessary number of parts in the multipart request.
-
Set the properties for the parts:
-
In the Headers (array) cell, click the Add button to add an request header.
-
Expand the Headers[<number>] array
-
In the Headers array, enter the value for the Name and Value properties for the part request header.
-
In the Value column for the Path property, enter the path to the request header or click the Browse button and navigate to the reader header.
-