Web pages and APIs in one scenario
Test what your users really go through: pages, REST and SOAP APIs, GraphQL, gRPC, WebSocket and server-sent events, in one scenario.
What the animation shows
- The scenario starts with an HTTP step that logs in.
- A GraphQL step lists the products.
- A gRPC step reserves the stock.
- A WebSocket step follows the cart updates.
- A server-sent events step waits for the order status.
- A last HTTP step places the order.
- All six steps run in the same test.
Protocols
HTTP in depth
Parallel requests, cookies, binary responses, compression, and values extracted with JSONPath, XPath or SOAP envelopes.
GraphQL and gRPC
GraphQL queries and mutations, gRPC calls with reflection or your proto files, with TLS and mutual TLS.
WebSocket and events
Send and listen on WebSocket connections, binary messages and pings included, and read server-sent event streams.
How it works
Choose
Pick the protocol of each step: a request, a message or a call.
Extract
Take the values you need from responses and pass them to the next steps.
Check
Add checks on status, content and timing for every protocol.
Ask the assistant
Examples of requests, and what it does with them.
It adds the step from the guides' worked examples, such as gRPC over TLS or listening to a WebSocket.
Frequently asked questions
Is SOAP supported?
Yes, as XML over HTTP: build the envelope, send it and extract values with XPath.
Can I test services that require a client certificate?
Yes. Environments hold client certificates and gRPC calls support TLS and mutual TLS.
Related features
No-code editor
Shape the journey in a visual editor. Add steps, checks and test data with the mouse, and let Swarmetry point out problems with a fix you apply in one click.
Running tests
Choose a load model and the virtual users, let a short preflight check the scenario, and run the test from generators we manage, with thresholds that can stop it when something breaks.
Observability
Connect the observability tools you already use and read the traces and metrics of the tested system next to the results of your test.
See Swarmetry on your own application
We show you a test of your own application and answer your questions.