Skip to content

Commit 7f91b08

Browse files
author
brunnert
committed
Adding JMeter Test for Spring application
1 parent 51e79d5 commit 7f91b08

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

examples/spring-rest-service/src/test/resources/jmeter_testplan.jmx

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan">
55
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
66
<collectionProp name="Arguments.arguments">
7-
<elementProp name="RATE_PER_SERVICE" elementType="Argument">
8-
<stringProp name="Argument.name">RATE_PER_SERVICE</stringProp>
9-
<stringProp name="Argument.value">120</stringProp>
10-
<stringProp name="Argument.metadata">=</stringProp>
11-
</elementProp>
12-
<elementProp name="START_RATE" elementType="Argument">
13-
<stringProp name="Argument.name">START_RATE</stringProp>
14-
<stringProp name="Argument.value">120</stringProp>
15-
<stringProp name="Argument.metadata">=</stringProp>
16-
</elementProp>
177
<elementProp name="TOTAL_RATE" elementType="Argument">
188
<stringProp name="Argument.name">TOTAL_RATE</stringProp>
199
<stringProp name="Argument.value">50</stringProp>
@@ -29,7 +19,7 @@
2919
<elementProp name="ThreadGroup.main_controller" elementType="OpenModelThreadGroupController"/>
3020
</OpenModelThreadGroup>
3121
<hashTree>
32-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="GET (Spring)">
22+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="GET (Spring)" enabled="true">
3323
<stringProp name="HTTPSampler.domain">localhost</stringProp>
3424
<stringProp name="HTTPSampler.port">8081</stringProp>
3525
<stringProp name="HTTPSampler.protocol">http</stringProp>
@@ -43,7 +33,7 @@
4333
</elementProp>
4434
</HTTPSamplerProxy>
4535
<hashTree/>
46-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POST (Spring)">
36+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POST (Spring)" enabled="true">
4737
<stringProp name="HTTPSampler.domain">localhost</stringProp>
4838
<stringProp name="HTTPSampler.port">8081</stringProp>
4939
<stringProp name="HTTPSampler.protocol">http</stringProp>
@@ -57,7 +47,7 @@
5747
</elementProp>
5848
</HTTPSamplerProxy>
5949
<hashTree/>
60-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DELETE (Spring)">
50+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DELETE (Spring)" enabled="true">
6151
<stringProp name="HTTPSampler.domain">localhost</stringProp>
6252
<stringProp name="HTTPSampler.port">8081</stringProp>
6353
<stringProp name="HTTPSampler.protocol">http</stringProp>

0 commit comments

Comments
 (0)