← Technical Guides

Build a counterparty UAT test from a specification or capture

Prepare a UAT scenario without files, review FIX Orchestra or SBE rules locally, and turn independent order-entry and feed captures into a pinned Team UAT revision.

Start without a file

Choose a published venue profile or a FIX edition, select Use selected protocol and click Prepare without capture. The matching scenario buys one lot at the configured offer and expects an acknowledgment and a fill. Generic FIX sessions can also request one level of bids with 35=V over an independent market-data connection. The 35=W assertion checks the book and echoes the client’s MDReqID(262). Published venue scenarios grade order entry. Supported native feeds keep their own protocol and connection. IEX customers, for example, connect separately to TOPS or DEEP. Other profiles have a labelled FIXScope reference book. Open the UAT Plan Designer

For OUCH, select the wire edition and the companion ITCH edition. For SBE over SOFH, the built-in synthetic schema supplies the request and response templates. The ready binary scenario expects an acknowledgment and execution on order entry, then verifies a matching execution quantity and a six-share displayed remainder on the separate ITCH session. Log on to the feed before sending the order. The mapped CME iLink application path requires a compatible XML or a reviewable wire table and uses a synthetic ITCH feed. CME MDP 3.0 has its own packet inspector. Binary client setup · CME MDP 3.0 guide

Review a FIX Orchestra repository

Choose FIX 4.4 and open the synthetic Orchestra repository. In the base scenario, look for the conditional requirement on RouteCode(9902) and the corresponding reject. Select the Orchestra new-order case. Send a managed order with DeskMode(9901)=M, OrderQty(38)=1 and no 9902. The order session returns 35=3 with RefTagID(371)=9902 and SessionRejectReason(373)=1. In Message Validator, load the same reviewed package to check the missing field. Add 9902=SIM-A to a correctly framed message to pass the field rule.

The review recognizes top-level scalar presence and fixed values, code and decimal comparisons, and selected order replies with literal values or request correlations. Choose one conditional branch for a no-capture example when the source has several reply conditions. Unresolved expressions, state machines, timers, group actions and other unsupported mappings appear in the review notes. Use the plan UI to review the resulting message predicates. FIX Orchestra v1.0 specification

Review source fields for a captured exchange

A capture can show that a venue accepted one order and rejected another. In the synthetic FIX 4.4 capture, both buys have a quantity of five. One limit is 99 and the order rests. The other limit is 120, above the configured upper bound of 110. The acceptance test checks the two different ExecutionReports using the synthetic client IDs in the request predicates.

Download the synthetic field table and FIX order capture. Choose FIX 4.4, specify venue TCP port 9878 and select both files. Read specification proposes one row on page 1. Verify that NewOrderSingle requires DeskTier (9901), a CHAR with permitted value A. Approved private fields become part of the live venue dictionary. A required standard request field can also narrow permitted values in the profile. Reviewed response rows add presence or code checks to the affected steps. When a captured value falls outside several permitted codes, choose the intended code before exporting the plan.

PDF extraction uses selectable text, row positions and column headings. Recognized FIX columns include MsgType, Tag, Field name, Type, Required and Values. A heading such as “NewOrderSingle (D)” can provide message context. Conditional requirements need an explicit decision. Correct an uncertain row, omit it, or add a field manually. Check the source for unsupported layouts and pages without recognized tables. Scanned images require manual transcription. A QuickFIX XML dictionary can carry component and repeating-group structure that a flat table cannot express. FIX 2.7 and 3.0a require compatible original XML.

Resolve the observed exchange

Select Analyze capture. The destination port determines the direction. Choose the client connection when the capture contains several flows. Packet 3 in the example is the first order and packet 4 is its acknowledgment. Packet 5 is the second order and packet 6 is its rejection. Expand the reports to inspect ExecType (150), OrdStatus (39) and LeavesQty (151). An expected reject is a passing outcome when the live venue actually returns it.

The designer links a reply automatically when a preceding request has the same unambiguous identifier in the selected session. FIX connections use ClOrdID or MDReqID and the CompID pair. Historical OUCH uses order tokens and user identifiers where present. Reused IDs, missing requests or incomplete frames can leave a reply unassigned. Review packet references and assign it to the appropriate request or select an explicit exclusion. Exclude requests with no observed reply. Each included step needs at least one reply. Check capture findings before approving a partial session.

Only scalar quantities and short protocol codes are proposed as value comparisons. Captured account names, symbols, private text, timestamps, order IDs and match IDs are omitted from inferred predicates. The matcher uses identifiers transiently to correlate messages. You can remove an assertion, edit an expected value or add a synthetic field assertion. A star checks field presence. The designer skips ambiguous repeated FIX scalars and stops inferring fields at a known repeating-group boundary.

Map a binary order channel

Select the exact OUCH edition or choose SBE over SOFH. For the synthetic SBE XML and PCAPNG example, use port 19876, a price scale of four and four shares on the opening offer. Review the proposed NewOrder, CancelOrder, Accepted, Executed, Canceled and Rejected bindings. The cancel reuses the first order’s identifier. Assign its Canceled reply to request two. The three expected steps then cover acceptance with a four-share fill, cancellation of six remaining shares and a price-band rejection.

The fixed-template SBE mapper accepts explicit wire codes and response constants. A supplementary PDF may declare Template / Event and Template / Field / Role tables. The synthetic SBE wire table can replace the example XML for this capture. Set schema ID 77, version 1 and little-endian byte order. For a flat PDF wire definition, provide Template, Template ID, Field, Field ID and Type columns. Confirm field order, offsets, array lengths, optionality and any padded block length. Enter the schema ID, version and byte order, then build the schema. This path uses the standard four-uint16 SBE header. Supply an authoritative XML for other layouts. The offline SBE workbench can inspect variable groups and data. The hosted order adapter accepts fixed templates.

A capture with only the order port grades private replies. To review a capture with both channels, enter the separate ITCH TCP port. The designer can associate a public execution when the private fill of the same order carries the same match ID. Review and assign or exclude unrelated and ambiguous feed updates. Each channel preserves its own ordering. Full feed startup and recovery require a separate test.

Publish and reproduce

Review the opening book, price band, seed and rejection probability. Approve the plan and download the package containing the configuration, approved expectations and any required dictionary or schema. The original Orchestra XML, PDF and packet capture remain local. In Message Validator choose Reviewed UAT package to use the FIX rules or inspect the mapped binary bytes. In Team UAT select Load reviewed plan, verify the protocol and publish an immutable revision with Pro. Run a fresh client against that revision and inspect its per-step report or JUnit result. The first mismatch fails the plan. Team UAT runner and CI setup

The designer reads up to 32 MiB of PCAP/PCAPNG and 64 pages or 8 MiB of PDF. A published plan supports 1–32 steps, up to 12 replies per step and 512 report comparisons. Encrypted application streams need a decrypted capture, and captures must include the order-entry port in both directions. The FIX designer recognizes new, cancel, replace, order-status and market-data requests supported by the simulator. Other application messages, session recovery and public-feed sequencing need separately authored scenarios.