No video

Browser Testing with k6

  Рет қаралды 15,691

k6

k6

Күн бұрын

Пікірлер: 22
@fatinkhan6357
@fatinkhan6357 Жыл бұрын
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
@cifuentes678 Жыл бұрын
If I have an existing suite of tests (following the POM "pattern"), how can I adapt my tests to use k6?
@k6io
@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
@cifuentes678 Жыл бұрын
@@k6io Hi! Thanks for your response. I already contacted some guys of the team. We're discussing about the topic :)
@waltermercado5686
@waltermercado5686 Жыл бұрын
Do we have an official docker image to run xk6-browser tests?
@k6io
@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
@yukta493 Жыл бұрын
Can I get memory usage and page render time metrics for k6 browser tests?
@k6io
@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
@ganeshjoe6022
@ganeshjoe6022 3 ай бұрын
How to get html report?
@qatester6425
@qatester6425 Жыл бұрын
Could be possible to execute all test cases in playwright framework?
@k6io
@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
@waltermercado5686 Жыл бұрын
One more question how can I know the max number of VUs that I can run an xk6-browser script?
@k6io
@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
@rajjjnish
@rajjjnish 9 ай бұрын
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.
@k6io
@k6io 9 ай бұрын
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!
@anfalmohamed7005
@anfalmohamed7005 10 ай бұрын
I am using k6 0.47.0 but browser is not getting launched, could you please share installation steps
@k6io
@k6io 10 ай бұрын
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
@architsoni3669 Жыл бұрын
This looks promising.
@k6io
@k6io Жыл бұрын
Thanks Archit! Feel free to try it out and give us feedback 😊 - Marie
@qatester6425
@qatester6425 Жыл бұрын
When I try to run the k6 browser browser-shuts down prematurely
@k6io
@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
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 74 МЛН
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 68 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 3,2 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 49 МЛН
Grafana k6 for Beginners: Why observability needs testing
12:54
Performance Testing using Playwright
1:05:47
NY Web Performance Meetup
Рет қаралды 18 М.
How to do Performance Testing with k6
9:55
Alex Hyett
Рет қаралды 29 М.
Performance Testing your web app with k6
38:25
Chris James
Рет қаралды 58 М.
Getting started with API Load Testing (Stress, Spike, Load, Soak)
14:20
Automated Load Testing with K6 (Introduction ✅ Basics)
23:14
Frontend vs. backend performance testing
7:55
k6
Рет қаралды 4,9 М.
Running distributed load tests with the Grafana k6-operator
58:18
CNCF [Cloud Native Computing Foundation]
Рет қаралды 4 М.
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 74 МЛН