[GH-ISSUE #559] Scripting for Websocket #554

Open
opened 2026-03-03 19:51:18 +03:00 by kerem · 0 comments
Owner

Originally created by @NghiaTranUIT on GitHub (Nov 24, 2025).
Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/559

Originally assigned to: @NghiaTranUIT, @kics223w1 on GitHub.

Description

https://github.com/ProxymanApp/Proxyman/issues/2530

Acceptance Criteria

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
Originally created by @NghiaTranUIT on GitHub (Nov 24, 2025). Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/559 Originally assigned to: @NghiaTranUIT, @kics223w1 on GitHub. ## Description https://github.com/ProxymanApp/Proxyman/issues/2530 ## Acceptance Criteria - [x] Scripting can modify the Request URL, Header, Query of the websocket requests - [x] Scripting can modify the Response Header and status code like this code: https://github.com/ProxymanApp/Proxyman/issues/2530#issuecomment-3566615249 ## Unit Tests - [x] 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 - [x] 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 - [x] Write a new echo websocket on localhost that the first websocket message will contain ``` - url - request's headers ``` - [x] 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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxyman-windows-linux#554
No description provided.