K6 & Kinesis Streams

Hi all

Has anyone used K6 to rapidly and concurrently populate Amazon Kinesis streams? I haven’t seen any libraries for KCL in JS unfortunately but was wondering if anyone has attempted this before?


I haven’t used Kinesis, but from what I can see, it has a REST API, so it should be fairly easy to do what you want with normal HTTPS requests by k6: https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecords.html

Since you’d probably need AWS authentication, you can take a look at this simple S3 demo for how it was implemented in k6: https://gist.github.com/MStoykov/38cc1293daa9080b11e26053589a6865

1 Like