Sha256: 11efc31f682eaffa2c6675317e1dbea5eeccc4b59fec9d1686194a7415df47f1
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 KB
Contents
module JmeterPerf module Plugins class UltimateThreadGroup attr_accessor :doc include Helper def initialize(params = {}) testname = params.is_a?(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
3 entries across 3 versions & 1 rubygems