I have created a test in Azure Load Testing using Azure CLI
az group create --name sample-rg --location westus2
az load create --name sample-resource --resource-group sample-rg --location westus2
az load test create --test-id sample-test-id --load-test-resource sample-resource --resource-group sample-rg --display-name "Find IP" --description "Test description" --test-plan IPLoadTesting.jmx --engine-instances 1 --env rps=2 count=1
However how to upload the supportive CSV file for the load test?
To upload
CSV
files to Azure Load Test usingPowerShell
.To check the Azure Load Test Test IDs, you can use the following command.
Output:
To upload the CSV file to Azure Load Test using PowerShell.
Output:
Once ran the above script, the CSV file has been uploaded to Azure Load Test in the Azure Portal
Reference: az load test file upload