Protocols overview
Quick reference for HTTP, SOAP, WebSocket, GraphQL, gRPC, SSE, and AI Chat in Testnizer.
Testnizer treats every protocol as a first-class request type, not a plugin or add-on. Each one has a dedicated editor, dedicated response panel, and dedicated engine in the Node main process.
At a glance
| Protocol | Editor | Engine | Notes |
|---|---|---|---|
| HTTP / REST | full | axios | Methods, body modes, mTLS, scripts, assertions |
| SOAP | full | soap library + wsse | WSDL import, manual envelope, WS-Security |
| WebSocket | full | ws | wss + custom headers + JSON composer |
| GraphQL | full | graphql + graphql-ws | Query + mutation + subscription |
| gRPC | full | @grpc/grpc-js + @grpc/proto-loader | All four streaming modes |
| SSE | full | eventsource | Long-lived streams, Last-Event-ID resume |
| AI Chat | full | provider-specific HTTP | 14 providers + custom URL, streaming |
HTTP
The default. Pick a method, set the URL, optionally add headers / body / auth. Hit Send.
Body modes:
- none — no body
- raw — text with content-type chooser (JSON, XML, plain, custom)
- form-data —
multipart/form-data, supports text and file fields - x-www-form-urlencoded — URL-encoded key/value pairs
- binary — file upload as the entire body, content-type from extension
Auth modes: Basic, Bearer, API Key (header / query / cookie), Digest, NTLM, Hawk, AWS Signature v4, OAuth 1.0, OAuth 2.0 (full flow), Inherit auth from parent collection.
SOAP
Two starting points:
- From WSDL — paste a URL or pick a file. Testnizer parses services, ports, and operations, then generates an example envelope per operation
- Manual — write the envelope by hand. Useful for debugging or for services without a WSDL
WS-Security is built in (UsernameToken, Timestamp, XML Signature, XML Encryption). WS-Security guide →
WebSocket
Connect to ws:// or wss:// with custom headers. Messages appear in a
timeline (sent + received with timestamps). Compose messages as JSON or text.
GraphQL
Query, mutation, and subscription support. Testnizer detects whether your
endpoint speaks HTTP-only or supports graphql-ws (subscription transport)
and routes accordingly.
Schema introspection runs on demand and populates a searchable type browser on the right of the request editor.
gRPC
Pick a .proto file. Testnizer enumerates services and methods, generates
JSON skeletons for request messages, and lets you fill them in.
Streaming modes:
- Unary — single request, single response
- Server-streaming — single request, response stream
- Client-streaming — request stream, single response
- Bidirectional — both streaming
Metadata (request and response) is editable. TLS / mTLS uses your project’s certificate store.
Server-Sent Events
Hit Send on an SSE endpoint and Testnizer holds the connection open, parsing events as they arrive. The Last-Event-ID header is set automatically on reconnect, so the server can resume from where it left off.
AI Chat
Pick a provider (OpenAI, Anthropic, Google, xAI, DeepSeek, Mistral, Groq, Perplexity, Cerebras, Cohere, Fireworks, DeepInfra, Together, OpenRouter) or choose Custom URL for self-hosted vLLM / LM Studio / Ollama / TGI.
Conversations are multi-turn with a system prompt. Responses stream by default.
Variables ({{apiKey}}) resolve in URL, headers, and body — useful for
keeping API keys in a project environment rather than the request itself.