# Import & Export

Loadmill users can import Test Suites, Test Flows, CSV files, Requests, Load Tests and Recordings.

### **Importing Test Suites**

Navigate to Test Suites and click IMPORT SUITE. Make sure your Test Suite in the JSON file format.

![](https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-95d1f3f58ce92829e9d2bb794d4e52bd6cc6b575%2FScreenshot%20\(48\).png?alt=media)

For example, you can use this option to import a collection from Postman. First, export the collection by clicking on three dots within the collection and choosing Collection v2.1 (recommended).

![](https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-567468c4f5b33b9a780985bd4080c934dff6f5aa%2Fezgif.com-gif-maker%20\(15\).gif?alt=media\&token=c7217122-a06c-4014-9650-2d7f85e2fbde)

Then, go to Loadmill and import the collection as a Test Suite. Loadmill will automatically recognize Postman data and create a new Test Suite with test flows and parameters.

### Importing Test Flows and CSV files

To import a test flow, enter a specific Test Suite and click IMPORT FLOW. Loadmill allows to import test flows in the HAR and JSON file formats.

![](https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-fb37dbf47cc05f7e341ec508034ca94a9501e330%2FScreenshot%20\(49\).png?alt=media)

You can also use this option to import [HAR files](https://en.wikipedia.org/wiki/HAR_\(file_format\)) generated by the browser's Dev Tools or [Charles proxy](https://www.charlesproxy.com).

Once it's done, you may want to run this or another test flow several times using different parameter values for each run. To achieve that, create a CSV file containing relevant parameters and their values and import it by clicking on IMPORT CSV within the test flow. Find more information on that [here](https://docs.loadmill.com/api-testing/test-suite-editor/api-tests-data-from-csv-files).

### Importing Requests

You can easily paste a cURL command as a request to Loadmill.

{% hint style="warning" %}
:brain: Make sure you have given permissions to your browser to copy and paste text and images to [the clipboard](https://docs.loadmill.com/general-troubleshooting#it-seems-like-i-cant-paste-requests-within-a-flow).
{% endhint %}

![](https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-c2ba83832fd30ee4b2d896934172d4e0c1b08bb4%2Fvideo1868994221-online-video-cut.gif?alt=media)

### Importing Load Tests and CSV files

Navigate to Load Tests and click IMPORT TEST. Loadmill allows to import load tests in the HAR and JSON file formats.

![](https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-7d13ee5fb8fb3b2d2189d4c08f5296be37e39e87%2FScreenshot%20\(50\).png?alt=media)

You can also import CSV files into load tests, see how to do that [here](https://docs.loadmill.com/load-testing/working-with-the-test-editor/data-from-csv-files).

### Importing Recordings

In case you are using [GoReplay](https://goreplay.org) and would like Loadmill to generate an API Test Suite from it, you can import Gor file on the Recordings page by clicking IMPORT RECORDING.

![](https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-9facc6ea369fb610df1366fff01c0b249916eb1d%2FScreenshot%20\(51\).png?alt=media)

Once it's done, you can click on the GENERATE TEST SUITE button within the recording so that a new Test Suite will be created and contain all data from the Gor file.

### Exporting data

You can export Test Suites, Test Flows, Load Tests, Test Suite/Test Plan/Load Test Run CSV Reports and [Usage Reports](https://docs.loadmill.com/account-settings/billing/usage-report) (team admins only).

Let's say you ran a test and one of the requests has failed and now you would like to run it separately in the CLI. To do that, just click **Copy as cURL** within the failed request.

![](https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-5ca83e05be3161b8f0e11ac668073ca19135fed2%2Fvideo1964871818-online-video-cut.gif?alt=media)

You can use this option in Test Suite and Load Test Runs as well.
