If you find it challenging to deal with parsing and assert with JSON data format, Katalon Studio is for you. In other words, you can write custom scripts with built-in keywords or Groovy/Java scripts to verify the response data. The verification tab of a request is similar to the Script tab of a test case. ![]() Verification is used to define assertions ensuring that the response contains expected information. You will be required to enter your user name and password. In the example below, we use the Basic authentication method. Katalon Studio supports common authentication methods, including Basic, OAuth 1.0, OAuth 2.0. ![]() The requested URL specifies the request’s address (E.g., Web server, port, and path).Īuthorization is used to authenticate the user and access the request. Any mismatch between these two items will lead to invalid request exceptions at runtime or wrong data response. Please note that the method you choose needs to match with the URL to have a valid request. You can choose one of these following methods for your request test: GET, POST, PUT, DELETE. In this step, you need to specify a few items for a RESTful request:
0 Comments
Leave a Reply. |