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

Method test_request_https

httprunner/client_test.py:19–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 self.assertGreater(address.client_port, 10000)
18
19 def test_request_https(self):
20 self.session.request("get", "https://postman-echo.com/get")
21 address = self.session.data.address
22 self.assertGreater(len(address.server_ip), 0)
23 self.assertEqual(address.server_port, 443)
24 self.assertGreater(len(address.client_ip), 0)
25 self.assertGreater(address.client_port, 10000)
26
27 def test_request_http_allow_redirects(self):
28 self.session.request(

Callers

nothing calls this directly

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected