Sha256: 6a200f38fb63bfe9c7306aed0e5063c36809f0b1a1f6b9f6bae0cd8e7f0b1557
Contents?: true
Size: 336 Bytes
Versions: 3
Compression:
Stored size: 336 Bytes
Contents
module JmeterPerf class ExtendedDSL < DSL def constant_throughput_timer(params, &) params[:value] ||= params[:throughput] || 0.0 node = JmeterPerf::ConstantThroughputTimer.new(params) node.doc.xpath('//stringProp[@name="throughput"]').first.content = params[:value] attach_node(node, &) end end end
Version data entries
3 entries across 3 versions & 1 rubygems