Request Body (httpClient-RequestBody)

This component configures the source type and the Send action properties of a request body.
Figure 32.   httpClient-RequestBody properties
Image

To access these properties, expand Config > Drivers > HttpClientNetwork > HttpClientDevice > Ping Address and double-click Request Body.

Properties Value Description
Source Type drop-down list (defaults to SlotSource) Selects the source type for sending the content.

FileSource

ParameterStringSource

ReportPayloadSource

SlotSource

Clear Payload After drop-down list (defaults to Neither) Selects the status required to clear a payload.

Success

Failure

Neither

Both

Send On Source Cov true (default) or false Specifies if a new Http request is automatically sent after modifying the Data Slot value in the source.

true sends a new Http request

false causes the Send action to occur only when executed.

By default, when you modify the Data slot value in the request body source, the driver automatically sends a new HTTP request. To alter this behaviour, set Send On Source Cov to false under Request Body. Then send only occurs when you invoke the Send action.

Write Buffer Size number (defaults to 8192) Specifies the size of the buffer to use when reading the source data into the Http connection for tuning. A higher value may increase the performance for large message bodies.