Skip to main content

Codeless Integration Testing with Network Assertions

Network Assert

  • Click on Add Network Assert
  • Add a Test Case Name and Description.
  • Add steps (more on this below in the section)

Actions

After running a UI test case you receive a network log. Once we have the network log we can go in and select the Network calls to assert.

Variable

  • This action is for Android, iOS, and Web.
  • This Action is used to declare a variable. We can also specify its datatype (String, Integer, or JSON) and store static values, request parameter values, and response values in the variable.

Request URL

  • This action is for Android, iOS, and Web.
  • This action will select the specified URL as the request.
  • Once you have selected “Request URL” and once you name the request you are able to select a URL from a dropdown list.
  • If you select a URL with queries you can select queries to be added as request parameters

Request Parameter

  • This action is for Android, iOS, and Web.
  • This action requests parameter variables(This will be auto-filled if you select the queries from the Request URL)

Response URL

  • This action is for Android, iOS, and Web.
  • This action gets the response to a specific request made in the response variable.

Check

  • This action is for Android, iOS, and Web.
  • This action is used to make assertions on network requests, request parameters, and responses as well as variables (i.e.: Checking that the URL exists while the application is running).

Table of Contents