Unanswered question

Is there a way to call a URL in JavaScript only once per load test?

Is there a way to call a URL in JavaScript only once per load test?

I would not want to call this on each iteration, but once at the beginning of the entire suite. The return values are feature flags that will drive parts of the script to simulate when the feature flags are active or not.

Daniel Y.
Daniel Y.

Daniel Y.

Level
0
1 / 100
point

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

That would still be executed by multiple virtual users, having a dedicated test for this in it's own population run by only one user for 1 iteration should work, the next step is how to share the variables...