Sha256: a904e8c1007896873091be1601a4d0ed8ecb3a885550c1c9a2f4ad2fa02301cc
Contents?: true
Size: 1.12 KB
Versions: 15
Compression:
Stored size: 1.12 KB
Contents
module RubyJmeter module Plugins class UltimateThreadGroup attr_accessor :doc include Helper def initialize(params={}) testname = params.kind_of?(Array) ? 'UltimateThreadGroup' : (params[:name] || 'UltimateThreadGroup') @doc = Nokogiri::XML(<<-EOF.strip_heredoc) <kg.apc.jmeter.threads.UltimateThreadGroup guiclass="kg.apc.jmeter.threads.UltimateThreadGroupGui" testclass="kg.apc.jmeter.threads.UltimateThreadGroup" testname="#{testname}" enabled="true"> <collectionProp name="ultimatethreadgroupdata"> </collectionProp> <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> <boolProp name="LoopController.continue_forever">false</boolProp> <intProp name="LoopController.loops">-1</intProp> </elementProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> </kg.apc.jmeter.threads.UltimateThreadGroup> EOF update params end end end end
Version data entries
15 entries across 15 versions & 1 rubygems