Skip to main content
Enterprise Test Automation

QUANTAF

High-Frequency Assurance Engine for Financial Systems

Validate trading platforms, settlement engines, and reconciliation systems across FIX, MQ, REST, and ISO 20022 protocols — powered by AI.

Multi-Protocol Coverage

Test across every financial communication channel in a single framework

FIX

FIX Protocol (4.2, 4.4, 5.0)

WireMock-like stubbing via FixStubRegistry with predicate matching, sequential responses, configurable delays, and call counting through QuickFIX/J.

MQ

Message Queues

ActiveMQ Artemis via Jakarta JMS with pluggable MessageBroker interface. IBM MQ skeleton ready for extension. Pub/sub with filtered listening.

REST

REST + OAuth2

RestAssured wrapper with automatic OAuth2 token lifecycle — acquisition, caching, and refresh 60 seconds before expiry. Typed API clients included.

ISO

ISO 20022 (SWIFT)

AI-powered XML generation for pacs.008, camt.053, and sese.023 messages via SmartStub with deterministic template fallback for CI.

4-Layer Concentric Architecture

Clean separation of concerns with extensibility at every level

Layer 4 — Test Definition
TestNG · Cucumber BDD · Allure Reporting · QuantafBaseTest
Layer 3 — AI Cortex
FixScenarioAgent · SmartStub · LlmProvider (OpenAI / Ollama)
Layer 2 — Logic Core
MarketMaker · TradeLedger · BusinessCalendar · Domain Models
Layer 1 — Protocol Adapters
FIX (QuickFIX/J) · MQ (Jakarta JMS) · REST (RestAssured) · OAuth2

Built for Financial Systems

Enterprise capabilities for mission-critical test automation

🤖

AI-Powered Testing

NLP-to-FIX translation via FixScenarioAgent converts natural language like "Buy 500 AAPL at 150 Limit" into structured OrderConfiguration objects. Pluggable LLM providers (OpenAI, Ollama) with template fallback.

🔄

Cross-Source Reconciliation

Three-way field-by-field comparison of trade records from FIX, MQ, and API sources with configurable tolerance. TradeLedgerAssert provides a fluent assertion DSL.

📊

Statistical Data Generation

MarketMaker generates realistic prices (Gaussian), volumes (Poisson), correlated series (Cholesky), settlement dates (T+N with NYSE/LSE/TSE calendars), and unique identifiers.

📈

Rich Allure Reports

AllureFixAttachment formats FIX messages for human readability. ReconciliationReportStep creates detailed tabular comparison steps with pass/fail status.

🧪

Dual-Mode Testing

TestNG via QuantafBaseTest for direct Java testing, or Cucumber BDD with Gherkin feature files and OrderStepDefs. Both modes generate Allure-compatible results.

🚀

CI/CD Ready

GitHub Actions workflows for build/test and docs deployment. Docker Compose for local ActiveMQ Artemis. Testcontainers for ephemeral CI infrastructure.

Technology Stack

Modern, battle-tested libraries for enterprise reliability

Java 21LTS
Gradle 9.3.1Kotlin DSL
QuickFIX/J 2.3.1FIX Protocol
LangChain4j 0.35.0AI/LLM
TestNG 7.10.2Test Runner
Cucumber 7.18.0BDD
Allure 2.27.0Reporting
RestAssured 5.4.0REST API

Quick Start

Up and running in under a minute

# Clone the repository
git clone https://github.com/vinipx/QUANTAF.git
cd QUANTAF

# Build the project
./gradlew build

# Run all tests (unit + scenario + BDD)
./gradlew test

# Generate Allure reports
./gradlew allureReport

# Serve documentation locally
./docs.sh