Questions tagged [k6]

k6 is a backend infrastructure load testing tool written in Go which runs load tests written in JavaScript.

k6 is an open source performance analysis tool for testing backend infrastructure load.

k6 itself is written in Go and runs load test scripts implemented in JavaScript with support for at least ES5.1. Some newer features are also supported through Babel. k6, formerly loadimpact, is owned by Grafana Labs.

k6 supports a variety of common load testing requirements:

  • Scenarios
  • Open and closed workload models
  • (Custom) metrics
  • Thresholds
  • Different protocols, including HTTP, WebSocket, and gRPC
325 questions
-1
votes
0 answers

K6 Browser - cant click on location preference "Block" on URL

URL similar to Lowes that requires location “Block” or “Allow” pop up. I am new to K6 and need to click on those window popup button somehow. Did anyone get this working? Tried changing Chrome settings not to ask for Location, tried…
-1
votes
1 answer

Update variable to every VU on K6 (refresh token)

At the beginning of my K6 test, I use my setup() function to ask for a token with the objective of use it on every VU. I don't want each VU using its own token, I want the same for every VU. That's OK, I can do it, but the problem comes when I need…
-1
votes
1 answer

how Effective is k6 load testing for frontend part and how can we use it?

Effectiveness of k6 load testing for frontend I am try to implement K6 for frontend? but I don't know How effective it is for frontend ? and how can we use k6 load testing for frontend ?
-1
votes
2 answers

(Install xk6) How to fix PATH issue when install xk6 use go

When I followed the k6 doc. and installed xk6 to enable Prometheus, I found the following error.enter image description here I feel like I am missing something super basic.
Kevin Lee
  • 11
  • 1
  • 1
-1
votes
1 answer

How can i parse img tags with k6/loadimpact?

i'm using k6 loadtesting for my work now and have a problem. How can i parse links from site? (already use official examples for href links, but dont understand how to mutate this to work with images) for example i'm trying with this site -…
Maxwell
  • 3
  • 3
-1
votes
2 answers

Trying to log JSON response in terminal using javascript

When I type the following command console.log("Response = " +JSON.stringify(response.body)); I get the following response Response =…
stephen carvalho
  • 127
  • 1
  • 17
-1
votes
1 answer

Running k6 load test converted from Postman fails

I converted a Postman collection into a script for load testing tool k6 with postman-to-k6. Running the k6 test fails with this error message: ERRO[0016] TypeError: Cannot read property 'set' of undefined or null Run at executePrerequest…
uı6ʎɹnɯ ꞁəıuɐp
  • 3,431
  • 3
  • 40
  • 49
-1
votes
1 answer

Can I ping a server use k6

Can I send a ping request by k6, does it possible? I know k6's websocket can send a ping request, but it is ws ping and it only support ws and wss. Or how can I execute a shell script?
Yang
  • 389
  • 2
  • 15
-2
votes
1 answer

How much memory for k6 VU (Virtual User)?

How much memory is used by a VU (Virtual User) in k6? Does memory usage for VUs scale linearly, i.e. if 1 VU uses X kilobytes, do 100 VUs use 100 * X kilobytes?
Bluebeard
  • 27
  • 1
  • 6
-2
votes
1 answer

I need some example where we are capturing dynamic value and passing it into the subsequent request

I need some example where we are capturing dynamic value and passing it into the subsequent request.
Engineer
  • 21
  • 2
1 2 3
21
22