-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Acceptance Criteria
- Scripting can modify the Request URL, Header, Query of the websocket requests
- Scripting can modify the Response Header and status code like this code: Scripting with Websocket Proxyman#2530 (comment)
Unit Tests
- Write a Script to map Localhost websocket to Production: ws://localhost:3000 to https://wss.httpbin-proxyman.xyz -> Send some websocket message -> Verify that it's from the production, not from a localhsot server
- Write a script to map Production websocket to https://wss.httpbin-proxyman.xyz to ws://localhost:3000 (Make sure we have a echo websocket on localhost for testing) -> Send some websocket message -> Verify that it's from the localhost, not from the production server
- Write a new echo websocket on localhost that the first websocket message will contain
- url
- request's headers
- Write a Script to modify some Headers and Query of the Websocket -> Verify the first websocket message -> It's the same URL, Query and header that we modify
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request