lib/ruby-jmeter/dsl/http_request.rb in ruby-jmeter-2.1.7 vs lib/ruby-jmeter/dsl/http_request.rb in ruby-jmeter-2.11.0
- old
+ new
@@ -27,12 +27,12 @@
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.implementation"/>
<boolProp name="HTTPSampler.monitor">false</boolProp>
<stringProp name="HTTPSampler.embedded_url_re"/>
- <stringProp name="HTTPSampler.implementation"/>
</HTTPSamplerProxy>)
EOS
update params
update_at_xpath params if params.is_a?(Hash) && params[:update_at_xpath]
end