Sha256: d33ceba820979282ca8cf46bca08f634284bf809ac42258422ec0c317ba95498
Contents?: true
Size: 766 Bytes
Versions: 41
Compression:
Stored size: 766 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/bin/', gui: true) end.run(path: '/usr/share/jmeter/bin/')
Version data entries
41 entries across 41 versions & 1 rubygems