![]() |
Scripting: Pick a timestamp in the last 1 hr or even now - Printable Version +- WebPagetest Forums (https://www.webpagetest.org/forums) +-- Forum: WebPagetest (/forumdisplay.php?fid=7) +--- Forum: Feature Suggestions (/forumdisplay.php?fid=9) +--- Thread: Scripting: Pick a timestamp in the last 1 hr or even now (/showthread.php?tid=13546) |
Scripting: Pick a timestamp in the last 1 hr or even now - pganti - 02-17-2015 05:38 PM 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 RE: Scripting: Pick a timestamp in the last 1 hr or even now - pmeenan - 02-18-2015 06:31 AM 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. |