Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions performance-tests/STS/nurse-journey.jmx
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@
</elementProp>
<elementProp name="Loops" elementType="Argument">
<stringProp name="Argument.name">Loops</stringProp>
<stringProp name="Argument.value">${__P(Loops, 10)}</stringProp>
<stringProp name="Argument.value">${__P(Loops, 2)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
<stringProp name="Argument.desc">How many loops total (must be multiple times higher than vaccinationloop)</stringProp>
</elementProp>
<elementProp name="Threads" elementType="Argument">
<stringProp name="Argument.name">Threads</stringProp>
<stringProp name="Argument.value">${__P(Threads, 1)}</stringProp>
<stringProp name="Argument.value">${__P(Threads, 4)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
<stringProp name="Argument.desc"></stringProp>
</elementProp>
Expand All @@ -147,7 +147,7 @@
</elementProp>
<elementProp name="URN" elementType="Argument">
<stringProp name="Argument.name">URN</stringProp>
<stringProp name="Argument.value">${__P(URN, 104698)}</stringProp>
<stringProp name="Argument.value">${__P(URN, 108657)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
Expand Down Expand Up @@ -874,7 +874,7 @@ log.info(&quot;Total Vaccinations found for &quot; + vars.get(&quot;SessionId&qu
<boolProp name="TransactionController.includeTimers">false</boolProp>
</TransactionController>
<hashTree>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Choose session" enabled="true">
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Choose session">
<stringProp name="scriptLanguage">groovy</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
Expand Down Expand Up @@ -1392,7 +1392,7 @@ for(loop=1;loop&lt;=PatientCount;loop++){
<hashTree/>
</hashTree>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="2.5 Select patient">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="2.5 Select patient" enabled="true">
<stringProp name="HTTPSampler.path">sessions/${SessionId}/patients/${PatientId}/${VaccineName}?return_to=consent</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
Expand Down Expand Up @@ -1477,7 +1477,7 @@ vars.put(&quot;vaccineCount&quot;,vaccineCount.toString())
<stringProp name="RegexExtractor.match_number">1</stringProp>
</RegexExtractor>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ConsentGiven">
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ConsentGiven" enabled="true">
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">ConsentGiven</stringProp>
<stringProp name="RegexExtractor.regex">&lt;h3 class=&quot;nhsuk-heading-m&quot;&gt;Consent&lt;\/h3&gt;[\S\s]*?: (.*?)&lt;</stringProp>
Expand Down Expand Up @@ -1519,8 +1519,17 @@ vars.put(&quot;vaccineCount&quot;,vaccineCount.toString())
<hashTree/>
</hashTree>
</hashTree>
<IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Not Consented">
<stringProp name="IfController.condition">${__jexl3(&quot;${ConsentGiven}&quot; != &quot;Consent given for nasal spray&quot;)}</stringProp>
<DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true">
<boolProp name="displayJMeterProperties">false</boolProp>
<boolProp name="displayJMeterVariables">true</boolProp>
<boolProp name="displaySystemProperties">false</boolProp>
</DebugSampler>
<hashTree/>
<IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Not Consented" enabled="true">
<stringProp name="IfController.condition">//From Flu it&apos;s &apos;Consent given for nasal spray&apos;
//From others it&apos;s &apos;Consent given&apos;

${__jexl3(&quot;${ConsentGiven}&quot;!^&quot;Consent given&quot;)}</stringProp>
<boolProp name="IfController.evaluateAll">false</boolProp>
<boolProp name="IfController.useExpression">true</boolProp>
</IfController>
Expand Down
Loading