diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index 4652c672..77dd966b 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v5.0.0+2411191057 +v5.0.0+2411192052 diff --git a/hrp/step_request.go b/hrp/step_request.go index f5f32c58..15c731f4 100644 --- a/hrp/step_request.go +++ b/hrp/step_request.go @@ -427,7 +427,6 @@ func runStepRequest(r *SessionRunner, step IStep) (stepResult *StepResult, err e err = respObj.Validate(stepRequest.Validators, stepRequest.Variables) sessionData.Validators = respObj.validationResults if err == nil { - sessionData.Success = true stepResult.Success = true } stepResult.ContentSize = resp.ContentLength diff --git a/hrp/step_websocket.go b/hrp/step_websocket.go index e8d5bcc4..7e0ee075 100644 --- a/hrp/step_websocket.go +++ b/hrp/step_websocket.go @@ -433,13 +433,11 @@ func runStepWebSocket(r *SessionRunner, step IStep) (stepResult *StepResult, err err = respObj.Validate(stepWebSocket.Validators, variables) sessionData.Validators = respObj.validationResults if err == nil { - sessionData.Success = true stepResult.Success = true } stepResult.ContentSize = getContentSize(resp) stepResult.Data = sessionData } else { - sessionData.Success = true stepResult.Success = true } diff --git a/hrp/summary.go b/hrp/summary.go index c11f69a5..22182c05 100644 --- a/hrp/summary.go +++ b/hrp/summary.go @@ -229,13 +229,11 @@ type TestCaseInOut struct { func newSessionData() *SessionData { return &SessionData{ - Success: false, ReqResps: &ReqResps{}, } } type SessionData struct { - Success bool `json:"success" yaml:"success"` ReqResps *ReqResps `json:"req_resps" yaml:"req_resps"` Address *Address `json:"address,omitempty" yaml:"address,omitempty"` // TODO Validators []*ValidationResult `json:"validators,omitempty" yaml:"validators,omitempty"`