Current time: 12-13-2017, 11:09 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting: Pick a random element from a list
02-17-2015, 05:35 PM
Post: #1
Scripting: Pick a random element from a list
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
Find all posts by this user
Quote this message in a reply
02-18-2015, 06:29 AM
Post: #2
RE: Scripting: Pick a random element from a list
Could you open a github issue to track it? https://github.com/WPO-Foundation/webpagetest/issues
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)