Skip to content

Commit 8f94089

Browse files
Update SampleApp.jmx
1 parent 34f0539 commit 8f94089

File tree

1 file changed

+91
-159
lines changed

1 file changed

+91
-159
lines changed

test/SampleApp.jmx

+91-159
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1">
2+
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.5">
33
<hashTree>
4-
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
4+
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Azure Load Testing Quickstart" enabled="true">
55
<stringProp name="TestPlan.comments"></stringProp>
66
<boolProp name="TestPlan.functional_mode">false</boolProp>
77
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
@@ -12,183 +12,115 @@
1212
<stringProp name="TestPlan.user_define_classpath"></stringProp>
1313
</TestPlan>
1414
<hashTree>
15-
<kg.apc.jmeter.threads.UltimateThreadGroup guiclass="kg.apc.jmeter.threads.UltimateThreadGroupGui" testclass="kg.apc.jmeter.threads.UltimateThreadGroup" testname="jp@gc - Ultimate Thread Group" enabled="true">
16-
<collectionProp name="ultimatethreadgroupdata">
17-
<collectionProp name="-1108691518">
18-
<stringProp name="1567">10</stringProp>
19-
<stringProp name="48">0</stringProp>
20-
<stringProp name="48873">180</stringProp>
21-
<stringProp name="49710">240</stringProp>
22-
<stringProp name="10">5</stringProp>
23-
</collectionProp>
24-
</collectionProp>
25-
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
26-
<boolProp name="LoopController.continue_forever">false</boolProp>
27-
<intProp name="LoopController.loops">-1</intProp>
28-
</elementProp>
15+
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
2916
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
30-
</kg.apc.jmeter.threads.UltimateThreadGroup>
31-
<hashTree>
32-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="lasttimestamp" enabled="true">
33-
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
34-
<collectionProp name="Arguments.arguments"/>
35-
</elementProp>
36-
<stringProp name="HTTPSampler.domain">${udv_webapp}</stringProp>
37-
<stringProp name="HTTPSampler.port"></stringProp>
38-
<stringProp name="HTTPSampler.protocol">https</stringProp>
39-
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
40-
<stringProp name="HTTPSampler.path">lasttimestamp</stringProp>
41-
<stringProp name="HTTPSampler.method">GET</stringProp>
42-
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
43-
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
44-
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
45-
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
46-
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
47-
<stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
48-
<stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
49-
<stringProp name="HTTPSampler.response_timeout">60000</stringProp>
50-
</HTTPSamplerProxy>
51-
<hashTree/>
52-
<kg.apc.jmeter.timers.VariableThroughputTimer guiclass="kg.apc.jmeter.timers.VariableThroughputTimerGui" testclass="kg.apc.jmeter.timers.VariableThroughputTimer" testname="jp@gc - Throughput Shaping Timer" enabled="true">
53-
<collectionProp name="load_profile">
54-
<collectionProp name="1543912173">
55-
<stringProp name="1567">10</stringProp>
56-
<stringProp name="1691">50</stringProp>
57-
<stringProp name="48873">180</stringProp>
58-
</collectionProp>
59-
<collectionProp name="1582355627">
60-
<stringProp name="1691">50</stringProp>
61-
<stringProp name="1691">50</stringProp>
62-
<stringProp name="49710">240</stringProp>
63-
</collectionProp>
64-
</collectionProp>
65-
</kg.apc.jmeter.timers.VariableThroughputTimer>
66-
<hashTree/>
67-
</hashTree>
68-
<kg.apc.jmeter.threads.UltimateThreadGroup guiclass="kg.apc.jmeter.threads.UltimateThreadGroupGui" testclass="kg.apc.jmeter.threads.UltimateThreadGroup" testname="jp@gc - Ultimate Thread Group" enabled="true">
69-
<collectionProp name="ultimatethreadgroupdata">
70-
<collectionProp name="-1108691518">
71-
<stringProp name="1567">10</stringProp>
72-
<stringProp name="48">0</stringProp>
73-
<stringProp name="48873">180</stringProp>
74-
<stringProp name="49710">240</stringProp>
75-
<stringProp name="10">5</stringProp>
76-
</collectionProp>
77-
</collectionProp>
7817
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
7918
<boolProp name="LoopController.continue_forever">false</boolProp>
80-
<intProp name="LoopController.loops">-1</intProp>
19+
<stringProp name="LoopController.loops">1</stringProp>
8120
</elementProp>
82-
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
83-
</kg.apc.jmeter.threads.UltimateThreadGroup>
21+
<stringProp name="ThreadGroup.num_threads">20</stringProp>
22+
<stringProp name="ThreadGroup.ramp_time">20</stringProp>
23+
<boolProp name="ThreadGroup.scheduler">false</boolProp>
24+
<stringProp name="ThreadGroup.duration">2000</stringProp>
25+
<stringProp name="ThreadGroup.delay">0</stringProp>
26+
<boolProp name="ThreadGroup.same_user_on_next_iteration">false</boolProp>
27+
</ThreadGroup>
8428
<hashTree>
85-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="add" enabled="true">
86-
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
87-
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
88-
<collectionProp name="Arguments.arguments">
89-
<elementProp name="" elementType="HTTPArgument">
90-
<boolProp name="HTTPArgument.always_encode">false</boolProp>
91-
<stringProp name="Argument.value">1</stringProp>
92-
<stringProp name="Argument.metadata">=</stringProp>
93-
</elementProp>
94-
</collectionProp>
95-
</elementProp>
96-
<stringProp name="HTTPSampler.domain">${udv_webapp}</stringProp>
97-
<stringProp name="HTTPSampler.port"></stringProp>
98-
<stringProp name="HTTPSampler.protocol">https</stringProp>
99-
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
100-
<stringProp name="HTTPSampler.path">add</stringProp>
101-
<stringProp name="HTTPSampler.method">POST</stringProp>
102-
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
103-
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
104-
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
105-
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
106-
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
107-
<stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
108-
<stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
109-
<stringProp name="HTTPSampler.response_timeout">60000</stringProp>
110-
</HTTPSamplerProxy>
111-
<hashTree/>
112-
<kg.apc.jmeter.timers.VariableThroughputTimer guiclass="kg.apc.jmeter.timers.VariableThroughputTimerGui" testclass="kg.apc.jmeter.timers.VariableThroughputTimer" testname="jp@gc - Throughput Shaping Timer" enabled="true">
113-
<collectionProp name="load_profile">
114-
<collectionProp name="1543912173">
115-
<stringProp name="1567">10</stringProp>
116-
<stringProp name="1691">50</stringProp>
117-
<stringProp name="48873">180</stringProp>
118-
</collectionProp>
119-
<collectionProp name="1582355627">
120-
<stringProp name="1691">50</stringProp>
121-
<stringProp name="1691">50</stringProp>
122-
<stringProp name="49710">240</stringProp>
123-
</collectionProp>
124-
</collectionProp>
125-
</kg.apc.jmeter.timers.VariableThroughputTimer>
126-
<hashTree/>
127-
</hashTree>
128-
<kg.apc.jmeter.threads.UltimateThreadGroup guiclass="kg.apc.jmeter.threads.UltimateThreadGroupGui" testclass="kg.apc.jmeter.threads.UltimateThreadGroup" testname="jp@gc - Ultimate Thread Group" enabled="true">
129-
<collectionProp name="ultimatethreadgroupdata">
130-
<collectionProp name="-1108691518">
131-
<stringProp name="1567">10</stringProp>
132-
<stringProp name="48">0</stringProp>
133-
<stringProp name="48873">180</stringProp>
134-
<stringProp name="49710">240</stringProp>
135-
<stringProp name="10">5</stringProp>
136-
</collectionProp>
137-
</collectionProp>
138-
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
139-
<boolProp name="LoopController.continue_forever">false</boolProp>
140-
<intProp name="LoopController.loops">-1</intProp>
141-
</elementProp>
142-
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
143-
</kg.apc.jmeter.threads.UltimateThreadGroup>
144-
<hashTree>
145-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="get" enabled="true">
29+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Homepage" enabled="true">
14630
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
14731
<collectionProp name="Arguments.arguments"/>
14832
</elementProp>
149-
<stringProp name="HTTPSampler.domain">${udv_webapp}</stringProp>
33+
<stringProp name="HTTPSampler.domain">cnt-integration-tests-server.azurewebsites.net</stringProp>
15034
<stringProp name="HTTPSampler.port"></stringProp>
15135
<stringProp name="HTTPSampler.protocol">https</stringProp>
15236
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
153-
<stringProp name="HTTPSampler.path">get</stringProp>
37+
<stringProp name="HTTPSampler.path">/hostingstart.html</stringProp>
15438
<stringProp name="HTTPSampler.method">GET</stringProp>
15539
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
15640
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
15741
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
15842
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
15943
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
160-
<stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
161-
<stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
162-
<stringProp name="HTTPSampler.response_timeout">60000</stringProp>
44+
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
45+
<stringProp name="HTTPSampler.response_timeout"></stringProp>
16346
</HTTPSamplerProxy>
164-
<hashTree/>
165-
<kg.apc.jmeter.timers.VariableThroughputTimer guiclass="kg.apc.jmeter.timers.VariableThroughputTimerGui" testclass="kg.apc.jmeter.timers.VariableThroughputTimer" testname="jp@gc - Throughput Shaping Timer" enabled="true">
166-
<collectionProp name="load_profile">
167-
<collectionProp name="1543912173">
168-
<stringProp name="1567">10</stringProp>
169-
<stringProp name="1691">50</stringProp>
170-
<stringProp name="48873">180</stringProp>
171-
</collectionProp>
172-
<collectionProp name="1582355627">
173-
<stringProp name="1691">50</stringProp>
174-
<stringProp name="1691">50</stringProp>
175-
<stringProp name="49710">240</stringProp>
176-
</collectionProp>
177-
</collectionProp>
178-
</kg.apc.jmeter.timers.VariableThroughputTimer>
47+
<hashTree>
48+
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
49+
<boolProp name="ResultCollector.error_logging">false</boolProp>
50+
<objProp>
51+
<name>saveConfig</name>
52+
<value class="SampleSaveConfiguration">
53+
<time>true</time>
54+
<latency>true</latency>
55+
<timestamp>true</timestamp>
56+
<success>true</success>
57+
<label>true</label>
58+
<code>true</code>
59+
<message>true</message>
60+
<threadName>true</threadName>
61+
<dataType>true</dataType>
62+
<encoding>false</encoding>
63+
<assertions>true</assertions>
64+
<subresults>true</subresults>
65+
<responseData>false</responseData>
66+
<samplerData>false</samplerData>
67+
<xml>false</xml>
68+
<fieldNames>true</fieldNames>
69+
<responseHeaders>false</responseHeaders>
70+
<requestHeaders>false</requestHeaders>
71+
<responseDataOnError>false</responseDataOnError>
72+
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
73+
<assertionsResultsToSave>0</assertionsResultsToSave>
74+
<bytes>true</bytes>
75+
<sentBytes>true</sentBytes>
76+
<url>true</url>
77+
<threadCounts>true</threadCounts>
78+
<idleTime>true</idleTime>
79+
<connectTime>true</connectTime>
80+
</value>
81+
</objProp>
82+
<stringProp name="filename"></stringProp>
83+
</ResultCollector>
84+
<hashTree/>
85+
</hashTree>
86+
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
87+
<boolProp name="ResultCollector.error_logging">true</boolProp>
88+
<objProp>
89+
<name>saveConfig</name>
90+
<value class="SampleSaveConfiguration">
91+
<time>true</time>
92+
<latency>true</latency>
93+
<timestamp>true</timestamp>
94+
<success>true</success>
95+
<label>true</label>
96+
<code>true</code>
97+
<message>true</message>
98+
<threadName>true</threadName>
99+
<dataType>true</dataType>
100+
<encoding>false</encoding>
101+
<assertions>true</assertions>
102+
<subresults>true</subresults>
103+
<responseData>false</responseData>
104+
<samplerData>false</samplerData>
105+
<xml>false</xml>
106+
<fieldNames>true</fieldNames>
107+
<responseHeaders>false</responseHeaders>
108+
<requestHeaders>false</requestHeaders>
109+
<responseDataOnError>false</responseDataOnError>
110+
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
111+
<assertionsResultsToSave>0</assertionsResultsToSave>
112+
<bytes>true</bytes>
113+
<sentBytes>true</sentBytes>
114+
<url>true</url>
115+
<threadCounts>true</threadCounts>
116+
<idleTime>true</idleTime>
117+
<connectTime>true</connectTime>
118+
</value>
119+
</objProp>
120+
<stringProp name="filename"></stringProp>
121+
</ResultCollector>
179122
<hashTree/>
180123
</hashTree>
181-
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
182-
<collectionProp name="Arguments.arguments">
183-
<elementProp name="udv_webapp" elementType="Argument">
184-
<stringProp name="Argument.name">udv_webapp</stringProp>
185-
<stringProp name="Argument.value">shonapp.azurewebsites.net</stringProp>
186-
<stringProp name="Argument.desc">Web App URL</stringProp>
187-
<stringProp name="Argument.metadata">=</stringProp>
188-
</elementProp>
189-
</collectionProp>
190-
</Arguments>
191-
<hashTree/>
192124
</hashTree>
193125
</hashTree>
194126
</jmeterTestPlan>

0 commit comments

Comments
 (0)