-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
Even if a required field is present in the configuration file, the CLI should not prompt for it as a required input.
testId: demosimpleloatst
but current it throws error:
the following arguments are required: --test-id/-t
Related command
z load test create --load-test-resource $LOAD_TEST_RESOURCE -g $LOAD_TEST_RESOURCE_GROUP --load-test-config-file test.yaml --autostop disable
Errors
the following arguments are required: --test-id/-t
Issue script & Debug output
version: v0.1
testId: demosimpleloatst
displayName: Sample Test
description: Load test website home page
testPlan: SampleTest.jmx
testType: JMX
engineInstances: 1
configurationFiles:
- 'sampledata.csv'
- 'testfragment.jmx'
zipArtifacts:
- bigdata.zipExpected behavior
when Load test configuration has testId value mentioned then cli should ask for testId in command line or we should remove it from config file
Environment Summary
az --version
azure-cli 2.76.0 *
core 2.76.0 *
telemetry 1.1.0
Extensions:
load 2.1.0
ml 2.38.0
ssh 2.0.6
Dependencies:
msal 1.33.0b1
azure-mgmt-resource 23.3.0
Additional context
No response