mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
docs: update docs
This commit is contained in:
@@ -359,7 +359,7 @@ func (b *HRPBoomer) convertBoomerTask(testcase *TestCase, rendezvousList []*Rend
|
||||
startTime := time.Now()
|
||||
for _, step := range testcase.TestSteps {
|
||||
// parse step struct
|
||||
err = sessionRunner.parseStep(step)
|
||||
err = sessionRunner.parseStepStruct(step)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("parse step struct failed")
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
v5.0.0+2411092254
|
||||
v5.0.0+2411092306
|
||||
|
||||
@@ -601,7 +601,7 @@ func (r *SessionRunner) Start(givenVars map[string]interface{}) (summary *TestCa
|
||||
return summary, errors.Wrap(code.InterruptError, "session runner interrupted")
|
||||
default:
|
||||
// parse step struct
|
||||
err = r.parseStep(step)
|
||||
err = r.parseStepStruct(step)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("parse step struct failed")
|
||||
if r.caseRunner.hrpRunner.failfast {
|
||||
@@ -682,7 +682,7 @@ func (r *SessionRunner) Start(givenVars map[string]interface{}) (summary *TestCa
|
||||
return summary, nil
|
||||
}
|
||||
|
||||
func (r *SessionRunner) parseStep(step IStep) error {
|
||||
func (r *SessionRunner) parseStepStruct(step IStep) error {
|
||||
caseConfig := r.caseRunner.TestCase.Config.Get()
|
||||
stepConfig := step.Config()
|
||||
|
||||
|
||||
@@ -254,7 +254,7 @@ func TestSessionRunner(t *testing.T) {
|
||||
t.Fatal()
|
||||
}
|
||||
|
||||
err := sessionRunner.parseStep(step)
|
||||
err := sessionRunner.parseStepStruct(step)
|
||||
if err != nil {
|
||||
t.Fatal()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user