我需要使用JMeter在Azure中进行分布式负载测试。
我不知道如何继续这样做:
你知道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创建虚拟机,一旦完成,你可以下载JMeter安装和configure it according to your test scenario。