Import RESTful requests with OpenAPI Specification 2.0 (Swagger)

Read more about Swagger 2.0...

This topic shows you how to import Web Service objects from a Swagger 2.0 File or URL, depending on the type of your Katalon Studio project.

Do as follows:

  1. Open or create a project > import the service definition in two ways:

    • With an API or Web Service project type, click on the OpenAPI icon > select Import OpenAPI 2 (Swagger).

    • Or in the Tests Explorer, right-click on Object Repository > select Import > From OpenAPI 2 (Swagger).

  2. In the displayed dialog, browse your Swagger local file or enter an OpenAPI 2 (Swagger) URL > click OK.

    Katalon Studio loads the file and generates RESTful test requests accordingly.

Known Issues:

  • No Raw text content in HTTP Body parsed from Swagger.
  • No Authorization parsed from Swagger.
  • Variables and Parameters should be adjusted manually.

See also: