Skip to content
←  Home 日本語

Traffic Log

How to read the log

The Traffic Log lets you inspect your app's HTTP/HTTPS traffic in real time.

The traffic log screen, showing a list of HTTP requests with their method, URL, status code, and type
ColumnDescription
MethodHTTP method (GET, POST, PUT, DELETE, etc.)
URLRequest URL
StatusResponse status code (200, 404, 500, etc.)
TypeRequests that a mock was applied to are labeledMock
TimeRequest timestamp

Tip: Requests that match a mock rule are labeled Mock. Regular requests have no special label.

Request / response details

Click a log entry to open the detail panel.

The traffic log detail panel, showing the headers and body of the request and response

Request

  • URL (including query parameters)
  • Headers
  • Body (for POST/PUT)

Response

  • Status code
  • Headers
  • Body (JSON/text/HTML)

Filtering

Search filter

Type a string in the search box to show only requests whose URL contains it.

api/users

Ignored domains

You can ignore requests from specific domains. Configure this from Data Management Settings in the sidebar.

# Example ignored domains
analytics.google.com
crashlytics.google.com
firebaseinstallations.googleapis.com

You can also add a domain by right-clicking an entry in the traffic log and selecting "Add to ignored domains".

Clearing the log

Use the clear button at the top of the log list to delete all currently displayed logs.

Create a rule from a log

You can create a mock rule directly from captured traffic.

The Create Rule button in the detail panel; clicking it auto-generates a mock rule from the traffic log
1

In the Traffic Log, click the request you want to mock.

2

Click the Create Rule button in the detail panel.

3

The URL pattern, method, response headers, and response body are filled in automatically.

4

Edit the settings as needed, choose a destination folder, and save.

Tip: Editing the URL pattern to add a wildcard makes it match similar requests too.
Example: /api/users/123 /api/users/*

Export / import

Saving the traffic log (HAR export)

You can save the traffic log to a file in .har (HTTP Archive) format. HAR is a W3C standard format and can also be opened in tools such as Chrome DevTools and Proxyman.

  1. Click the export button at the top right of the traffic log panel
  2. Save it as a .har file

You can view a saved .har file by dragging and dropping it onto the Mimicry app or double-clicking it.

Exporting mock rules

From Data Management Settings in the sidebar, you can export mock rules in JSON format.

  • Sharing with team members
  • Saving as a backup
  • Migrating settings between different Macs

Importing settings

You can import a JSON file exported from Data Management Settings.

Note: If a project/folder with the same name already exists at import time, it is renamed automatically.