Skip to main content
L3gitUI · API · MOBILE TEST AUTOMATION
[ PRODUCT ][ PRICING ][ DOCS ][ VERIFIED ][ REGULATED ][ COMPARE ][ ACCOUNT ] Start Free Trial

Home › How-to guides › How to test WebSocket, Kafka and gRPC endpoints in Java — without writing the client code

/// API · streaming

How to test WebSocket, Kafka and gRPC endpoints in Java — without writing the client code

L3git isn't just for websites and REST APIs — it can test real-time and streaming systems too.

About 10 minutes · step by step, no experience needed

  1. Open the L3git API editor.
  2. Click the Protocols... button.
  3. Pick the type — WebSocket, Kafka, or gRPC — and fill in the boxes it shows (for example, a gRPC call needs the server address, the method, and a short JSON request).
  4. Click OK. The step is added to your test.
  5. Click Generate to build the project, then run it with mvn test.
These steps run at mvn test (or in your CI) against your real server or broker — not in the app's live preview, where they show as "generated test only". That's expected.

Done! L3git now tests your WebSocket, Kafka, or gRPC endpoints alongside your UI and REST tests — proven live here.

L3git API — Browser-free API, load and security testing that generates REST Assured code you own — WebSocket, Kafka and gRPC included.

Start the 14-day free trial   About L3git API

All guides: /guides · Deeper write-ups: Resources · Still stuck? Email corwinhill@l3git.com — a real person replies.