module JmeterPerf module Plugins class ActiveThreadsOverTime attr_accessor :doc include JmeterPerf::Helpers::XmlDocumentUpdater def initialize(params = {}) testname = params.is_a?(Array) ? "ActiveThreadsOverTime" : (params[:name] || "ActiveThreadsOverTime") @doc = Nokogiri::XML( JmeterPerf::Helpers::String.strip_heredoc( <<-XML false saveConfig true true true true false true false false false false false false false false false false false false 0 true true true 500 false false false XML ) ) update params end end end end