Run Speedscale components via Docker Compose.
Create Docker Compose manifests by running
speedctl install, and following
Docker flow that allows you to capture traffic. This will create working
manifests with sane defaults. The created manifest file will be listed after
the command completes.
Bring up the containers using
docker compose --file <speedscale-manifest-file> up -d
which will start the containers described in the compose file. These
containers will aid in capturing traffic and sending it to the Speedscale
You can now run requests against your service through
of the normal port as our goproxy is acting as the entry point for the app now.
You should be able to see traffic in the Speedscale UI after a few minutes and now you can using this traffic to create a snapshot.
Replaying traffic starts by creating manifests similar to the capture step
speedctl install and choose the
Docker flow that allows you to
replay recorded traffic. When prompted, enter the ID of the snapshot you
speedctl install command is just a helper and environment variables like
TEST_CONFIG_ID can be modified in the manifest file without
regenerating it every time.