Import OpenAPI JSON/YAML

IoTIFY allows you to create a basic test for your API endpoints with intelligent payloads and simple automations in one click. Export your API specifications as an OpenAPI 3 JSON or YAML file and IoTIFY can do the work for you.

To get started, go to the Tests interface and click on the Import button on the top right of the screen.

This will open another overflow menu, here click on Import from OpenAPI/Swagger YAML/JSON. This will open a file picker, navigate to the folder where you have stored the JSON or YAML file and open it.

The file will now be uploaded and parsed and a new test will be automatically be created and added to your workspace.

Click on this test to open up the definition and you will see intelligent payloads being created for each method for each route mentioned in the API specifications.

Now you just need to add the base server path and you are ready to test your API endpoints.

While the engine is smart enough to understand things like names, addresses, and so on and add intelligent payloads. It can sometimes fail to understand what a particular variable demands. In those cases, it is left as "UNRECOGNIZED".

It is a good practice to go through all the stages and fix these before running the simulation.

Last updated