Sha256: b1fc1f6832834d5c7738a465928bd0add79e707bcd55998c527602e11cbee7a4
Contents?: true
Size: 814 Bytes
Versions: 14
Compression:
Stored size: 814 Bytes
Contents
module RubyJmeter class DSL def keystore_configuration(params={}, &block) node = RubyJmeter::KeystoreConfiguration.new(params) attach_node(node, &block) end end class KeystoreConfiguration attr_accessor :doc include Helper def initialize(params={}) testname = params.kind_of?(Array) ? 'KeystoreConfiguration' : (params[:name] || 'KeystoreConfiguration') @doc = Nokogiri::XML(<<-EOS.strip_heredoc) <KeystoreConfig guiclass="TestBeanGUI" testclass="KeystoreConfig" testname="#{testname}" enabled="true"> <stringProp name="endIndex"/> <stringProp name="preload">True</stringProp> <stringProp name="startIndex"/> </KeystoreConfig>) EOS update params update_at_xpath params if params.is_a?(Hash) && params[:update_at_xpath] end end end
Version data entries
14 entries across 14 versions & 1 rubygems