MCPcopy
hub / github.com/httprunner/httprunner / with_data

Method with_data

httprunner/step_request.py:399–401  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

397 return self
398
399 def with_data(self, data) -> "RequestWithOptionalArgs":
400 self.__step.request.data = data
401 return self
402
403 def with_json(self, req_json) -> "RequestWithOptionalArgs":
404 self.__step.request.req_json = req_json

Calls

no outgoing calls

Tested by

no test coverage detected