i am new to performance testing, could you inform me how to work on a website that uses auth0, tried using token to bypass logging but status is not 200 for all vus. although tbf im using single user email and password.
@cifuentes678 Жыл бұрын
If I have an existing suite of tests (following the POM "pattern"), how can I adapt my tests to use k6?
@k6io Жыл бұрын
Hi Armando, feel free to refer to this public GitHub repo for reference github.com/mdcruz/koh-76-demo. We will work on getting more content out there on how to use the POM pattern with k6.
@cifuentes678 Жыл бұрын
@@k6io Hi! Thanks for your response. I already contacted some guys of the team. We're discussing about the topic :)
@waltermercado5686 Жыл бұрын
Do we have an official docker image to run xk6-browser tests?
@k6io Жыл бұрын
Hi Walter! For now, no official k6 docker image includes a browser. We have raised an issue for this which you can find here github.com/grafana/k6/issues/2914. We do have this Dockerfile here github.com/grafana/xk6-browser/blob/main/Dockerfile but this is running the browser tests as an extension, and not natively part of k6. I hope this helps! - Marie
@yukta493 Жыл бұрын
Can I get memory usage and page render time metrics for k6 browser tests?
@k6io Жыл бұрын
Hi Yukta, currently these are the metrics that k6 browser is tracking k6.io/docs/javascript-api/k6-browser/get-started/browser-metrics/ We have plans in the future to include the core web vitals web.dev/vitals/#core-web-vitals
@ganeshjoe60223 ай бұрын
How to get html report?
@qatester6425 Жыл бұрын
Could be possible to execute all test cases in playwright framework?
@k6io Жыл бұрын
Hi there! It's not 100% compatible with Playwright, so there are some cases where it will not work. We are working on improving our API coverage still. Thanks! - Marie
@waltermercado5686 Жыл бұрын
One more question how can I know the max number of VUs that I can run an xk6-browser script?
@k6io Жыл бұрын
There is no official max number but what we recommend is a hybrid approach to your tests instead, meaning you only spin up 1 or 2 browser VUs and generate most of the load on the protocol level. Check out k6.io/docs/testing-guides/load-testing-websites/#hybrid-load-testing for more details - Marie
@rajjjnish9 ай бұрын
I have not been able to switch to new tab when running the k6 browser test. Though i tried the change focus command listed in k6 documentation but that doesnt work. My use case is in a page there is a button which opens up a new tab when clicking it. And i am not able to switch to new tab in script hence cant perform next actions on new tab. Hoping for some help/response.
@k6io9 ай бұрын
Hi @rajjjnish, can you post a reproducible example on our community forum (community.grafana.com/c/grafana-k6/k6-browser/79) so we can help you more. Thanks!
@anfalmohamed700510 ай бұрын
I am using k6 0.47.0 but browser is not getting launched, could you please share installation steps
@k6io10 ай бұрын
Hi there! Please check out k6.io/docs/using-k6-browser/migrating-to-k6-v0-46/ for more information. You probably need to set the environment variable K6_HEADLESS_FALSE and set it to false.
@architsoni3669 Жыл бұрын
This looks promising.
@k6io Жыл бұрын
Thanks Archit! Feel free to try it out and give us feedback 😊 - Marie
@qatester6425 Жыл бұрын
When I try to run the k6 browser browser-shuts down prematurely
@k6io Жыл бұрын
Hi there! If you post your issue on our community forum community.k6.io/c/k6-browser/14 with a reproducible script, we can help you further. Thanks! - Marie