MCPcopy Create free account
hub / github.com/apache/httpd / run

Method run

test/modules/core/test_002_restarts.py:24–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 self._thread = None
23
24 def run(self):
25 self.total_requests = self.clients * self.req_per_client
26 conn_per_client = 5
27 args = [self.env.h2load, f"--connect-to=localhost:{self.env.https_port}",
28 "--h1", # use only http/1.1
29 "-n", str(self.total_requests), # total # of requests to make
30 "-c", str(conn_per_client * self.clients), # total # of connections to make
31 "-r", str(self.clients), # connections at a time
32 "--rate-period", "2", # create conns every 2 sec
33 self.url,
34 ]
35 self.result = self.env.run(args)
36
37 def start(self):
38 self._thread = Thread(target=self.run)

Callers 15

get_apxs_varMethod · 0.45
a2mdMethod · 0.45
check_md_completeMethod · 0.45
get_server_certMethod · 0.45
get_ocsp_statusMethod · 0.45
test_md_100_004Method · 0.45
test_md_100_006Method · 0.45
test_md_202_201Method · 0.45
test_md_202_202Method · 0.45
test_md_502_120Method · 0.45
startMethod · 0.45
install_ca_bundleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected