Skip to content

Commit 6c24efd

Browse files
committed
Make long-running WebSockets per-user
1 parent 6acdb49 commit 6c24efd

File tree

2 files changed

+16
-22
lines changed

2 files changed

+16
-22
lines changed

jmeter_files/daytrader7.jmx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,6 @@
9999
<boolProp name="CounterConfig.per_user">false</boolProp>
100100
</CounterConfig>
101101
<hashTree/>
102-
<OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Once Only Controller" enabled="true"/>
103-
<hashTree>
104-
<eu.luminis.jmeter.wssampler.OpenWebSocketSampler guiclass="eu.luminis.jmeter.wssampler.OpenWebSocketSamplerGui" testclass="eu.luminis.jmeter.wssampler.OpenWebSocketSampler" testname="WS2 Open Connection" enabled="true">
105-
<boolProp name="TLS">false</boolProp>
106-
<stringProp name="server">${hostname}</stringProp>
107-
<stringProp name="port">${port}</stringProp>
108-
<stringProp name="path">/daytrader/marketsummary</stringProp>
109-
<stringProp name="readTimeout">60000</stringProp>
110-
</eu.luminis.jmeter.wssampler.OpenWebSocketSampler>
111-
<hashTree/>
112-
</hashTree>
113102
<RandomController guiclass="RandomControlGui" testclass="RandomController" testname="Random Controller" enabled="true">
114103
<intProp name="InterleaveControl.style">1</intProp>
115104
</RandomController>
@@ -1497,6 +1486,14 @@
14971486
</ConstantTimer>
14981487
<hashTree/>
14991488
</hashTree>
1489+
<eu.luminis.jmeter.wssampler.OpenWebSocketSampler guiclass="eu.luminis.jmeter.wssampler.OpenWebSocketSamplerGui" testclass="eu.luminis.jmeter.wssampler.OpenWebSocketSampler" testname="WS2 Open Connection" enabled="true">
1490+
<boolProp name="TLS">false</boolProp>
1491+
<stringProp name="server">${hostname}</stringProp>
1492+
<stringProp name="port">${port}</stringProp>
1493+
<stringProp name="path">/daytrader/marketsummary</stringProp>
1494+
<stringProp name="readTimeout">60000</stringProp>
1495+
</eu.luminis.jmeter.wssampler.OpenWebSocketSampler>
1496+
<hashTree/>
15001497
<WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="true">
15011498
<stringProp name="WhileController.condition">${loop}</stringProp>
15021499
</WhileController>

jmeter_files/daytrader7_mojarra.jmx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,6 @@
109109
<boolProp name="CounterConfig.per_user">false</boolProp>
110110
</CounterConfig>
111111
<hashTree/>
112-
<OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Once Only Controller" enabled="true"/>
113-
<hashTree>
114-
<eu.luminis.jmeter.wssampler.OpenWebSocketSampler guiclass="eu.luminis.jmeter.wssampler.OpenWebSocketSamplerGui" testclass="eu.luminis.jmeter.wssampler.OpenWebSocketSampler" testname="WS2 Open Connection" enabled="true">
115-
<boolProp name="TLS">false</boolProp>
116-
<stringProp name="server">${hostname}</stringProp>
117-
<stringProp name="port">${port}</stringProp>
118-
<stringProp name="path">/daytrader/marketsummary</stringProp>
119-
<stringProp name="readTimeout">60000</stringProp>
120-
</eu.luminis.jmeter.wssampler.OpenWebSocketSampler>
121-
<hashTree/>
122-
</hashTree>
123112
<RandomController guiclass="RandomControlGui" testclass="RandomController" testname="Random Controller" enabled="true">
124113
<intProp name="InterleaveControl.style">1</intProp>
125114
</RandomController>
@@ -1507,6 +1496,14 @@
15071496
</ConstantTimer>
15081497
<hashTree/>
15091498
</hashTree>
1499+
<eu.luminis.jmeter.wssampler.OpenWebSocketSampler guiclass="eu.luminis.jmeter.wssampler.OpenWebSocketSamplerGui" testclass="eu.luminis.jmeter.wssampler.OpenWebSocketSampler" testname="WS2 Open Connection" enabled="true">
1500+
<boolProp name="TLS">false</boolProp>
1501+
<stringProp name="server">${hostname}</stringProp>
1502+
<stringProp name="port">${port}</stringProp>
1503+
<stringProp name="path">/daytrader/marketsummary</stringProp>
1504+
<stringProp name="readTimeout">60000</stringProp>
1505+
</eu.luminis.jmeter.wssampler.OpenWebSocketSampler>
1506+
<hashTree/>
15101507
<WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="true">
15111508
<stringProp name="WhileController.condition">${loop}</stringProp>
15121509
</WhileController>

0 commit comments

Comments
 (0)