Skip to content
Snippets Groups Projects
Commit bdde45cc authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Fix loop count in universal benchmark script

parent 0c2bed4b
No related branches found
No related tags found
1 merge request!251Add and refactor input files for benchmarking
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1">
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.3">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="constant load" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
......@@ -13,10 +13,10 @@
</TestPlan>
<hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="spam group" enabled="true">
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<stringProp name="ThreadGroup.on_sample_error">stopthread</stringProp>
<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>
<stringProp name="LoopController.loops">${LOOP_COUNT}</stringProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">${THREADS}</stringProp>
<stringProp name="ThreadGroup.ramp_time">0</stringProp>
......@@ -172,6 +172,11 @@
<stringProp name="Argument.value">${__P(call_style, old-style)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="LOOP_COUNT" elementType="Argument">
<stringProp name="Argument.name">LOOP_COUNT</stringProp>
<stringProp name="Argument.value">${__P(call_style, loop_count)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</Arguments>
<hashTree/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment