Replay the mainframe at any scale¶
Replay repetitive mainframe tasks, check regression workflows in CI, and measure your host under load. Start with a local sample lab — no mainframe needed. Export recordings from 3270Web or write a JSON workflow, then replay it with 3270Connect.
Try the sample lab Install for my host
Free and open source. Runs locally. Docker is required for the sample lab. Watch the demo.
$ 3270Connect -config workflow.json \ -concurrent 25 -runtime 60 -headless › connect mvs.example.com:992 [ok] › workers 25 spawned [live] › steps FillString · PressEnter [ok] › metrics :9090/metrics scraped [up] ›
See it work¶
Shorter walk-throughs of one thing at a time:
| Video | Where |
|---|---|
| Your first workflow — describe a session in JSON and replay it | Basic Usage |
Run it at scale — -concurrent and -runtime |
Basic Usage |
| Call it over HTTP — one POST returns the screen | Advanced Features |
| The operations console, end to end | Web Dashboard |
Sign-in and administration with AUTH_MODE=local |
Accounts and Sign-In |
| Profile a host before you trust a workflow against it | Host Compatibility Profiler |
| Drive it from an AI client over MCP | MCP Server |
What it does¶
-
Workflows as JSON
Describe a session once — connect, fill, press, assert, grab the screen, disconnect — and run it anywhere. No scripting language to learn, no emulator to install.
-
Concurrency & load testing
Run the same workflow across hundreds of parallel workers for a fixed duration, with per-workflow timeouts, grace periods and a controlled shutdown.
-
Live operations console
Watch runs as they happen: latency percentiles, outcomes, per-process controls and streaming logs — served straight from the binary, no external services.
-
Accounts when you need them
One operator needs no sign-in and gets none. Share the port and
AUTH_MODE=localadds accounts, groups, per-account API tokens, single sign-on and an audit trail of who aimed what at which host. -
Prometheus metrics
Scrape
tn3270_connect_seconds,tn3270_step_seconds, workflow outcomes and live worker counts from-promListenand put mainframe runs on the same board as everything else. -
AI Chat mode
Drive a live session from 3270Web by typing plain English. The model reads the screen, proposes field fills and key presses, and waits for your approval before acting.
-
Host compatibility profiler
Probe a host once with
-profileand write aCompatibilityProfileJSON document that diffs cleanly against 3270Web output across environments.
The operations console¶

The web dashboard — live workflow metrics, latency percentiles, per-process controls and log streaming, served straight from the binary.
Start with one successful replay¶
- Try the Docker lab with its bundled host and workflow, or install the binary.
- Open the console and choose Try a sample replay, or follow the first CLI replay.
- Check the completed result and screen captures before creating a load test for your own host.