Skip to content

wsSetTestOutcomesforResponseHttpStatusCodes (wsCONNECT)

Compatible with:
  • Purpose
  • The purpose of this command is to give an option to the user to specify the status code that they want to pass or fail. The wsExecuteRequest command code takes the specific status code from the wsSetTestOutcomesforResponseHttpStatusCodes command and decides whether to pass or fail the wsExecuteRequest command.
  • Syntax
  • wsSetTestOutcomesforResponseHttpStatusCodes( Http status codes with appropriate comma-separated command status )
  • Target
  • Http status codes with appropriate comma-separated command status as P(Pass) or F(Fail) - Mandatory  
  • Example : 200,P || 400,P
  • Value
  • N/A
  • Return Value
  • N/A

 

Feedback and Knowledge Base