Skip to content

Commit 873cc93

Browse files
authored
Merge pull request #152 from NHSDigital/nurse-journey-with-data
Nurse journey with data
2 parents c9ab743 + 937e35a commit 873cc93

File tree

3 files changed

+3453
-90
lines changed

3 files changed

+3453
-90
lines changed

.github/workflows/perf-test-with-data.yml

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -85,32 +85,33 @@ jobs:
8585
import_output_dir=import-output
8686
echo "Placeholder step for file import"
8787
88-
- name: Run Consent Journey for imported records (2K records)
89-
run: |
90-
mkdir -p consent-output
91-
consent_output_dir=consent-output
92-
jmeter/bin/jmeter -n -t performance-tests/E2E/consent-journey.jmx \
93-
-l $consent_output_dir/samples.jtl \
94-
-j $consent_output_dir/jmeter.log \
95-
-e -o $consent_output_dir/consent-report \
96-
-JURN=${{inputs.urn}} \
97-
-JAuthToken=${{secrets.HTTP_AUTH_TOKEN_FOR_TESTS}} \
98-
-JInputFile=${{inputs.input_file}}
88+
# - name: Run Consent Journey for imported records (2K records)
89+
# run: |
90+
# mkdir -p consent-output
91+
# consent_output_dir=consent-output
92+
# jmeter/bin/jmeter -n -t performance-tests/E2E/consent-journey.jmx \
93+
# -l $consent_output_dir/samples.jtl \
94+
# -j $consent_output_dir/jmeter.log \
95+
# -e -o $consent_output_dir/consent-report \
96+
# -JURN=${{inputs.urn}} \
97+
# -JAuthToken=${{secrets.HTTP_AUTH_TOKEN_FOR_TESTS}} \
98+
# -JInputFile=${{inputs.input_file}}
9999

100100
- name: Run nurse journey JMeter test
101101
run: |
102102
mkdir -p nurse-output
103103
nurse_output_dir=nurse-output
104-
# jmeter/bin/jmeter -n -t performance-tests/nurse-journey.jmx \
105-
# -l $nurse_output_dir/samples.jtl \
106-
# -j $nurse_output_dir/jmeter.log \
107-
# -e -o $nurse_output_dir/report \
108-
# -JSessionSlug=${{inputs.session_slug}} \
109-
# -JAuthToken=${{secrets.HTTP_AUTH_TOKEN_FOR_TESTS}} \
110-
# -JDuration=${{inputs.duration}} \
111-
# -JThreads=${{inputs.threads}} \
112-
# -JRampUp=${{inputs.ramp_up}} \
113-
# -JVaccinationLoop=${{inputs.vaccination_loop}}
104+
jmeter/bin/jmeter -n -t performance-tests/nurse-journey.jmx \
105+
-l $nurse_output_dir/samples.jtl \
106+
-j $nurse_output_dir/jmeter.log \
107+
-e -o $nurse_output_dir/report \
108+
-JURN=${{inputs.urn}} \
109+
-JAuthToken=${{secrets.HTTP_AUTH_TOKEN_FOR_TESTS}} \
110+
-JDuration=${{inputs.duration}} \
111+
-JThreads=${{inputs.threads}} \
112+
-JRampUp=${{inputs.ramp_up}} \
113+
-JVaccinationLoop=${{inputs.vaccination_loop}}
114+
-JInputFile=${{inputs.input_file}}
114115
115116
- name: Upload consent journey JMeter output
116117
uses: actions/upload-artifact@v4
@@ -119,9 +120,9 @@ jobs:
119120
path: consent-output
120121
if-no-files-found: error
121122

122-
# - name: Upload nurse journey JMeter output
123-
# uses: actions/upload-artifact@v4
124-
# with:
125-
# name: jmeter-nurse-journey-output-${{ env.timestamp }}
126-
# path: nurse-output
127-
# if-no-files-found: error
123+
- name: Upload nurse journey JMeter output
124+
uses: actions/upload-artifact@v4
125+
with:
126+
name: jmeter-nurse-journey-output-${{ env.timestamp }}
127+
path: nurse-output
128+
if-no-files-found: error

0 commit comments

Comments
 (0)