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.
- Open the L3git API editor.
- Click the Protocols... button.
- 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).
- Click OK. The step is added to your test.
- 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 APIAll guides: /guides · Deeper write-ups: Resources · Still stuck? Email corwinhill@l3git.com — a real person replies.