![]() |
Scripting: Pick a random element from a list - 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 random element from a list (/showthread.php?tid=13545) |
Scripting: Pick a random element from a list - pganti - 02-17-2015 05:35 PM Can we have a primitive that picks a random value from a list? For testing travel sites we want a dynamic value to be picked from a list of airports for example random(Jfk,mco,ord,den,sfo,lhr,las) should return one each time the script runs RE: Scripting: Pick a random element from a list - pmeenan - 02-18-2015 06:29 AM Could you open a github issue to track it? https://github.com/WPO-Foundation/webpagetest/issues |