Keploy as a Quarkus testing framework
Keploy tests Quarkus applications by recording real requests through the running application and every JDBC or REST client call they trigger, then replaying both as assertions. There is no @QuarkusTest to boot per test class and no @InjectMock to declare.
keploy record -c "java -jar target/quarkus-app/quarkus-run.jar"What Keploy gives a Quarkus team
JVM and native mode alike
Keploy runs the runner JAR or the native binary. RESTEasy Reactive, Panache, and reactive routes all record the same way because capture is at the socket rather than inside the Arc container.
- Quarkus 3.x, JVM or native
- RESTEasy Reactive and Classic
- Panache and plain Hibernate
- Reactive and blocking endpoints
Why Quarkus integration tests slow teams down
The friction is rarely the assertions. It is everything around them — spinning up dependencies, keeping mocks honest, and repairing tests after every refactor.
Testing Quarkus: by hand, with JUnit 5 + Mockito, or with Keploy
@QuarkusTest boots per profile and @InjectMock removes the call it was named for. Keploy records the real application once — JVM or native — and replays what it served.
Select any row for the full comparison, with code.
What you write for Quarkus vs what Keploy records
All three produce the same assertion. Only the third still passes after the next refactor without anyone editing it.
Fast, because Arc is never involved — which also means interceptors, validation, and the JAX-RS layer are all absent from what this proves.
Drives the real JAX-RS layer — and the payment client is mocked, so the one integration this test is named for never happens.
The recorded case travelled the real JAX-RS layer and made the real REST client call, so both the SQL and the upstream contract are under test.
Times are estimates for authoring one endpoint’s coverage from scratch, not measurements.
Quarkus testing tools, compared
The options a team on the JVM actually reaches for, and where each one genuinely wins. Select a row for the full comparison.
Assessments reflect each tool’s documented behaviour, not benchmark measurements.
Record your Quarkus app once, replay it forever
Keploy sits below your Quarkus process at the network layer. It watches the calls your app already makes, then serves them back on replay so tests run with no dependencies attached.
Keploy records a GET call to /api/v1/orders/{id} on a Quarkus service and captures the dependency calls it makes.
What Keploy mocks for Quarkus, with zero config
7 of the 7 dependencies a typical Quarkus service talks to are stubbed from the recording itself — no mock classes, no fixture files, no containers in CI.
- Auto-mocked
PostgreSQLView page
Postgres frontend/backend protocol
- Auto-mocked
MySQLView page
MySQL wire protocol
- Auto-mocked
MongoDBView page
MongoDB wire protocol
- Auto-mocked
RedisView page
RESP over TCP
- Auto-mocked
Apache KafkaView page
Kafka producer and consumer protocol
- Auto-mocked
gRPCView page
HTTP/2 framed gRPC calls
- Outbound HTTPAuto-mocked
Outbound HTTP
Any HTTP client call the service makes
Your first Quarkus test suite in under five minutes
Every command below runs against your existing Quarkus service. Nothing in your source tree changes.
1Install the Keploy CLI
A single binary. It needs a Linux kernel with eBPF support, or Docker on macOS and Windows — and it adds nothing to your project's dependencies.
curl -sSL https://keploy.io/install.sh | bash2Record your service
Pass the command you already use to start the app. Keploy runs it and watches every socket it opens.
keploy record -c "java -jar target/quarkus-app/quarkus-run.jar"3Exercise the paths you care about
Drive the running server. Every request becomes a test case with its database and HTTP calls captured alongside.
./mvnw package -DskipTestscurl -X POST localhost:8080/orders/ord_1/confirm -H 'Content-Type: application/json' -d '{"paymentToken":"tok_123"}'4Replay in CI
Replay serves the recorded dependency responses, so the job needs no service containers and no Docker daemon.
keploy test -c "java -jar target/quarkus-app/quarkus-run.jar" --delay 14
Ready to try it on your own Quarkus service?
Works with the rest of your Quarkus stack
Keploy records at the network layer, so framework and driver choices inside your Quarkus app do not change how it captures traffic.
Java
The JVM page covers driver-level coverage in depth.
Kotlin
The other major JVM language page.
Spring Boot
The framework page covers context-free testing.
PostgreSQL
JDBC traffic records at the protocol layer.
Apache Kafka
Producer and consumer traffic records at the protocol layer.
Redis
Lettuce and Jedis exchanges record in order.
Testing the rest of your stack
- Languages
Keploy as a Java testing framework
Generate JUnit-grade integration tests for any JVM service by recording the traffic it already serves.
Read the guide - Languages
Keploy as a Kotlin testing framework
Record a running Kotlin service once and get coroutine-safe integration coverage without MockK relaxed mocks or Testcontainers.
Read the guide - Frameworks
Keploy as a Spring Boot testing framework
Skip @SpringBootTest context loads and @MockBean wiring — record the running application and replay every layer from real traffic.
Read the guide - Databases
Keploy as a PostgreSQL testing framework
Record the Postgres frontend/backend protocol once and replay real result sets in tests — no container, no pg-mem, no schema to rebuild.
Read the guide - Message Queues
Keploy as a Apache Kafka testing framework
Test producers and consumers against recorded broker exchanges — no embedded Kafka, no Testcontainers cluster, no flaky poll loops.
Read the guide - Cloud & Infra
Keploy as a gRPC testing framework
Record real gRPC exchanges over HTTP/2 and replay them as tests — no in-process stub server, no hand-written mock service implementation.
Read the guide
Join our GlobalCommunity
Connect with developers worldwide. Follow updates, ask questions, share feedback, and ship faster with other Keploy builders.
“Best report of integration and API tests I've seen — which we don't get from RestAssured.”
G2“Future of microservices testing. I don't write tests now!”
G2 · 5/5“An amazing product that simplifies the automation.”
Gartner · 4.0