generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
14,877 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
name: Loadtests | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
### Required | ||
dops_api_url: | ||
description: 'The url endpoint for the dops' | ||
default: onroutebc-test-dops.apps.silver.devops.gov.bc.ca | ||
required: true | ||
type: string | ||
frontend_api_url: | ||
description: 'The url endpoint for the frontend' | ||
default: onroutebc-test-frontend.apps.silver.devops.gov.bc.ca | ||
required: true | ||
type: string | ||
vehciles_api_url: | ||
description: 'The url endpoint for vehicles' | ||
default: onroutebc-test-vehicles.apps.silver.devops.gov.bc.ca | ||
required: true | ||
type: string | ||
bearer_token: | ||
description: "The bearer token pertaining to the user running the tests" | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
loadtests: | ||
name: Loadtests | ||
environment: ${{ inputs.environment }} | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Run All JMeter Tests In tests Folder | ||
uses: rbhadti94/[email protected] | ||
with: | ||
testFilePath: vehicles/test/load_tests/* | ||
outputReportsFolder: results | ||
args: | | ||
--loglevel INFO | ||
--jmeterlogconf=log.conf | ||
-JBEARER_TOKEN=${{inputs.bearer_token}} | ||
-JDOPS_API_URL=${{inputs.dops_api_url}} | ||
-JFRONTEND_API_URL=${{inputs.frontend_api_url}} | ||
-JVEHICLES_API_URL=${{inputs.vehicles_api_url}} | ||
-JRESULTS_DIR=results | ||
- uses: actions/[email protected] | ||
with: | ||
name: jmeter-test-results | ||
path: results/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,3 +115,7 @@ test-report.xml | |
.vscode | ||
|
||
Chart.lock | ||
|
||
|
||
#Load Test Results | ||
*/test/load_tests/results/ |
Large diffs are not rendered by default.
Oops, something went wrong.
12,492 changes: 12,492 additions & 0 deletions
12,492
frontend/test/load_tests/orbc_load_test_plan_frontend.jmx
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
1,472 changes: 1,472 additions & 0 deletions
1,472
vehicles/test/load_tests/orbc_load_test_plan_vehicles_dev.jmx
Large diffs are not rendered by default.
Oops, something went wrong.