Skip to main content

Import from Postman

In this guide we will walk through importing an existing Postman collection and replaying it in a Kubernetes cluster. This guide is most helpful when you are unable to install the Speedscale sidecar for some reason, such as the service being brand new with no traffic.

Export Postman collection

Open your Postman collection and export it to a file on your local desktop. Note that only collections v2.1 are supported.

Postman Export

Import to Speedscale

Navigate to the services in the speedscale UI.

Filtering

Utilize the filters to drill down even further into a subset of transactions or to filter out unwanted traffic like heartbeats.

Filters

info

Did you know that you can filter traffic so that it is never sent to Speedscale cloud? This can help you prevent noise, lower your bill and keep private data safe. Check out the filters section for suggestions.

Request Response Details

Clicking on any individual row reveals a Request / Response Pair. This could be for an inbound transaction to the service, or even a call from the service to a downstream system, even if it uses TLS. The following information is shown in the view:

  • Info section includes high level details like response code, duration, URL, etc.
  • Request section includes the Headers and Body that were sent
  • Response section includes the Headers and Body that were received

Request Response Pair

Now that you have identified the subset of traffic that you would like to replay, it's time to create a snapshot.

View Snapshot

A traffic snapshot is created from the selected traffic when running a replay so the same set of traffic can be reviewed and replayed again.

Snapshot

In addition to these details, a Service Map visually represents the inbound and outbound traffic, and how the replay will be orchestrated.

Service Map

Transform Traffic

Speedscale provides a sophisticated data transformation system to ensure that traffic replays successfully.

info

Before using any custom configuration, attempt a traffic replay with defaults. The default standard configuration works in many cases so most users should skip ahead to the next step.

However, if after performing a test run your application has a very low success rate, or displays other unusual behavior, reach out on the Speedscale Slack community or via email. We will be happy to walk through your specific use case. The Speedscale team is working on a configuration UI but for now we're happier to do the work for you than to have you stumble through this complex topic. If you're feeling adventurous, you can jump over to transforms to learn more.