Forum Discussion

nickspacek's avatar
nickspacek
Occasional Contributor
15 years ago

Proper way to store a token for LoadTesting?

Hi folks, I'm looking for the standard way of storing an authentication token for use by multiple threads when LoadTesting.

Right now I transfer the token to the project in the TestCase. If the token is already set, it skips the Property Transfer step. This doesn't seem to be working when using the LoadTestRunner however, only when in the UI.

What have others done to solve this? Seems like it'd be a pretty common thing. Should I be setting the token in a global variable?

Thanks,
Nick Spacek
No RepliesBe the first to reply