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

fails if any loaded sub-resource fails #882

Closed
tmc opened this issue May 15, 2023 · 2 comments
Closed

fails if any loaded sub-resource fails #882

tmc opened this issue May 15, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@tmc
Copy link
Contributor

tmc commented May 15, 2023

Brief summary

For example, if an XHR request is sent over to sentry and sentry 429's the request, it appears the whole page.goto() call fails and I don't see a way to control the behavior (missing playwright-like route() api?).

xk6-browser version

k6: v0.44.1

OS

macos

Chrome version

113.0.5672.92

Docker version and image (if applicable)

No response

Steps to reproduce the problem

page.goto() to a page that has an XHR call that 429s

Expected behaviour

Some means of not considering a sub-resource failure an overall failure.

Actual behaviour

a 429 on an XHR calls seems to fail the whole page.goto()

@tmc tmc added the bug Something isn't working label May 15, 2023
@ankur22
Copy link
Collaborator

ankur22 commented May 15, 2023

Thank you for submitting this bug report @tmc! Could you please add a sample test script that points to a publicly accessible site so that we can test and work against it? It would also help if you could copy and paste the whole error message(s) in the description too.

@tmc
Copy link
Contributor Author

tmc commented May 17, 2023

I think I was misunderstanding the output. I can't get further here as cloudflare isn't allowing me to proceed as it's detecting a non-human actor (understandably).

@tmc tmc closed this as completed May 17, 2023
@inancgumus inancgumus closed this as not planned Won't fix, can't repro, duplicate, stale May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants