module RubyJmeter module Plugins class SteppingThreadGroup attr_accessor :doc include Helper def initialize(params={}) @doc = Nokogiri::XML(<<-EOF.strip_heredoc) continue #{params[:total_threads]} #{params[:initial_delay]} #{params[:start_threads]} #{params[:add_threads]} #{params[:start_every]} #{params[:stop_threads]} #{params[:stop_every]} #{params[:flight_time]} #{params[:rampup]} false -1 EOF # update params end end end end