From a270a53deee304a7ae7ce2c3b3504383b78bedca Mon Sep 17 00:00:00 2001 From: mbhardwaj-msft <169130830+mbhardwaj-msft@users.noreply.github.com> Date: Wed, 19 Nov 2025 12:16:01 +0000 Subject: [PATCH 1/2] Update dataplane token scope to new URI --- CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ README.md | 6 +++--- lib/mappers.js | 2 +- src/mappers.ts | 2 +- 4 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..cf0e885a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,35 @@ +# Changelog + +All notable changes to the Azure Load Testing GitHub Action will be documented in this file. + +## [v2] - 2025-11 + +### Recommended Version +**v2 is now the recommended version for all users.** + +### Changed +- Updated data plane token scope from `https://loadtest.azure-dev.com` to `https://cnt-prod.loadtesting.azure.com` for production Azure Load Testing service. + +### Migration Guide +To migrate from v1 to v2, update your workflow file: + +```yaml +# Before (v1) +- uses: azure/load-testing@v1 + +# After (v2) +- uses: azure/load-testing@v2 +``` + +No other changes are required. All existing functionality and parameters remain the same. + +## [v1] - Previous Release + +### Features +- Initial release of Azure Load Testing GitHub Action +- Support for running load tests with Azure Load Testing service +- Integration with GitHub Actions workflows +- Support for JMeter scripts, Locust tests, and URL-based tests +- Pass/Fail criteria configuration +- Secret and environment variable injection +- Multi-region testing support diff --git a/README.md b/README.md index 9aa42bbc..d91206b3 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ For using any credentials like Azure Service Principal in your workflow, add the ## Azure Load Testing Action -This section describes the Azure Load Testing GitHub action. You can use this action by referencing `azure/load-testing@v1` action in your workflow. The action runs on Windows, Linux, and Mac runners. +This section describes the Azure Load Testing GitHub action. You can use this action by referencing `azure/load-testing@v2` action in your workflow. The action runs on Windows, Linux, and Mac runners. You can use the following parameters to configure the GitHub action. @@ -76,7 +76,7 @@ The following YAML code snippet describes how to use the action in a GitHub Acti ```yaml - name: 'Azure Load Testing' - uses: azure/load-testing@v1 + uses: azure/load-testing@v2 with: loadTestConfigFile: '< YAML File path>' loadTestResource: '' @@ -131,7 +131,7 @@ jobs: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: 'Azure Load Testing' - uses: azure/load-testing@v1 + uses: azure/load-testing@v2 with: loadTestConfigFile: 'SampleApp.yaml' loadTestResource: 'loadTestResourceName' diff --git a/lib/mappers.js b/lib/mappers.js index 585aef27..5fded64e 100644 --- a/lib/mappers.js +++ b/lib/mappers.js @@ -58,7 +58,7 @@ var resourceId = ""; var subscriptionID = ""; var environment = "AzureCloud"; var armTokenScope = "https://management.core.windows.net"; -var dataPlaneTokenScope = "https://loadtest.azure-dev.com"; +var dataPlaneTokenScope = "https://cnt-prod.loadtesting.azure.com"; var armEndpoint = "https://management.azure.com"; var tenantId = ""; var yamlFile = ""; diff --git a/src/mappers.ts b/src/mappers.ts index 05862530..2bfa07e3 100644 --- a/src/mappers.ts +++ b/src/mappers.ts @@ -26,7 +26,7 @@ var resourceId = ""; var subscriptionID = ""; var environment="AzureCloud"; var armTokenScope="https://management.core.windows.net"; -var dataPlaneTokenScope="https://loadtest.azure-dev.com"; +var dataPlaneTokenScope="https://cnt-prod.loadtesting.azure.com"; var armEndpoint="https://management.azure.com"; var tenantId = ""; var yamlFile = ""; From 80d1c78e566a6f3a7254422692417d425f050c9f Mon Sep 17 00:00:00 2001 From: mbhardwaj-msft <169130830+mbhardwaj-msft@users.noreply.github.com> Date: Wed, 19 Nov 2025 12:37:03 +0000 Subject: [PATCH 2/2] stay at v1 --- CHANGELOG.md | 17 ++--------------- README.md | 8 ++++---- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf0e885a..618e1aed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,27 +2,14 @@ All notable changes to the Azure Load Testing GitHub Action will be documented in this file. -## [v2] - 2025-11 +## [v1] - 2025-11 ### Recommended Version -**v2 is now the recommended version for all users.** +**v1 is the recommended version for all users.** ### Changed - Updated data plane token scope from `https://loadtest.azure-dev.com` to `https://cnt-prod.loadtesting.azure.com` for production Azure Load Testing service. -### Migration Guide -To migrate from v1 to v2, update your workflow file: - -```yaml -# Before (v1) -- uses: azure/load-testing@v1 - -# After (v2) -- uses: azure/load-testing@v2 -``` - -No other changes are required. All existing functionality and parameters remain the same. - ## [v1] - Previous Release ### Features diff --git a/README.md b/README.md index d91206b3..e653142f 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ For using any credentials like Azure Service Principal in your workflow, add the ## Azure Load Testing Action -This section describes the Azure Load Testing GitHub action. You can use this action by referencing `azure/load-testing@v2` action in your workflow. The action runs on Windows, Linux, and Mac runners. +This section describes the Azure Load Testing GitHub action. You can use this action by referencing `azure/load-testing@v1` action in your workflow. The action runs on Windows, Linux, and Mac runners. You can use the following parameters to configure the GitHub action. @@ -76,7 +76,7 @@ The following YAML code snippet describes how to use the action in a GitHub Acti ```yaml - name: 'Azure Load Testing' - uses: azure/load-testing@v2 + uses: azure/load-testing@v1 with: loadTestConfigFile: '< YAML File path>' loadTestResource: '' @@ -122,7 +122,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout GitHub Actions - uses: actions/checkout@v2 + uses: actions/checkout@v1 - name: Login to Azure uses: azure/login@v1 @@ -131,7 +131,7 @@ jobs: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: 'Azure Load Testing' - uses: azure/load-testing@v2 + uses: azure/load-testing@v1 with: loadTestConfigFile: 'SampleApp.yaml' loadTestResource: 'loadTestResourceName'