Sha256: f913a6cb836501fdc6f87b723f6dedd564369e8286e733aad52e195f4ffad0a7
Contents?: true
Size: 774 Bytes
Versions: 8
Compression:
Stored size: 774 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'ruby-jmeter' test do threads 1, { rampup: 1, scheduler: true, duration: 60, continue_forever: true } do defaults domain: 'altentee.com' random_timer 1000, 2000 transaction '01_GET_home' do visit '/' do extract regex: 'href="(.+?)"', name: 'links', match_number: -1 end end foreach_controller inputVal: 'links', returnVal: 'link' do transaction '02_GET_random_link' do visit '${link}' end end end # end.jmx # end.flood(ENV['FLOOD_API_TOKEN']) # end.run(path: '/usr/share/jmeter-2.13/bin/', gui: true) end.run(path: '/usr/share/jmeter-2.13/bin/')
Version data entries
8 entries across 8 versions & 1 rubygems