Skip to content

Commit 7efc603

Browse files
authored
Merge pull request #684 from NHSDigital/perftest-multisession-test-part1
Perftest multisession test part1
2 parents 0d0dd7f + 2c4eee8 commit 7efc603

File tree

2 files changed

+551
-556
lines changed

2 files changed

+551
-556
lines changed

.github/workflows/performance.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
description: "Create and import a cohort (not needed if there are already enough patients)"
1212
required: true
1313
type: boolean
14-
default: true
14+
default: false
1515
runConsent:
1616
description: "Run consent journey"
1717
required: true
@@ -52,10 +52,10 @@ on:
5252
type: string
5353
default: '1000'
5454
user:
55-
description: "Optional (default Nurse Jackie) user."
55+
description: "Optional (default Nurse perftest) user."
5656
required: true
5757
type: string
58-
default: 'nurse.jackie@example.org'
58+
default: 'nurse.perftest@example.com'
5959

6060
jobs:
6161
nurse_journey_performance_test:
@@ -166,6 +166,7 @@ jobs:
166166
-JURN=${{inputs.URN}}
167167
168168
- name: Upload consent journey JMeter output
169+
if: inputs.runConsent == true
169170
uses: actions/upload-artifact@v4
170171
with:
171172
name: jmeter-consent-journey-output-${{ env.timestamp }}
@@ -194,13 +195,15 @@ jobs:
194195
-JURN=${{inputs.URN}}
195196
196197
- name: Upload nurse journey JMeter output
198+
if: inputs.runNurse == true
197199
uses: actions/upload-artifact@v4
198200
with:
199201
name: jmeter-nurse-journey-output-${{ env.timestamp }}
200202
path: nurse-output
201203
if-no-files-found: warn
202204

203205
- name: Publish report to GH Pages
206+
if: inputs.runNurse == true
204207
uses: peaceiris/actions-gh-pages@v4
205208
with:
206209
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -212,4 +215,4 @@ jobs:
212215
- name: Set Job Summary
213216
run: |
214217
echo "Test report URL is https://nhsdigital.github.io/manage-vaccinations-in-schools-testing/JMeter/report-${{ env.timestamp }}/" >> $GITHUB_STEP_SUMMARY
215-
218+

0 commit comments

Comments
 (0)