Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

Cookie has extra quotes around it WebSocket channel at runtime

$
0
0

Hello,
I recorded a project that uses WebSockets. When I replay, it has an error on the WebSocket channel which returns 403 instead of 101.

I compared the runtime request with the recorded request and found that, for two cookie values which have a set of double quotes around it, NeoLoad is adding a second set of double quotes at runtime. For example, a previous response has:

set-cookie: AUTHN_TOKEN="hereisthetoken";

For the next regular HTTP requests, NeoLoad correctly sends:

Cookie: AUTHN_TOKEN="hereisthetoken";

But for the WebSocket channel, it sends:

Cookie: AUTHN_TOKEN=""hereisthetoken"";

For only the WebSocket channel, the cookie value is being changed to add a second set of double quotes. I don't know for sure this is the cause of the 403 error, but it's what I'm working on first to try to fix this.

I tried following the suggestion at http://answers.neotys.com/questions/848756-remove-quotes-around-variables and edited controller.properties, but it didn't help.

The real cookie value does not have a comma, semi-colon or blank space.

What is causing this, and how can I fix it?

Thank you.


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>