Skip to content

What the Platform does

The iso8583sim Platform is continuous payment testing for teams that build and run card payment systems: issuers, acquirers, processors and switch teams. It simulates the systems around yours (issuers, networks, an HSM), runs test scenarios against your system from CI, puts it under load and failure, and records every message, all in your own environment.

It runs as containers on your infrastructure. Test traffic, results, keys and certificates stay there.

  • Issuer testers point their authorization host at the Platform as an acquirer would, or simulate the issuer behind their switch with balances, PINs and card checks.
  • Acquirer and switch teams route their traffic to simulated issuers and networks that answer as configured, misbehave on purpose, and check what the switch did.
  • CI engineers run scenario files from a pipeline and get a JUnit report, with no one at a console.

A simulated host listens on a TCP port and answers ISO 8583 messages as an issuer, a network or another switch would.

  • Rules choose each answer by MTI, card range, amount, any field or sub-element, at a probability: a response code and fields, a delay, no answer, a closed connection, a duplicate or an unreadable message.
  • Stateful issuers keep accounts and cards: balances, holds, partial approvals, completions and reversals, PIN tries that lock, and CVV, iCVV and CVV2 checks through the HSM simulator.
  • Links that behave like production: sign-on and sign-off, echoes, cutovers, key exchange, advices and their repeats, duplicate and repeat handling, and MACs.
  • TLS and mutual TLS per host, including the failures you want a client tested against: expired, untrusted, misnamed and revoked certificates.
  • Message formats: ISO 8583 1987, 1993 and 2003, each edition’s data elements as ISO’s public annexes give them (ISO’s three-digit 1993 action codes aren’t published for free, so a 1993 or 2003 host takes its codes from a pack with that edition’s codes or from your rules, and otherwise approves with 000 and declines with 100, the editions’ generic codes); ASCII, binary, BCD and EBCDIC; the common length headers and TPDUs, and JR/T 0055’s 46-byte message header for UnionPay, and IFSF’s POS to FEP interface (a profile pack, with its own front end processor)’s domestic interchange; and your network’s own layout as a dialect, with its sub-elements.
  • Performance: a host with rules answers 5,000 requests a second per instance and adds about a millisecond at p99. Several instances can run each host behind a load balancer.

A scenario is a YAML file in your repository: steps that send messages, expect answers (fields, response codes, latency, MACs), save values for later steps, and run HSM commands. Run it from the console, through the API with a token, or from CI with the command-line client, which writes a JUnit report and fails the build when a step fails. An MCP server lets AI agents run them too, with the same tokens and roles.

A load run sends a mix of messages at the rates and stages you set (steady, ramps, spikes, steps), shared among several load generators, and passes or fails on latency, errors and the rate achieved. It can also search for the highest rate your system sustains. Each run is compared with the one before it. Measured: 10,000 a second across five load generators, with p99 under 2 ms.

It answers payShield-compatible host commands over TCP, so your switch talks to it as to a real HSM: keys (A0, A6, A8, BU), PIN translation and verification by IBM offset and Visa PVV (CA, CC, DA, EA, DC, EC), DUKPT PIN translation (G0), CVVs (CW, CY), MACs (M6, M8) and diagnostics. Simulated hosts and scenarios use it too.

It implements the variant LMK and starts with the published Thales test LMK, so keys your systems already hold under it work as they are. Its key handling matches a real payShield 9000’s output for a published example, byte for byte. Keys are added on its key page from components or TR-31 key blocks, or generated; failure modes make it slow, answer with chosen errors, or go silent. The HSM commands reference lists every command and error code.

  • The message workbench inspects, builds, compares and converts messages, with crypto calculators for PIN blocks, MACs, card values and keys.
  • The message log records every exchange simulated hosts handle, masked.
  • A key vault holds a test CA and the certificates and keys hosts present, every use audited.
  • Reference systems run with every install: an acquirer gateway and a switch that routes to the simulated hosts, to try it all end to end before pointing it at your own system.
  • An assistant explains messages and failures in plain English, with the model provider you choose. It’s off until an admin allows it, sees masked data only, is switched per workspace, and every request is in an audit with what was sent.
  • Protocols beyond ISO 8583: ATM (NDC, DDC), POS terminal protocols other than IFSF’s, ISO 20022 for cards, clearing files.
  • In the HSM simulator: DUKPT PIN translation between two BDKs (to a ZPK works), the payShield EMV commands (chip cryptograms are made and verified through the Platform’s own HSM operations instead), key block LMKs, variant schemes for keys under a ZMK, and an LMK check value identical to a payShield’s (NC answers with one of its own).
  • Single sign-on and provisioning, workspaces, and named environments. People sign in with a link sent to their email address.
  • Record and replay of production traffic.
  • A hosted service: the Platform runs on your infrastructure only.