Commit Graph

8 Commits

Author SHA1 Message Date
Jesse Weaver
502169baa8
Fix K6 load test script (#38465)
K6 now requires that the path to the load test be prefixed with /.
2021-10-29 09:38:41 -06:00
Dafydd
d29f73b197
devenv: Add docker load test which authenticates with API key (#28905)
* Add loadtest which authenticates with API key
- Edit load tests to assign the orgId in the default function, as the setup function is only called once for all VUs and therefore the change is not persisted to each VU.
- Remove side effect from orgId setup function and explicitly set orgId in setup client

* sort semicolons, whitespace
2020-11-24 09:34:47 +02:00
Jon Gyllenswärd
f2254081c2
added out option (#24052)
* added out option

* Added example in readme
2020-04-30 10:53:19 +02:00
Anthony Woods
f56f54b1a3 Auth: Rotate auth tokens at the end of requests (#21347)
By rotating the auth tokens at the end of the request we ensure
that there is minimum delay between a new token being generated
and the client receiving it.
Adds auth token slow load test which uses random latency for all 
tsdb queries..
Cleans up datasource proxy response handling.
DefaultHandler in middleware tests should write a response, the 
responseWriter BeforeFuncs wont get executed unless a response
is written.

Fixes #18644 

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-01-15 13:03:12 +01:00
Marcus Efraimsson
bc3a718107
devenv: adds auth proxy load test (#17271) 2019-05-24 17:51:10 +02:00
Marcus Efraimsson
3555997f98
devenv: update ha test and load test
better ha setup for many mysql connections
prometheus now scrapes mysql metrics in ha setup
ha setup provisions mysql dashboard
adds configurable virtual users for load test run script
2019-02-06 22:33:48 +01:00
Marcus Efraimsson
806ddd63a0
load test/ha fixes 2019-01-25 13:16:19 +01:00
Marcus Efraimsson
6454de74e4
user auth token load tests using k6.io 2019-01-24 22:47:53 +01:00