Azure Load Testing: How to create a test using Terrform?

352 Views Asked by At

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

enter image description here

While terraform allow us to create the Azure Load Testing resource https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/load_test, I don't find an option to create a Test within the Azure Load Testing using Terraform. Is this possible?

0

There are 0 best solutions below