I have recorded a script, in one request there is a token.
When I validate the script there is an extra inverted comma coming in that token which was not there in Recorded Request and Request Headers of that token.
How can I remove that, have tried edit it from recorded 'Request Headers' but its not working.
I have attached the screenshots.
Please let me know as because of this script is not working.
Ok i think that the issue is due to the comma inside your cookie value.
Please try the procedure below:
Usually NeoLoad adds double quote like this when the value of your cookie contains a comma, semi-colon or a blank space. Could you check your value if it contains one of these caracters?
If needed could you copy/paste here your whole value?
Cookie: tokenData="{"access_token":"eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiVGVzdEFSQzAwMDEiLCJVc2VySWQiOiIyNjIiLCJQYXJ0bmVySWQiOiJUZXN0QVJDMDAwMSIsIlBhcmVudFVzZXJJZCI6IjAiLCJGaXJzdE5hbWUiOiJTdXBwb3J0IiwiUm9sZXMiOiJQYXJ0bmVyIiwiTmV0d29ya0lkIjoiMyIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IlBhcnRuZXIiLCJuYmYiOjE1ODUyMDg0MDYsImV4cCI6MTU4NTI0NDQwNiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgyL2F1dGhvcml6ZSIsImF1ZCI6IkFOWSJ9.Q5had9fMgcZ-YQoVmR54xRQ25taFpb6I4DFiiIAbTsU","token_type":"bearer","expires_in":35999,"refresh_token":null}"
" is not required after equal to sign and at the end. Because of this, script is failing.