Sha256: ac2563760189b2f299ad7c50c4fb6206a5a750c5d14aed0c5cc466eb141b9f6b

Contents?: true

Size: 685 Bytes

Versions: 12

Compression:

Stored size: 685 Bytes

Contents

module JmeterPerf
  module Plugins
    class ConsoleStatusLogger
      attr_accessor :doc
      include JmeterPerf::Helpers::XmlDocumentUpdater
      def initialize(params = {})
        testname = params.is_a?(Array) ? "ConsoleStatusLogger" : (params[:name] || "ConsoleStatusLogger")
        @doc = Nokogiri::XML(
          JmeterPerf::Helpers::String.strip_heredoc(
            <<-EOF
            <kg.apc.jmeter.reporters.ConsoleStatusLogger guiclass="kg.apc.jmeter.reporters.ConsoleStatusLoggerGui" testclass="kg.apc.jmeter.reporters.ConsoleStatusLogger" testname="#{testname}" enabled="true"/>
            EOF
          )
        )
        update params
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
jmeter_perf-1.1.1 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.1.0 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.10 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.9 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.8 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.7 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.6 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.5 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.4 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.2 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.1 lib/jmeter_perf/plugins/console_status_logger.rb
jmeter_perf-1.0.0 lib/jmeter_perf/plugins/console_status_logger.rb