fix: error of concurrent map writes occurred while uploading in boom mode

This commit is contained in:
xucong053
2022-06-30 23:29:16 +08:00
parent 4666d14aa5
commit 6c6742d4e4
4 changed files with 37 additions and 19 deletions

View File

@@ -117,6 +117,10 @@ func extendWithAPI(testStep *TStep, overriddenStep *API) {
}
// merge & override request
testStep.Request = overriddenStep.Request
// init upload
if testStep.Request.Upload != nil {
initUpload(testStep)
}
// merge & override variables
testStep.Variables = mergeVariables(testStep.Variables, overriddenStep.Variables)
// merge & override extractors