Class: RubyJmeter::Plugins::ConsoleStatusLogger
- Inherits:
-
Object
- Object
- RubyJmeter::Plugins::ConsoleStatusLogger
- Includes:
- Helper
- Defined in:
- lib/ruby-jmeter/plugins/console_status_logger.rb
Instance Attribute Summary collapse
-
#doc ⇒ Object
Returns the value of attribute doc.
Instance Method Summary collapse
-
#initialize(name, params = {}) ⇒ ConsoleStatusLogger
constructor
A new instance of ConsoleStatusLogger.
Methods included from Helper
#enabled, #enabled_disabled, #update, #update_at_xpath, #update_collection
Constructor Details
#initialize(name, params = {}) ⇒ ConsoleStatusLogger
Returns a new instance of ConsoleStatusLogger.
6 7 8 9 10 11 |
# File 'lib/ruby-jmeter/plugins/console_status_logger.rb', line 6 def initialize(name, params={}) @doc = Nokogiri::XML(<<-EOF.strip_heredoc) <kg.apc.jmeter.reporters.ConsoleStatusLogger guiclass="kg.apc.jmeter.reporters.ConsoleStatusLoggerGui" testclass="kg.apc.jmeter.reporters.ConsoleStatusLogger" testname="#{name}" enabled="true"/> EOF update params end |
Instance Attribute Details
#doc ⇒ Object
Returns the value of attribute doc.
4 5 6 |
# File 'lib/ruby-jmeter/plugins/console_status_logger.rb', line 4 def doc @doc end |