你知道Cloud-based Apache JMeter Load Test task
# Cloud-based Apache JMeter Load Test
# Runs the Apache JMeter load test in cloud
- task: ApacheJMeterLoadTest@1
inputs:
#connectedServiceName: # Optional
testDrop:
loadTest: 'jmeter.jmx'
agentCount: '2'
#runDuration: '60' # Options: 60, 120, 180, 240, 300
#geoLocation: 'Default' # Optional. Options: default, australia East, australia Southeast, brazil South, central India, central US, east Asia, east US 2, east US, japan East, japan West, north Central US, north Europe, south Central US, south India, southeast Asia, west Europe, west US
#machineType: '0' # Optional. Options: 0, 2
如果您想手动完成所有操作,您可以使用 Azure CLI 或 REST API 创建 VM,完成后您可以下载 JMeter 安装和 configure it according to your test scenario。