Hi @codebien ,
Thanks for this example, it will help me a lot in the future.
Do I understand correctly that in your example the setup code will be one for two functions (set() and get()) ?
Example:
@PaulM,
can you clarify what do you mean by setup code, please? In k6 setup code is a very specific part where you define it by declaring a setup function. You can read about it here: Test lifecycle
Regarding your posted code seems you mean the options configuration and yes, it will be the same executed iteration function for all the stages.
If you would define different execution functions then you should use the exec property from the scenarios’ common option.