Skip to content

wsSetRequestURL (wsCONNECT)

Compatible with:
  • Purpose
  • This command must be present at least once for Block. If it appears more than once within a wsBlock the URL that corresponds to the last used command will be used to execute the services test. A variable could be used for the entire URL or portions there of.
  • For public facing service under test full URL should be mentioned.  For example to schedule a test in Worksoft SaaS using REST api :  While invoking services behind the firewall, base URL is not be mentioned.  URL mentioned here should consist of Resource and Action.
  • For example:/${domainname}/executions/
  • For SOAP Service under test, full URL should be mentioned for both Public facing services and for the services behind the firewall.
  • Syntax
  • wsSetRequestURL(URL,variable)
  • Target
  • url/${VariableName}
  • The Value you specify here could be another variable within the Test Script or a User Defined Variable or a System Variable
  • 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


 

Feedback and Knowledge Base