Skip to content

Commit 3d5f50b

Browse files
authored
upload cohort fix
Changes to allow the script to work with the new organisations page
1 parent 45d554f commit 3d5f50b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

performance-tests/E2E/upload-cohort-data.jmx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</collectionProp>
4444
</HeaderManager>
4545
<hashTree/>
46-
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="false">
46+
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
4747
<collectionProp name="Arguments.arguments">
4848
<elementProp name="BaseDirectory" elementType="Argument">
4949
<stringProp name="Argument.name">BaseDirectory</stringProp>
@@ -67,7 +67,7 @@
6767
</elementProp>
6868
<elementProp name="AuthToken" elementType="Argument">
6969
<stringProp name="Argument.name">AuthToken</stringProp>
70-
<stringProp name="Argument.value">${__P(AuthToken,null)}</stringProp>
70+
<stringProp name="Argument.value">${__P(AuthToken,bWFuYWdlOnZhY2NpbmF0aW9ucw==)}</stringProp>
7171
<stringProp name="Argument.metadata">=</stringProp>
7272
</elementProp>
7373
<elementProp name="Threads" elementType="Argument">
@@ -88,7 +88,7 @@
8888
</collectionProp>
8989
</Arguments>
9090
<hashTree/>
91-
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables standalone">
91+
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables standalone" enabled="false">
9292
<collectionProp name="Arguments.arguments">
9393
<elementProp name="BaseDirectory" elementType="Argument">
9494
<stringProp name="Argument.name">BaseDirectory</stringProp>
@@ -176,7 +176,7 @@
176176
<boolProp name="CacheManager.controlledByThread">false</boolProp>
177177
</CacheManager>
178178
<hashTree/>
179-
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
179+
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group">
180180
<stringProp name="ThreadGroup.num_threads">${Threads}</stringProp>
181181
<stringProp name="ThreadGroup.ramp_time">${RampUp}</stringProp>
182182
<stringProp name="ThreadGroup.duration">${Duration}</stringProp>
@@ -206,11 +206,11 @@
206206
</HTTPSamplerProxy>
207207
<hashTree/>
208208
</hashTree>
209-
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Sign In Page">
209+
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Sign In Page" enabled="true">
210210
<boolProp name="TransactionController.includeTimers">false</boolProp>
211211
</TransactionController>
212212
<hashTree>
213-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="https://qa.mavistesting.com/users/sign-in">
213+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="https://qa.mavistesting.com/users/sign-in" enabled="true">
214214
<stringProp name="HTTPSampler.path">users/sign-in</stringProp>
215215
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
216216
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -297,10 +297,10 @@
297297
<stringProp name="ConstantTimer.delay">${__Random(20000,35000,)}</stringProp>
298298
</ConstantTimer>
299299
<hashTree/>
300-
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Organisation ID Extractor" enabled="true">
300+
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Organisation ID Extractor">
301301
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
302302
<stringProp name="RegexExtractor.refname">organisationId</stringProp>
303-
<stringProp name="RegexExtractor.regex">organisation_id&quot; type=&quot;submit&quot; value=&quot;(.*?)&quot;</stringProp>
303+
<stringProp name="RegexExtractor.regex">class=&quot;nhsuk-radios__input&quot; type=&quot;radio&quot; value=&quot;(.*?)&quot;</stringProp>
304304
<stringProp name="RegexExtractor.template">$1$</stringProp>
305305
<stringProp name="RegexExtractor.default">orgNotFound</stringProp>
306306
<boolProp name="RegexExtractor.default_empty_value">false</boolProp>
@@ -309,21 +309,21 @@
309309
<hashTree/>
310310
</hashTree>
311311
</hashTree>
312-
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Select Organisations" enabled="true">
312+
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Select Organisations">
313313
<boolProp name="TransactionController.includeTimers">false</boolProp>
314314
</TransactionController>
315315
<hashTree>
316-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="https://qa.mavistesting.com/users/organisations" enabled="true">
316+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="https://qa.mavistesting.com/users/organisations">
317317
<stringProp name="HTTPSampler.path">users/organisations</stringProp>
318318
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
319319
<stringProp name="HTTPSampler.method">POST</stringProp>
320320
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
321321
<boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
322322
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
323323
<collectionProp name="Arguments.arguments">
324-
<elementProp name="organisation_id" elementType="HTTPArgument">
324+
<elementProp name="select_organisation_form[organisation_id]" elementType="HTTPArgument">
325325
<boolProp name="HTTPArgument.always_encode">true</boolProp>
326-
<stringProp name="Argument.name">organisation_id</stringProp>
326+
<stringProp name="Argument.name">select_organisation_form[organisation_id]</stringProp>
327327
<stringProp name="Argument.value">${organisationId}</stringProp>
328328
<stringProp name="Argument.metadata">=</stringProp>
329329
<boolProp name="HTTPArgument.use_equals">true</boolProp>
@@ -358,7 +358,7 @@
358358
<boolProp name="TransactionController.includeTimers">false</boolProp>
359359
</TransactionController>
360360
<hashTree>
361-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="https://qa.mavistesting.com/imports" enabled="true">
361+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="https://qa.mavistesting.com/imports">
362362
<stringProp name="HTTPSampler.path">imports</stringProp>
363363
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
364364
<stringProp name="HTTPSampler.method">GET</stringProp>

0 commit comments

Comments
 (0)