testcafe icon indicating copy to clipboard operation
testcafe copied to clipboard

websocket

Open Sue1024 opened this issue 8 years ago • 2 comments

Are you requesting a feature or reporting a bug?

Maybe a bug

What is the current behavior?

The websocket url generated by testcafe is: ws://localhost:1337/NKNUQbR8z!w!https%3A%2F%2Fuat.citivelocity.com/https://uatratesstreaming2.citivelocity.com:10444/RTTP-TYPE8 Always 404 image

We use Liberator to get real time message

What is the expected behavior?

The original url is: wss://uatratesstreaming1.citivelocity.com:10444/RTTP-TYPE8 This works fine when visiting our website without testcafe(manullaly)

image

How would you reproduce the current behavior (if this is a bug)?

Every time to connect to the websocket url with TestCafe

Provide the test code and the tested page URL (if applicable)

only accessible internally Tested page URL:

Test code


Specify your

  • operating system: win7
  • testcafe version: 0.21.1
  • node.js version: 8.11.2

Sue1024 avatar Aug 30 '18 01:08 Sue1024

Hi @Sue1024, Can it relate to the fact that the proxy subdomain is uatratesstreaming2 but on the original page the subdomain is uatratesstreaming1?

LavrovArtem avatar Aug 30 '18 08:08 LavrovArtem

I will close the issue because no activity has been encountered for a long time. Feel free to reopen the issue if the problem persists and you can provide an example to reproduce it.

miherlosev avatar Sep 17 '18 12:09 miherlosev