This feature allows you to create a test starting with a specification file.
From the interstitial page, choose the ‘Build from SPEC’ icon.
Note: this process deletes your working copy. Keep this in mind if you are attempting to use a specification file with a test that has already been written.
The available specification files you can choose from are: RAML 0.8, RAML 1.0, Swagger, API Blueprint, I/O Docs, Soap WSDL and Postman Collections.
There are two ways to build a test from a specification file. The first would be uploading the specification file itself. The second would be providing the URL that points to the specification file. The dropdown on the top right of the screen allows you to select your mode.
The file can be uploaded by clicking “Attach File” button and selecting the file from the popup.
You may also reference the specification file with a URL. Selecting the URL field in the dropdown will open the SPEC URL field.
Once you have chosen the file type and the method, click the Save button and you will be redirected to the next step where the available endpoints are listed in a dropdown. Choose the one that you wish to test and click “Continue.” The test will then be created. You can now make any further adjustments, save and publish it for later use and scheduling.
Note: For RAML, we suggest uploading the entire zip file. Here’s an example video of building tests from a RAML file.