Skip to content

Commit b1b2b8b

Browse files
authored
Changes to run the test on Test
1 parent 5c9d279 commit b1b2b8b

File tree

6 files changed

+5873
-73
lines changed

6 files changed

+5873
-73
lines changed

performance-tests/E2E/consent-journey.jmx

Lines changed: 52 additions & 45 deletions
Large diffs are not rendered by default.

performance-tests/E2E/generate-cohort.jmx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</elementProp>
2121
</ThreadGroup>
2222
<hashTree>
23-
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Generate cohort row">
23+
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Generate cohort row" enabled="true">
2424
<stringProp name="cacheKey">true</stringProp>
2525
<stringProp name="filename"></stringProp>
2626
<stringProp name="parameters"></stringProp>
@@ -171,7 +171,7 @@ writer.close();</stringProp>
171171
</elementProp>
172172
<elementProp name="URN" elementType="Argument">
173173
<stringProp name="Argument.name">URN</stringProp>
174-
<stringProp name="Argument.value">${__P(URN, 100007)}</stringProp>
174+
<stringProp name="Argument.value">${__P(URN, 120281)}</stringProp>
175175
<stringProp name="Argument.metadata">=</stringProp>
176176
</elementProp>
177177
<elementProp name="RowCount" elementType="Argument">
@@ -182,7 +182,7 @@ writer.close();</stringProp>
182182
</collectionProp>
183183
</Arguments>
184184
<hashTree/>
185-
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree">
185+
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
186186
<boolProp name="ResultCollector.error_logging">false</boolProp>
187187
<objProp>
188188
<name>saveConfig</name>

