×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Ruby
Posted by: Team Iguana
Added: Jul 20, 2015 7:48 AM
Modified: Jul 20, 2015 7:54 AM
Views: 12
risposta con un tempo casuale tra 10ms e 500ms
  1. get '/page_xxx' do
  2.    sleep(Random.rand(10..500) / 1000.0)
  3.    'response page'
  4. end