karate icon indicating copy to clipboard operation
karate copied to clipboard

WebSocket connection ignores proxy configuration

Open rpiterman opened this issue 4 years ago • 1 comments

Currently, WebSocket clients always performs direct connection to url ignoring the karate proxy configuration.

Expected:

  • WebSocket either respects the general proxy configuration or has support for own proxy settings.

rpiterman avatar Dec 20 '21 09:12 rpiterman

tagging as help wanted - should be easy, please contribute a PR or at least identify which part of the code to fix

ptrthomas avatar Dec 20 '21 09:12 ptrthomas

Hi @ptrthomas, is this issue still open?

AravindSelvamani avatar Feb 14 '23 16:02 AravindSelvamani

@AravindSelvamani yes

ptrthomas avatar Feb 14 '23 16:02 ptrthomas

@rpiterman can u share the config and feature file data? Like in which place its failing.

AravindSelvamani avatar Feb 15 '23 12:02 AravindSelvamani

@ptrthomas Can you please help here?
Please share the proxy config and WebSocket client in which we are facing this issue.

AravindSelvamani avatar Feb 16 '23 10:02 AravindSelvamani

@AravindSelvamani are you trying to contribute code - or looking for help using karate ? if it is the former, the best I can do is point you to the client code, here it is: https://github.com/karatelabs/karate/blob/develop/karate-core/src/main/java/com/intuit/karate/http/WebSocketClient.java

ptrthomas avatar Feb 16 '23 10:02 ptrthomas

closing this as dedicated websocket support will be re-developed similar to the kafka support

ptrthomas avatar Feb 07 '24 04:02 ptrthomas