Running multiple js files in k6 run command

I just started with K6. I have mulitple js files testing different methods for APIs for same feature under a folder. I want to run all the files in this folder one after the other.
K6 run command accepts single js as argument.

Pls let me know how to run multiple js files sequentially or all js files inside a folder


Hi @sumabris , welcome to the community forum!

On linux I would go with:

find *.js -exec k6 run {} \;
1 Like