---
title: "Import Postman, HAR and WireMock Traffic | Speedscale Docs"
description: "Turn a Postman collection, a HAR file or a WireMock project into a proxymock recording, from the command line or the Get traffic dialog in proxymock web."
canonical: "https://docs.speedscale.com/proxymock/guides/import-traffic/"
---

[Documentation index](https://docs.speedscale.com/proxymock/llms.txt) | [Markdown](https://docs.speedscale.com/proxymock/guides/import-traffic/index.md) | [Canonical page](https://docs.speedscale.com/proxymock/guides/import-traffic/)

# Import Postman, HAR and WireMock Traffic

proxymock can turn traffic you already have into a recording you can replay and mock. The conversion runs on your machine and never contacts Speedscale cloud.

| Format | What it becomes |
| --- | --- |
| Postman collection (v2.x, JSON) | Every request becomes a test to replay. A request with a saved example response also becomes a mock. Collection variables that have a value in the file are filled in. |
| HAR file | Requests become tests and the calls they made become mocks. With **Mocks only**, every entry becomes a mock, which suits a browser's DevTools HAR behind Playwright journeys. |
| WireMock project | Every stub mapping becomes a mock. WireMock mappings carry no host, so you choose the host and port the mocks answer for. |

<a id="from-the-command-line"></a>

## From the command line

```shell
proxymock import postman ./orders.postman_collection.json --service-name orders
proxymock import har ./checkout.har --mocks-only
proxymock import wiremock ./wiremock-project --target-host payments --target-port 8080
```

Each command writes Markdown RRPair files to `proxymock/imported-<file name>`. Pass `--out` to choose another directory. `--service-name` sets the service recorded on every RRPair, and defaults to `localhost`. A WireMock project can be a directory or a zip of one.

<a id="in-proxymock-web"></a>

## In proxymock web

1.  Click **Get traffic**.
2.  Under **Source**, choose **Postman collection file**, **HAR file** or **WireMock mappings (.zip)**.
3.  Choose the file, and optionally a recording name and a service.
4.  For a HAR file, tick **Mocks only** to keep every call as a mock. For WireMock, set the host and port the mocks answer for.
5.  Click **Import**.

proxymock web runs the same converters as `proxymock import` and opens the new recording on the **Requests** page. It is saved as `proxymock/imported-<name>`, named from the file unless you give a name; a name already used gets a timestamp, so an import never writes into an earlier recording. A WireMock project is uploaded as a zip of the project directory, with its `mappings/` and `__files/` folders.

A file uploaded in proxymock web can be up to 64 MB.
