Send a multipart HTTP or REST Service request

Relevant for: API testing only

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

Back to top

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 .

Back to top

Set the properties for the other parts

  1. In the Properties pane, open the Multipart tab .

  2. Select the Enable Multipart option.

  3. In the Input section, set the multipart type.

  4. Below the Type, provide the details for the general header:

    1. Click the Add button to add a header.

    2. Expand the Headers (array) element.

    3. In the Headers[<number>] array property, enter the Name and Value for the general header.

  5. Click the Add button and add the necessary number of parts in the multipart request.

  6. Set the properties for the parts:

    1. In the Headers (array) cell, click the Add button to add an request header.

    2. Expand the Headers[<number>] array

    3. In the Headers array, enter the value for the Name and Value properties for the part request header.

    4. 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.

Back to top