Emulate hundreds of modems dialing your gateway
Load-test the WizIIOT universal-service gateway with software or real-meter passthrough in a single lightweight process.
What it is
ANSI Modem Simulator - Single Port is a standalone test client for validating and stressing the WizIIOT universal-service gateway. It runs a configurable fleet of simulated modems (each on its own lightweight worker), connects them to the gateway's listening port, and replays meter protocol traffic in real time. Two modes let you choose: run canned ANSI and Modbus implementations entirely in software for repeatable testing, or pipe gateway commands directly to real meters over serial COM ports or TCP networks. A single process scales to hundreds of simultaneous connections, making it ideal for capacity planning and field-readiness validation.
Key benefits
Test without modems
Canned ANSI C12.18 and Modbus RTU responders synthesize meter replies in software, eliminating the need for physical hardware during development and CI/CD.
Validate with real meters
Passthrough mode transparently bridges gateway commands to actual meters on COM ports or Modbus slaves (e.g., third-party meter simulators), confirming protocol correctness end-to-end without code changes.
Stress-test at scale
Launch hundreds of modems from a single process using Java lightweight concurrency. Measure gateway throughput, latency, and stability under realistic load.
Field-ready confidence
Replay captured meter sessions or synthesize Modbus traffic to mimic diverse field deployments before going live.
Capabilities
- Emulate multiple modems on separate lightweight concurrency, each dialing the gateway port independently
- Support ANSI C12.18 (captured session replay) and Modbus RTU (generic canned responses with correct CRC-16)
- Passthrough real meter traffic over serial COM ports (jSerialComm) or TCP networks
- Configurable reconnect delays to simulate field modem reconnection behavior
- Graceful startup/shutdown with Java lightweight worker executor for low memory overhead
- Automatic JDK 21 provisioning via Gradle toolchain plugin; no external JVM setup required
