Describe the bug
While creating a new load test via pipeline, by using
version: v0.1
testId: SampleTest
displayName: Sample Test
testPlan: SampleTest.jmx
description: Load test website home page
...
if the testId does not exist, it should create a new load test in the Resource Group. Based on what we observed, On Monday, July 26th, the test creation was successful, but since that day, the pipeline would fail if the test does not exist and it does not create a new test with a new testId and shows this error:
error:
`{ error:
{ code: 'TestNotFound',
message: 'Test couldn\'t find with given identifier NAME',
target: null,
details: null } }
##[error]Error in getting the test.`
Based on the recent changes on this repo, this message was an added part in recent changes (2 days ago)
so now as long as the testId already exists the pipeline would update the values and run a new test, but it cannot create a new test with a new testId
Expected behavior
The pipeline will fail with error: Error in getting the test.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [iOS]
Browser [chrome,]
Version [13.4.1 ]
Smartphone (please complete the following information):
NA
Additional context
The last time the test creation was successful was July 26th, 2023.
By looking at the repo we found that the error is coming from here probably:
Describe the bug While creating a new load test via pipeline, by using
if the
testId
does not exist, it should create a new load test in the Resource Group. Based on what we observed, On Monday, July 26th, the test creation was successful, but since that day, the pipeline would fail if the test does not exist and it does not create a new test with a newtestId
and shows this error:Based on the recent changes on this repo, this message was an added part in recent changes (2 days ago) so now as long as the
testId
already exists the pipeline would update the values and run a new test, but it cannot create a new test with a newtestId
To Reproduce Steps to reproduce the behavior:
Expected behavior The pipeline will fail with error:
Error in getting the test.
Screenshots If applicable, add screenshots to help explain your problem.![Screenshot 2023-06-28 at 9 54 58 PM](https://github.com/Azure/load-testing/assets/137946349/14229d32-b2bc-4dd4-aba9-91cb76a27425)
Desktop (please complete the following information):
Smartphone (please complete the following information): NA
Additional context The last time the test creation was successful was July 26th, 2023. By looking at the repo we found that the error is coming from here probably:![Screenshot 2023-06-28 at 9 43 54 PM](https://github.com/Azure/load-testing/assets/137946349/f00ea89a-478c-4103-9f5d-efdf568d1064)