wsSetRequestHeaderParam (wsCONNECT)
Compatible with:
- Purpose
- This command is used to set the request header parameters for the service under test. The most common params are Content-Type & Content-Length.
- This command can be repeated with multiple header parameters.
- Syntax
- wsSetRequestHeaderParam(content-Type, request-content-type)
- Target
- param/${VariableName}
- The Value you specify here could be another variable within the Test Script or a User Defined Variable or a System Variable
- Value
- param value/ ${VariableName}
- The Value you specify here could be another variable within the Test Script or a User Defined Variable or a System Variable
- Return Value
- N/A
Example(s):
Click here to see the example