mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-15 12:27:59 +08:00
fix: data racing when running boomer
This commit is contained in:
@@ -13,12 +13,6 @@ import (
|
||||
"github.com/httprunner/hrp/builtin"
|
||||
)
|
||||
|
||||
func parseStep(step IStep, config *TConfig) *TStep {
|
||||
tStep := step.ToStruct()
|
||||
tStep.Request.URL = buildURL(config.BaseURL, tStep.Request.URL)
|
||||
return tStep
|
||||
}
|
||||
|
||||
func buildURL(baseURL, stepURL string) string {
|
||||
uConfig, err := url.Parse(baseURL)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user