performance-tests/E2E/nurse-journey.jmx

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments">
66
<collectionProp name="Arguments.arguments"/>
77
</elementProp>
8+
<boolProp name="TestPlan.functional_mode">false</boolProp>
9+
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
810
</TestPlan>
911
<hashTree>
1012
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header manager">
@@ -52,7 +54,7 @@
5254
<stringProp name="variableNames"></stringProp>
5355
</CSVDataSet>
5456
<hashTree/>
55-
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
57+
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="false">
5658
<collectionProp name="Arguments.arguments">
5759
<elementProp name="AuthToken" elementType="Argument">
5860
<stringProp name="Argument.name">AuthToken</stringProp>
@@ -110,7 +112,7 @@
110112
</collectionProp>
111113
</Arguments>
112114
<hashTree/>
113-
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables standalone" enabled="false">
115+
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables standalone">
114116
<collectionProp name="Arguments.arguments">
115117
<elementProp name="AuthToken" elementType="Argument">
116118
<stringProp name="Argument.name">AuthToken</stringProp>
@@ -129,7 +131,7 @@
129131
</elementProp>
130132
<elementProp name="Loops" elementType="Argument">
131133
<stringProp name="Argument.name">Loops</stringProp>
132-
<stringProp name="Argument.value">${__P(Loops, 1)}</stringProp>
134+
<stringProp name="Argument.value">${__P(Loops, 5)}</stringProp>
133135
<stringProp name="Argument.metadata">=</stringProp>
134136
<stringProp name="Argument.desc">How many loops total (must be multiple times higher than vaccinationloop)</stringProp>
135137
</elementProp>
@@ -168,7 +170,7 @@
168170
</collectionProp>
169171
</Arguments>
170172
<hashTree/>
171-
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
173+
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="false">
172174
<stringProp name="HTTPSampler.domain">qa.mavistesting.com</stringProp>
173175
<stringProp name="HTTPSampler.protocol">https</stringProp>
174176
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
@@ -177,6 +179,15 @@
177179
<stringProp name="HTTPSampler.implementation"></stringProp>
178180
</ConfigTestElement>
179181
<hashTree/>
182+
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults test">
183+
<stringProp name="HTTPSampler.domain">test.mavistesting.com</stringProp>
184+
<stringProp name="HTTPSampler.protocol">https</stringProp>
185+
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
186+
<collectionProp name="Arguments.arguments"/>
187+
</elementProp>
188+
<stringProp name="HTTPSampler.implementation"></stringProp>
189+
</ConfigTestElement>
190+
<hashTree/>
180191
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults localhost" enabled="false">
181192
<stringProp name="HTTPSampler.domain">localhost</stringProp>
182193
<stringProp name="HTTPSampler.port">4000</stringProp>
@@ -326,7 +337,7 @@ vars.put(&quot;SessionId&quot;, cohortCodes.get(vars.get(&quot;CHILD_SCHOOL_URN&
326337
</ConstantTimer>
327338
<hashTree/>
328339
</hashTree>
329-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="1.3 Sign-in" enabled="true">
340+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="1.3 Sign-in">
330341
<stringProp name="HTTPSampler.path">users/sign-in</stringProp>
331342
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
332343
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -337,14 +348,14 @@ vars.put(&quot;SessionId&quot;, cohortCodes.get(vars.get(&quot;CHILD_SCHOOL_URN&
337348
<elementProp name="user[email]" elementType="HTTPArgument">
338349
<boolProp name="HTTPArgument.always_encode">true</boolProp>
339350
<stringProp name="Argument.name">user[email]</stringProp>
340-
<stringProp name="Argument.value">nurse.jackie@example.org</stringProp>
351+
<stringProp name="Argument.value">nurse.flo@example.nhs.uk</stringProp>
341352
<stringProp name="Argument.metadata">=</stringProp>
342353
<boolProp name="HTTPArgument.use_equals">true</boolProp>
343354
</elementProp>
344355
<elementProp name="user[password]" elementType="HTTPArgument">
345356
<boolProp name="HTTPArgument.always_encode">true</boolProp>
346357
<stringProp name="Argument.name">user[password]</stringProp>
347-
<stringProp name="Argument.value">nurse.jackie@example.org</stringProp>
358+
<stringProp name="Argument.value">nurse.flo@example.nhs.uk</stringProp>
348359
<stringProp name="Argument.metadata">=</stringProp>
349360
<boolProp name="HTTPArgument.use_equals">true</boolProp>
350361
</elementProp>
@@ -749,7 +760,7 @@ log.info(&quot;session ID is &quot; + vars.get(&quot;SessionId&quot;))</stringPr
749760
<boolProp name="IfController.useExpression">false</boolProp>
750761
</IfController>
751762
<hashTree>
752-
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="2.0 Register attendance">
763+
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="2.0 Register attendance" enabled="true">
753764
<boolProp name="TransactionController.includeTimers">false</boolProp>
754765
</TransactionController>
755766
<hashTree>
@@ -831,7 +842,7 @@ log.info(&quot;session ID is &quot; + vars.get(&quot;SessionId&quot;))</stringPr
831842
</RegexExtractor>
832843
<hashTree/>
833844
</hashTree>
834-
<DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler">
845+
<DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true">
835846
<boolProp name="displayJMeterProperties">false</boolProp>
836847
<boolProp name="displayJMeterVariables">true</boolProp>
837848
<boolProp name="displaySystemProperties">false</boolProp>
@@ -1189,7 +1200,7 @@ log.info(&quot;session ID is &quot; + vars.get(&quot;SessionId&quot;))</stringPr
11891200
</ResponseAssertion>
11901201
<hashTree/>
11911202
</hashTree>
1192-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="3.3 Nurse triage complete">
1203+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="3.3 Nurse triage complete" enabled="true">
11931204
<stringProp name="HTTPSampler.path">sessions/${SessionId}/patients/${PatientId}/hpv</stringProp>
11941205
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11951206
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -1226,11 +1237,11 @@ log.info(&quot;session ID is &quot; + vars.get(&quot;SessionId&quot;))</stringPr
12261237
</hashTree>
12271238
</hashTree>
12281239
</hashTree>
1229-
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="4.0 Vaccination">
1240+
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="4.0 Vaccination" enabled="true">
12301241
<boolProp name="TransactionController.includeTimers">false</boolProp>
12311242
</TransactionController>
12321243
<hashTree>
1233-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4.1 Vaccination questions">
1244+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4.1 Vaccination questions" enabled="true">
12341245
<stringProp name="HTTPSampler.path">sessions/${SessionId}/patients/${PatientId}/hpv/vaccinations</stringProp>
12351246
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
12361247
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -1384,7 +1395,7 @@ log.info(&quot;session ID is &quot; + vars.get(&quot;SessionId&quot;))</stringPr
13841395
</ResponseAssertion>
13851396
<hashTree/>
13861397
</hashTree>
1387-
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Check for no vaccine batch">
1398+
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Check for no vaccine batch" enabled="true">
13881399
<stringProp name="scriptLanguage">groovy</stringProp>
13891400
<stringProp name="parameters"></stringProp>
13901401
<stringProp name="filename"></stringProp>
@@ -1397,7 +1408,7 @@ if(vars.get(&quot;BatchId&quot;)==&quot;BatchId_NotFound&quot;){
13971408
</stringProp>
13981409
</JSR223Sampler>
13991410
<hashTree/>
1400-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4.2 Vaccination batch">
1411+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4.2 Vaccination batch" enabled="true">
14011412
<stringProp name="HTTPSampler.path">draft-vaccination-record/batch</stringProp>
14021413
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
14031414
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -3173,7 +3184,7 @@ vars.put(&quot;ParentPhone&quot;,vars.get(&quot;ExistingContact_g4&quot;));</str
31733184
<boolProp name="IfController.useExpression">false</boolProp>
31743185
</IfController>
31753186
<hashTree>
3176-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4.1 Vaccination questions">
3187+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4.1 Vaccination questions" enabled="true">
31773188
<stringProp name="HTTPSampler.path">sessions/${SessionId}/patients/${PatientId}/${VaccinationPage}/vaccinations</stringProp>
31783189
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
31793190
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -3332,7 +3343,7 @@ vars.put(&quot;ParentPhone&quot;,vars.get(&quot;ExistingContact_g4&quot;));</str
33323343
<hashTree/>
33333344
</hashTree>
33343345
</hashTree>
3335-
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Check for no vaccine batch">
3346+
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Check for no vaccine batch" enabled="true">
33363347
<stringProp name="scriptLanguage">groovy</stringProp>
33373348
<stringProp name="parameters"></stringProp>
33383349
<stringProp name="filename"></stringProp>
@@ -3351,7 +3362,7 @@ if(vars.get(&quot;BatchId&quot;)==&quot;BatchId_NotFound&quot;){
33513362
<boolProp name="IfController.useExpression">false</boolProp>
33523363
</IfController>
33533364
<hashTree>
3354-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4.1 Vaccination questions">
3365+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4.1 Vaccination questions" enabled="true">
33553366
<stringProp name="HTTPSampler.path">sessions/${SessionId}/patients/${PatientId}/${VaccinationPage}/vaccinations</stringProp>
33563367
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
33573368
<stringProp name="HTTPSampler.method">POST</stringProp>

0 commit comments

Comments
 (0)