Setting up API testing project

REST APIs and SOAP web services are specific APIs that can be published and called over the Internet by client applications. Katalon Studio supports functional testing of these kinds of APIs. This topic provides an overview of how to set up a project for API testing.

Proxy Settings

Proxy can be configured at: Preferences > Proxy. The setting affects both WebUI and WebService test execution.

Proxy-Katalon-Studio

Where:

Field Description
Proxy Option Specify how Katalon Studio will deal with proxy

  • No Proxy: do not apply any proxy setup
  • Use system proxy configuration: proxy setup by local machine will be utilized
  • Manual proxy configuration: manually define information for proxy
Proxy Server Type Specify the type of the proxy server. Katalon Studio currently supports three types of proxy server: HTTP, HTTPS, and SOCKS
Address & Port The IP address and port of the proxy server
Authentication Users can specify the username and password to access the proxy server if required.

authentication-Katalon-Studio


Certificate settings

Users may find their computers setup in a network that requires certification setup in order to access the internet.

Katalon Studio supports the capability to bypass certificate validation so that users with restricted network policy can work with Katalon Studio as usual. This setting can be found at Project > Settings > Network and it affects both WebUI and WebService testings.

Project-settings-Katalon-Studio

External Library

With this setting, you can manage your external libraries by adding new ones or remove existing ones. Please access the settings at menu Project > Settings > External Libraries.

external-Library-Katalon-Studio

  • Add: Click to add your external libraries. The selected libraries will be copied to Drivers folder of Katalon project
  • Remove: Click to remove existing libraries. They will be removed from Drivers folder in Katalon project

The added libraries can be imported and utilized in the Script View of test cases, as below:

Script-view-Katalon-Studio1

 

Guest Author SoftwareTestingMaterial This post is written by the above mentioned Guest Author.

Leave a Comment

Share via
Copy link
Powered by Social Snap