Skip to content

Update load_test_report.md #5

Update load_test_report.md

Update load_test_report.md #5

Workflow file for this run

name: Load Test Trigger
on:
push:
branches:
- main
workflow_dispatch:
env:
AZURE_WEBAPP_NAME: "2uk5bjv3yjups-dev" # set this to your application's name
LOAD_TEST_RESOURCE: "RO-LoadTest" # set this to your Azure Load Test resource's name
LOAD_TEST_RESOURCE_GROUP: "rg-RO-MyApp" # set this to the resource group you've used for this training
jobs:
loadTest:
name: Load Test
runs-on: ubuntu-latest
steps:
- name: Checkout GitHub Actions
uses: actions/checkout@v2
- name: Login to Azure
uses: azure/login@v1
continue-on-error: false
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: 'Azure Load Testing'
uses: azure/load-testing@v1
with:
loadTestConfigFile: 'LoadTestConfig.yaml'
loadTestResource: ${{ env.LOAD_TEST_RESOURCE }}
resourceGroup: ${{ env.LOAD_TEST_RESOURCE_GROUP }}
env: |
[
{
"name": "webapp",
"value": "${{ env.AZURE_WEBAPP_NAME }}.azurewebsites.net"
}
]
- uses: JasonEtco/[email protected]
if: ${{ failure() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/ISSUE_TEMPLATE/load_test_report.md
- uses: actions/upload-artifact@v2
with:
name: loadTestResults
path: ${{ github.workspace }}/loadTest