flood-io/ruby-jmeter

View on GitHub
examples/throughput_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'ruby-jmeter'

test do
  threads count: 100 do

    think_time 5000,5000

    throughput_controller percent: 99 do
      transaction name: "TC_01", parent: true, include_timers: true
    end

  end
end.run(path: '/usr/share/jmeter/bin/', gui: true)