Sha256: b8f2a98cbbfbad75b1e560ded535bd82a16cc80ae20a678cda9b9a2113779bf0
Contents?: true
Size: 712 Bytes
Versions: 75
Compression:
Stored size: 712 Bytes
Contents
module RubyJmeter class DSL def random_order_controller(params={}, &block) node = RubyJmeter::RandomOrderController.new(params) attach_node(node, &block) end end class RandomOrderController attr_accessor :doc include Helper def initialize(params={}) testname = params.kind_of?(Array) ? 'RandomOrderController' : (params[:name] || 'RandomOrderController') @doc = Nokogiri::XML(<<-EOS.strip_heredoc) <RandomOrderController guiclass="RandomOrderControllerGui" testclass="RandomOrderController" testname="#{testname}" enabled="true"/>) EOS update params update_at_xpath params if params.is_a?(Hash) && params[:update_at_xpath] end end end
Version data entries
75 entries across 75 versions & 1 rubygems