MCPcopy Index your code
hub / github.com/httprunner/httprunner / StepResult

Class StepResult

httprunner/models.py:247–257  ·  view source on GitHub ↗

teststep data, each step maybe corresponding to one request or one testcase

Source from the content-addressed store, hash-verified

245
246
247class StepResult(BaseModel):
248 """teststep data, each step maybe corresponding to one request or one testcase"""
249
250 name: Text = "" # teststep name
251 step_type: Text = "" # teststep type, request or testcase
252 success: bool = False
253 data: Union[SessionData, List["StepResult"]] = None
254 elapsed: float = 0.0 # teststep elapsed time
255 content_size: float = 0 # response content size
256 export_vars: VariablesMapping = {}
257 attachment: Text = "" # teststep attachment
258
259
260StepResult.update_forward_refs()

Callers 4

run_step_requestFunction · 0.90
run_step_thrift_requestFunction · 0.90
run_step_testcaseFunction · 0.90
run_step_sql_requestFunction · 0.90

Calls

no outgoing calls

Tested by 1

run_step_testcaseFunction · 0.72