Nexial Automation

Test Automation Platform for everyone!

X

ws » get(url,queryString,var)

Description

This command sends a GET request to the specified url.

To learn about how to utilize the response returned from the target URL, click here.

Parameters

  • url - the target URL
  • queryString - query string for the specified URL. Use (empty) to indicate no query string to send
  • var - the variable to hold the response

Example

Get the stock quote with the given query string. Here the query is to get the stock quote of company GE (General Electric Company).

Script:

Output:

See Also