Skip to content

Add JSON-RPC 2.0 transport layer test coverage for WebSocket and HTTP#2172

Closed
smanes0213 wants to merge 2 commits into
masterfrom
development/JSONRPC_HTTP_Websocket_Test_Coverage
Closed

Add JSON-RPC 2.0 transport layer test coverage for WebSocket and HTTP#2172
smanes0213 wants to merge 2 commits into
masterfrom
development/JSONRPC_HTTP_Websocket_Test_Coverage

Conversation

@smanes0213

Copy link
Copy Markdown
Contributor

Introduce unit tests that validate JSON-RPC message round-trip over WebSocket (Unix domain socket) and HTTP POST (TCP) transports. Tests exercise StreamJSONType and WebLinkType stacks with JSONRPC::Handler dispatch, covering:

  • Basic method invocation (add, echo)
  • Error response propagation (unknown method -> -32601)
  • Large payload handling (4KB response, frame fragmentation)
  • Multiple sequential requests with Id correlation
  • Unknown method error path

smanes0213 added 2 commits May 8, 2026 13:05
Introduce unit tests that validate JSON-RPC message round-trip over
WebSocket (Unix domain socket) and HTTP POST (TCP) transports. Tests
exercise StreamJSONType and WebLinkType stacks with JSONRPC::Handler
dispatch, covering:

- Basic method invocation (add, echo)
- Error response propagation (unknown method -> -32601)
- Large payload handling (4KB response, frame fragmentation)
- Multiple sequential requests with Id correlation
- Unknown method error path

Signed-off-by: smanes0213 <sankalpmaneshwar46@outlook.com>
@smanes0213 smanes0213 closed this Jul 14, 2026
@smanes0213 smanes0213 deleted the development/JSONRPC_HTTP_Websocket_Test_Coverage branch July 14, 2026 06:41
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant