The Azure Quickstart templates are currently available in English
Using this template, you can create your own load test rig on Azure IaaS virtual machines. The test rig will be configured for your Azure DevOps Services account and can be used to run cloud-based load tests using Visual Studio. The cloud-load testing service will use this registered rig instead of provisioning one dynamically.
Este modelo do ARM (Azure Resource Manager) foi criado por um membro da comunidade, e não pela Microsoft. Cada modelo do ARM é licenciado para você de acordo com o contrato de licença de seu proprietário, e não da Microsoft. A Microsoft não é responsável por modelos do ARM fornecidos e licenciado por membros da comunidade e não avalia sua segurança, compatibilidade ou desempenho. Modelos do ARM da comunidade não têm suporte de nenhum programa ou serviço de suporte da Microsoft e são disponibilizados DA FORMA COMO ESTÃO, sem nenhum tipo de garantia.
Parâmetros
Nome do parâmetro | Descrição |
---|---|
azureDevOpsServicesAccount | Please enter the Azure DevOps Services account name. If you access your Azure DevOps Services account using 'https://dev.azure.com/yourAccountName' or 'https://yourAccountName.visualstudio.com', enter yourAccountName. |
personalAccessToken | Personal Access Token (PAT) for the Azure DevOps Services account. You should select the scope as 'Load test (read and write)'. Please refer 'https://www.visualstudio.com/en-us/get-started/setup/use-personal-access-tokens-to-authenticate' for more details. |
agentCount | Number of load generating agent machines to provision |
agentGroupName | LoadTest Agent Group Name (can be empty and will default to resource groupname) |
publicIPAddressType | Type of public IP allocation method |
adminUsername | Username for the virtual machine. |
adminPassword | Password for the virtual machine. |
location | Location for all resources. |
Usar o modelo
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentInstale e configure o PowerShell do Azure
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-vsts-cloudloadtest-rig/azuredeploy.json
Linha de comando
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentInstalar e configurar a Interface de Linha de Comando de Plataforma Cruzada do Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-vsts-cloudloadtest-rig/azuredeploy.json