我有以下 taurus yaml 场景,其中包含 40 个迭代和 40 个 json 文件。我在 body-file 标签中传递了这 40 个 body json 文件。但是当我运行 yaml 时,我只能看到一个请求在运行,而不是全部 40 个。请在这方面提供帮助。
execution:
- concurrency: 1
iterations: 40
hold-for: 0s
ramp-up: 0s
scenario: queryData
delay: 0s
queryData:
#data-sources:
#- /bzt/bzt_artifacts/query.csv
#delimiter: ","
requests:
- include-scenario: authCToken
- label: queryData
method: POST
url: ${TARGET_URL}
headers:
X-TR-Correlation-Id: ""
Authorization: "${authc_token}"
Content-Type: application/json
Accept: application/json
#DNT: 1
body-file: /bzt/bzt_artifacts/test1.json, test2.json etc., test100.json