Skip to content

wsAuthenticationType (wsCONNECT)

Compatible with:
  • Purpose
  • This command is used to set authentication type for the service under test.At present only two types of authentication mode are supported i.e. Basic and Digest for Rest and only Basic for SOAP Services.
  • This command is to be used only when the service under test is public facing. For services that are behind the firewall and for the runs wsCONNECT component is used, this command is ignored.
  • Syntax
  • wsAuthenticationType(authenticationType)
  • Target
  • {Basic or HTTP/ VariableName}
  • The Value you specify here could be another variable 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