Skip to content

wsSetRequestPayload (wsCONNECT)

Compatible with:
  • Purpose
This command is used to set the input payload to the service under test.

In case of SOAP webservice, if the operation name accepts multiple parameters then comma separated values must be passed to this command. Please note the sequence of the values and the parameter should be the same.
The payload should match the type of the data that is mentioned in the "Content-Type" request header parameter.
  • Syntax
  • wsSetRequestPayload(inputPayload)
  • Target
  • inputPayload or VariableName
  • The Value could also variable used within the Test Script or a User Defined Variable or a System Variable
  • Value
  • N/A
  • Return Value
  • N/A

Example(s):

Click here to see the example


 

Feedback and Knowledge Base