feat: buildURL

This commit is contained in:
debugtalk
2021-09-23 11:23:26 +08:00
parent 102b8a94a3
commit cc386767ca
3 changed files with 58 additions and 6 deletions

View File

@@ -44,12 +44,6 @@ func (r *Runner) runCase(testcase *TestCase) error {
return nil
}
func parseStep(step IStep, config *TConfig) *TStep {
tStep := step.ToStruct()
tStep.Request.URL = config.BaseURL + tStep.Request.URL
return tStep
}
func (r *Runner) runStep(step *TStep) error {
log.Printf("run step begin: %v >>>>>>", step.Name)
var v []interface{}