Sha256: 9007ccc9c723292c34a3b1e20b66cd0896a82ee11a778e03074a29fd140fc0f3
Contents?: true
Size: 1.38 KB
Versions: 75
Compression:
Stored size: 1.38 KB
Contents
module RubyJmeter class DSL def ldap_extended_request_defaults(params={}, &block) node = RubyJmeter::LdapExtendedRequestDefaults.new(params) attach_node(node, &block) end end class LdapExtendedRequestDefaults attr_accessor :doc include Helper def initialize(params={}) testname = params.kind_of?(Array) ? 'LdapExtendedRequestDefaults' : (params[:name] || 'LdapExtendedRequestDefaults') @doc = Nokogiri::XML(<<-EOS.strip_heredoc) <ConfigTestElement guiclass="LdapExtConfigGui" testclass="ConfigTestElement" testname="#{testname}" enabled="true"> <stringProp name="servername"/> <stringProp name="port"/> <stringProp name="rootdn"/> <stringProp name="scope">2</stringProp> <stringProp name="countlimit"/> <stringProp name="timelimit"/> <stringProp name="attributes"/> <stringProp name="return_object">false</stringProp> <stringProp name="deref_aliases">false</stringProp> <stringProp name="connection_timeout"/> <stringProp name="parseflag">false</stringProp> <stringProp name="secure">false</stringProp> <stringProp name="user_dn"/> <stringProp name="user_pw"/> <stringProp name="comparedn"/> <stringProp name="comparefilt"/> <stringProp name="modddn"/> <stringProp name="newdn"/> </ConfigTestElement>) 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