-
Print
-
DarkLight
Dynamic value generation
Previously, it was always required to create a JS Step to generate dynamic values - such as a random string or date - but with the Dynamic value feature, it will no longer be necessary!
Procedure
To add a Dynamic value to your scenario, navigate to Insert Step
> Dynamic value
:
You can see the descriptions for the Dynamic Value of your choice in the step details. Currently, the following Dynamic Values are avaiblable:
- Dynamic date
- Currently, "Dynamic date" gets the date in GMT time.
If you would like to get the time in other time zones, please refer to the JS snippet "Get current timestamp considering timezone" and try the JS step.
- Currently, "Dynamic date" gets the date in GMT time.
- Random string with characters
- Random integer
Just as with return values of JS Steps, you can use the Dynamic Value for text input or assertions in the latter steps.
Now you can achieve more with no code. Let us know if you want to see any other kinds of Dynamic Values!
Next section: Step Groups and their types