K6 CircleCI execution with bash file

Hello There,

I am planing to run k6 along with circleCI. I am completely new to Circleci and wondering how to achieve it.

Currently my k6 framework starts its run by invoking a bash file start.sh and inside the start.sh file i am having multiple k6 files to run

k6 run file1.js
k6 run file2.js

With this configuration can some one help me how to configure circleci

Hey, sorry for the late reply. Is there a reason you can’t just run start.sh in CircleCI?

For more generic advice and examples on how to use k6 in CircleCI, I can recommend this blog article that explores the topic in depth: https://k6.io/blog/integrating-load-testing-with-circleci/

1 Like