Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cookie not in this host's domain. Cookie #2571

Open
rajivnw opened this issue Mar 13, 2024 · 0 comments
Open

Error: Cookie not in this host's domain. Cookie #2571

rajivnw opened this issue Mar 13, 2024 · 0 comments

Comments

@rajivnw
Copy link

rajivnw commented Mar 13, 2024

Version info:
latest

2.0.7

Running this command:
npx artillery run [yml file path]

I'm getting 200 OK in response but its failed with error 'Cookie not in this host's domain. cookie: 123.abc.com request: 345.xyz.com)]
I can see the cookie: 123.abc.com is different from the request: 345.xyz.com domain.

I found a fix to customize Cookie here #1581 but its not working. I tried to set looseMode: true under http -> cookieJarOptions of config.

@hassy could you please suggest how I can exclude this error?

In metrics also it publish ERR_GOT_REQUEST_ERROR:1

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant