===================
A plugin for ReadyAPI that allows you to import APIs using APIs.io Service.
Install the plugin via the integrated Plugin Repository available via the Plugin Manager in ReadyAPI 1.3 and newer.
You can build the plugin by oneself by cloning this repository locally - make sure you have java and maven 3.X correctly installed - and run
mvn clean install assembly:single
in the project folder. The plugin dist.jar will be created in the target folder and can be installed via the Plugin Managers' "Load from File" action.
Once installed there will have two ways to import an API with an APIs.io search engine:
- Via the "Add API With API Search Engine" option on the Project menu in the "Projects" tab
- Via the "Create Project With API Search Engine" option in the "Create project from..." drop-down when creating a new project
In both cases you will be prompted the dialog with the search field, table with search result and import options. There are 2 kinds of the APIs can be presented in the search result table:
- API with gray color doesn't contain API declaration and can't be imported
- API with black color contains API declaration and can be imported. List of the available declaration formats is shown in the Format cell.
With import options you can easily:
- send ad-hoc requests to the API to explore its functionality
- create functional tests of the API which you can further use to create Load Tests, Security Tests and API Monitors (in the SoapUI module)
- create a security tests of the API (in the Secure module)
- create a load tests of the API (in the LoadUI module)
- create a virtualized version of the API for sandboxing/simulation purposes (in the ServiceV module).
Another possibility is to export the selected REST service or REST services of the selected project to the APIs.json format (http://apisjson.org/format.html). Version of the format is 0.14 (http://apisjson.org/format/apisjson_0.14.txt). To create APIs.json file follow these steps:
- select “Export APIs.json” in the context menu for the selected project or REST service and go to the first page of the wizard that contains common information for the all selected REST services
- each selected REST service will be presented on the separate page
- on the last page of the wizard you need to enter a folder to save result file
- the result file will have name of the selected project or REST service and json extension.