Load Testing · Middle · Question 10 of 76

What does exec set in a k6 scenario?

Show the answer

Correct answer: The name of the exported function that this scenario runs

Explanation

Without exec, scenarios run the default function. With it, a browse scenario and a checkout scenario can run different code in parallel.

Further reading

Problem with a question

Load Testing · Middle · question 10

Test yourself

Take the Load Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz