Script Functions for Random Data

You can use Loadster’s Variables & Expressions to inject dynamic data into your scripts.

variables

We just added a few new ones for generating random test data: randomalphanumeric(len), randomalpha(len), and randomnumeric(len).

There’s also a uuid() function for generating a UUID of the format “77124923-bad6-4bac-b71b-791c6347b814″.

These functions are useful anytime you need to generate randomized data for your load tests (which is a good idea, especially if there’s a database or server-side caching involved).