Unanswered question

Cookie has extra quotes around it WebSocket channel at runtime

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.

Doug T.
Doug T.

Doug T.

Level
0
13 / 100
points

Answers

Neil W.
Neil W.

Neil W.

Level
3
2057 / 5000
points
Team

Can you provide the cookie value? it may have other characters that need to be added to the list

Doug T.
Doug T.

Doug T.

Level
0
13 / 100
points

"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwOi8va2FjZDAyLXByZjAxLWF0aDExLW9hbS5pbnQuYWNkLm15a3Jvbm9zLmNvbTo4MCIsImlhdCI6MTUzMTkyNDk1MywiZXhwIjoxNTMxOTMyMTUzLCJzdWIiOiJNaWNoYWVsTWFydGluMDEiLCJub25jZSI6IjxEbi0wUzZfV3pBMk1qIiwicmVhbG0iOiIvbWZnc2NhbDJyMl9ub25wcmRfMDEifQ.ALZUL5w1ZpJ4FRBNUYMd-XZuK-yNQ7nMIsWdKNKXt7goH5ngoz7glzVJBKWDEJSp2vF6ORK06okhR26FBMgSQ_8jZH2TG5aEn0QFRYp1UZJkLVwdsG0Gi94b9vtwqVt8afMXTcndvpJtOryuW99CTsDmX8ul5wrK9j-sarfqO8Y21LXYvtL0kl8TyUv3Wf8CrCWSse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