Structuring test cases

Hi @mortenbock,

Welcome to the k6 community!

You might want to take a look at this answer for splitting scenarios into multiple files: Can we import js files in another k6 js file with scenarios in it?.

You can also store the credentials in another file with this approach. Or, yes, you can use the following approach for sharing the credentials: Data Parameterization. Also, please take a look at this answer.

Thanks!