xk6-redis
xk6-redis copied to clipboard
A k6 extension to test the performance of a Redis instance.
Noticed an issue in new redis client Options (k6 v50) Using executor with settings like this ``` executor: 'ramping-arrival-rate', exec: "measureRedisPerformance", startRate: 10000, timeUnit: '10m', preAllocatedVUs: 1350, stages: [ {...
When I try to build the xk6 using the following command `xk6 build --with github.com/grafana/xk6-redis --with github.com/grafana/xk6-output-template` I get the following error: ``` go: k6 imports github.com/grafana/xk6-redis imports github.com/grafana/xk6-redis/redis tested...
At the moment we parse the options provided by the user in a two step process: 1. First, [export the options](https://github.com/grafana/xk6-redis/blob/master/redis/module.go#L76) `goja.Object` to a `map[string]interface{}` 2. Only then, [extract and...
At the moment, the redis options only support parsing durations as number, and mostly in a fixed time unit. We would like to refactor it so that durations can both...
``` addrs: __ENV.REDIS_ADDRS.split(",") || new Array("localhost:6379"), // in the form of "host:port", separated by commas ``` will give you `TypeError: Cannot read property 'split' of undefined or null` so it...