WebPagetest Forums

Full Version: Scripting: Pick a timestamp in the last 1 hr or even now
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Again, testing some travel sites for dynamic info, is it possible to have a timeformat which picks either the latest value (when the script is run) or even better to pick a random value between two dates).

This enables us to run realistic tests against DB driven webapps
Are you looking for numeric fields for a text entry? You should be able to do it today using the exec command and using javascript to fill out any arbitrary values.
Reference URL's