This repository contains the source code for the HAR Discovery plugin for ReadyAPI.
You can use this plugin to create ReadyAPI projects from HTTP Archive format (.har) files. Files of this format store the information about performed HTTP transactions.
To create a project from a .har file:
-
Start ReadyAPI and click Plugins on the toolbar.
-
In the Plugin Manager, select HTTP Archive REST Discovery Plugin and click Install/Upgrade Plugin. ReadyAPI will download the plugin and install it.
-
Select File | New Project.
-
In the New Project dialog, switch to the REST Discovery tab and select Use an HTTP Archive (.har/.zhar) file.
-
Click OK and select the .har file to create a project from. ReadyAPI will import the file and create a new project. It will then prompt you to save the created project.
You can also build the plugin manually from the source code in this repository:
-
Download the repository.
-
Run
mvn clean install
command in the repository root folder, for example:C:\Git\ready-api-discover-har-master>mvn clean install
-
Wait for the build to finish. Copy the \ready-api-discover-har-master\target\ready-api-discover-har-1.0.4-dist.jar file to the \.soapui\plugins folder (for example, on a Windows machine: C:\Users\readyuser\.soapui\plugins).
-
Start ReadyAPI. If it is already running, restart it to load and use the plugin.