/curl/tests/http/testenv/ |
H A D | vsftpd.py | 68 def domain(self): argument 72 def docs_dir(self): argument 76 def port(self) -> str: argument 79 def clear_logs(self): argument 82 def exists(self): argument 85 def is_running(self): argument 91 def start_if_needed(self): argument 113 def restart(self): argument 173 def _rmf(self, path): argument 177 def _mkpath(self, path): argument [all …]
|
H A D | env.py | 64 def __init__(self): argument 210 def httpd_version(self): argument 263 def caddy_version(self): argument 403 def issue_certs(self): argument 411 def setup(self): argument 443 def ca(self): argument 507 def caddy(self) -> str: argument 527 def curl(self) -> str: argument 531 def httpd(self) -> str: argument 539 def apxs(self) -> str: argument [all …]
|
H A D | httpd.py | 96 def docs_dir(self): argument 99 def clear_logs(self): argument 102 def exists(self): argument 142 def start(self): argument 156 def stop(self): argument 163 def restart(self): argument 167 def reload(self): argument 197 def _rmf(self, path): argument 201 def _mkpath(self, path): argument 205 def _write_config(self): argument [all …]
|
H A D | caddy.py | 43 def __init__(self, env: Env): argument 55 def docs_dir(self): argument 59 def port(self) -> str: argument 62 def clear_logs(self): argument 65 def is_running(self): argument 71 def start_if_needed(self): argument 90 def stop_if_running(self): argument 104 def restart(self): argument 133 def _rmf(self, path): argument 137 def _mkpath(self, path): argument [all …]
|
H A D | nghttpx.py | 62 def exists(self): argument 65 def clear_logs(self): argument 69 def is_running(self): argument 75 def start_if_needed(self): argument 83 def stop_if_running(self): argument 88 def stop(self, wait_dead=True): argument 97 def restart(self): argument 158 def _rmf(self, path): argument 162 def _mkpath(self, path): argument 166 def _write_config(self): argument [all …]
|
H A D | client.py | 47 def __init__(self, name: str, env: Env, run_dir: Optional[str] = None, argument 63 def run_dir(self) -> str: argument 67 def stderr_file(self) -> str: argument 70 def exists(self) -> bool: argument 73 def download_file(self, i: int) -> str: argument 76 def _rmf(self, path): argument 80 def _rmrf(self, path): argument 84 def _mkpath(self, path): argument 88 def run(self, args): argument 113 def dump_logs(self): argument
|
H A D | curl.py | 78 def sample(self): argument 93 def finish(self): argument 104 def __repr__(self): argument 145 def sample(self): argument 176 def start(self): argument 182 def finish(self): argument 223 def __repr__(self): argument 227 def _parse_stats(self): argument 412 def dump_logs(self): argument 476 def _rmf(self, path): argument [all …]
|
H A D | certs.py | 97 def name(self) -> Optional[str]: argument 117 def __init__(self, argument 131 def name(self) -> str: argument 135 def subject(self) -> x509.Name: argument 139 def key_type(self): argument 148 def private_key(self) -> Any: argument 152 def certificate(self) -> Any: argument 156 def cert_pem(self) -> bytes: argument 160 def pkey_pem(self) -> bytes: argument 180 def cert_file(self) -> str: argument [all …]
|
/curl/tests/http/ |
H A D | test_11_unix.py | 40 def __init__(self, path): argument 45 def path(self): argument 48 def start(self): argument 49 def process(self): argument 63 def stop(self): argument 67 def _process(self): argument 91 def uds_faker(self, env: Env) -> UDSFaker: argument 99 def test_11_01_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument 110 def test_11_02_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument 121 def test_11_03_unix_connect_quic(self, env: Env, httpd, uds_faker, repeat): argument
|
H A D | scorecard.py | 47 def __init__(self, env: Env, argument 62 def info(self, msg): argument 67 def handshakes(self, proto: str) -> Dict[str, Any]: argument 111 def _check_downloads(self, r: ExecResult, count: int): argument 220 def downloads(self, proto: str, count: int, argument 345 def score_proto(self, proto: str, argument 397 def fmt_ms(self, tval): argument 400 def fmt_size(self, val): argument 410 def fmt_mbs(self, val): argument 413 def fmt_reqs(self, val): argument [all …]
|
H A D | test_20_websockets.py | 45 def check_alive(self, env, timeout=5): argument 56 def _mkpath(self, path): argument 60 def _rmrf(self, path): argument 65 def ws_echo(self, env): argument 81 def test_20_01_basic(self, env: Env, ws_echo, repeat): argument 87 def test_20_02_pingpong_small(self, env: Env, ws_echo, repeat): argument 97 def test_20_03_pingpong_too_large(self, env: Env, ws_echo, repeat): argument 107 def test_20_04_data_small(self, env: Env, ws_echo, repeat): argument 116 def test_20_05_data_med(self, env: Env, ws_echo, repeat): argument 125 def test_20_06_data_large(self, env: Env, ws_echo, repeat): argument [all …]
|
H A D | test_30_vsftpd.py | 44 def vsftpd(self, env): argument 50 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): argument 61 def _class_scope(self, env, vsftpd): argument 74 def test_30_01_list_dir(self, env: Env, vsftpd: VsFTPD, repeat): argument 86 def test_30_02_download_1(self, env: Env, vsftpd: VsFTPD, docname, repeat): argument 124 def test_30_05_upload_1(self, env: Env, vsftpd: VsFTPD, docname, repeat): argument 135 def _rmf(self, path): argument 141 def test_30_06_shutdownh_download(self, env: Env, vsftpd: VsFTPD, repeat): argument 153 def test_30_07_shutdownh_upload(self, env: Env, vsftpd: VsFTPD, repeat): argument 166 def check_downloads(self, client, srcfile: str, count: int, argument [all …]
|
H A D | test_31_vsftpds.py | 46 def vsftpds(self, env): argument 57 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): argument 68 def _class_scope(self, env, vsftpds): argument 81 def test_31_01_list_dir(self, env: Env, vsftpds: VsFTPD, repeat): argument 93 def test_31_02_download_1(self, env: Env, vsftpds: VsFTPD, docname, repeat): argument 131 def test_31_05_upload_1(self, env: Env, vsftpds: VsFTPD, docname, repeat): argument 142 def _rmf(self, path): argument 148 def test_31_06_shutdownh_download(self, env: Env, vsftpds: VsFTPD, repeat): argument 161 def test_31_07_shutdownh_upload(self, env: Env, vsftpds: VsFTPD, repeat): argument 175 def check_downloads(self, client, srcfile: str, count: int, argument [all …]
|
H A D | test_01_basic.py | 40 def _class_scope(self, env, nghttpx): argument 45 def test_01_01_http_get(self, env: Env, httpd): argument 54 def test_01_02_https_get(self, env: Env, httpd): argument 63 def test_01_03_h2_get(self, env: Env, httpd): argument 72 def test_01_04_h2_unsupported(self, env: Env, httpd): argument 81 def test_01_05_h3_get(self, env: Env, httpd, nghttpx): argument 91 def test_01_06_timings(self, env: Env, httpd, nghttpx, repeat, proto): argument
|
H A D | test_15_tracing.py | 40 def test_15_01_trace_defaults(self, env: Env, httpd): argument 51 def test_15_02_trace_ids(self, env: Env, httpd): argument 64 def test_15_03_trace_ids_time(self, env: Env, httpd): argument 77 def test_15_04_trace_all(self, env: Env, httpd): argument 96 def test_15_05_trace_all(self, env: Env, httpd): argument
|
H A D | test_13_proxy_auth.py | 45 def _class_scope(self, env, httpd, nghttpx_fwd): argument 55 def get_tunnel_proto_used(self, r: ExecResult): argument 64 def test_13_01_proxy_no_auth(self, env: Env, httpd, repeat): argument 72 def test_13_02_proxy_auth(self, env: Env, httpd, repeat): argument 84 def test_13_03_proxys_no_auth(self, env: Env, httpd, nghttpx_fwd, repeat): argument 95 def test_13_04_proxys_auth(self, env: Env, httpd, nghttpx_fwd, repeat): argument 104 def test_13_05_tunnel_http_no_auth(self, env: Env, httpd, repeat): argument 113 def test_13_06_tunnel_http_auth(self, env: Env, httpd, repeat): argument 127 def test_13_07_tunnels_no_auth(self, env: Env, httpd, proto, tunnel, repeat): argument 145 def test_13_08_tunnels_auth(self, env: Env, httpd, proto, tunnel, repeat): argument
|
H A D | test_16_info.py | 43 def _class_scope(self, env, httpd, nghttpx): argument 50 def _class_scope(self, env, httpd): argument 58 def test_16_01_info_download(self, env: Env, httpd, nghttpx, repeat, proto): argument 71 def test_16_02_info_302_download(self, env: Env, httpd, nghttpx, repeat, proto): argument 85 def test_16_03_info_upload(self, env: Env, httpd, nghttpx, proto, repeat): argument 104 def test_16_04_info_http_download(self, env: Env, httpd, nghttpx, repeat, proto): argument 113 def check_stat(self, idx, s, r, dl_size=None, ul_size=None): argument 126 def check_stat_positive(self, s, key): argument 130 def check_stat_zero(self, s, key): argument 134 def check_stat_times(self, s): argument
|
H A D | test_08_caddy.py | 42 def caddy(self, env): argument 48 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): argument 59 def _class_scope(self, env, caddy): argument 67 def test_08_01_download_1(self, env: Env, caddy: Caddy, repeat, proto): argument 79 def test_08_02_download_1mb_sequential(self, env: Env, caddy: Caddy, argument 93 def test_08_03_download_1mb_parallel(self, env: Env, caddy: Caddy, argument 116 def test_08_04a_download_10mb_sequential(self, env: Env, caddy: Caddy, argument 132 def test_08_04b_download_10mb_sequential(self, env: Env, caddy: Caddy, argument 148 def test_08_05_download_1mb_parallel(self, env: Env, caddy: Caddy, argument 173 def test_08_06_upload_parallel(self, env: Env, caddy, repeat, proto): argument
|
H A D | test_07_upload.py | 43 def _class_scope(self, env, httpd, nghttpx): argument 56 def test_07_01_upload_1_small(self, env: Env, httpd, nghttpx, repeat, proto): argument 71 def test_07_02_upload_1_large(self, env: Env, httpd, nghttpx, repeat, proto): argument 213 def test_07_30_put_100k(self, env: Env, httpd, nghttpx, repeat, proto): argument 233 def test_07_31_put_10m(self, env: Env, httpd, nghttpx, repeat, proto): argument 267 def test_07_33_issue_11157a(self, env: Env, httpd, nghttpx, repeat): argument 288 def test_07_33_issue_11157b(self, env: Env, httpd, nghttpx, repeat): argument 310 def test_07_34_issue_11194(self, env: Env, httpd, nghttpx, repeat): argument 364 def test_07_37_upload_307(self, env: Env, httpd, nghttpx, repeat, proto): argument 381 def test_07_38_form_small(self, env: Env, httpd, nghttpx, repeat, proto): argument [all …]
|
H A D | test_02_download.py | 43 def _class_scope(self, env, httpd, nghttpx): argument 50 def _class_scope(self, env, httpd): argument 91 def test_02_04_download_100_parallel(self, env: Env, argument 146 def test_02_07_download_reuse(self, env: Env, argument 165 def test_02_07b_download_reuse(self, env: Env, argument 181 def test_02_08_1MB_serial(self, env: Env, argument 192 def test_02_09_1MB_parallel(self, env: Env, argument 207 def test_02_10_10MB_serial(self, env: Env, argument 220 def test_02_11_10MB_parallel(self, env: Env, argument 235 def test_02_12_head_serial_https(self, env: Env, argument [all …]
|
H A D | test_10_proxy.py | 42 def _class_scope(self, env, httpd, nghttpx_fwd): argument 53 def get_tunnel_proto_used(self, r: ExecResult): argument 62 def test_10_01_proxy_http(self, env: Env, httpd, repeat): argument 73 def test_10_02_proxys_down(self, env: Env, httpd, proto, repeat): argument 94 def test_10_02_proxys_up(self, env: Env, httpd, nghttpx, proto, argument 113 def test_10_03_proxytunnel_http(self, env: Env, httpd, repeat): argument 125 def test_10_04_proxy_https(self, env: Env, httpd, nghttpx_fwd, repeat): argument 136 def test_10_05_proxytunnel_http(self, env: Env, httpd, proto, repeat): argument 177 def test_10_07_pts_down_small(self, env: Env, httpd, nghttpx_fwd, proto, argument 207 def test_10_08_upload_seq_large(self, env: Env, httpd, nghttpx, proto, argument [all …]
|
H A D | test_06_eyeballs.py | 41 def _class_scope(self, env, httpd, nghttpx): argument 49 def test_06_01_h3_only(self, env: Env, httpd, nghttpx, repeat): argument 58 def test_06_02_h3_only(self, env: Env, httpd, nghttpx, repeat): argument 67 def test_06_03_h3_fallback_h2(self, env: Env, httpd, nghttpx, repeat): argument 77 def test_06_04_h3_fallback_h1(self, env: Env, httpd, nghttpx, repeat): argument 86 def test_06_10_stats_success(self, env: Env, httpd, nghttpx, repeat): argument 95 def test_06_11_stats_fail_verify(self, env: Env, httpd, nghttpx, repeat): argument 106 def test_06_12_stats_fail_tcp(self, env: Env, httpd, nghttpx, repeat): argument
|
H A D | test_19_shutdown.py | 44 def _class_scope(self, env, httpd, nghttpx): argument 51 def _class_scope(self, env, httpd): argument 60 def test_19_01_check_tcp_rst(self, env: Env, httpd, repeat, proto): argument 75 def test_19_02_check_shutdown(self, env: Env, httpd, repeat, proto): argument 92 def test_19_03_shutdown_by_server(self, env: Env, httpd, repeat, proto): argument 110 def test_19_04_shutdown_by_curl(self, env: Env, httpd, proto, repeat): argument 132 def test_19_05_event_shutdown_by_server(self, env: Env, httpd, proto, repeat): argument 158 def test_19_06_check_shutdown(self, env: Env, httpd, nghttpx, repeat, proto): argument
|
/curl/tests/ |
H A D | smbserver.py | 73 def __init__(self, server): argument 78 def __enter__(self): argument 83 def __exit__(self, *_): argument 96 def _sighandler(self, _signum, _frame): argument 100 def run(self): argument 168 def __init__(self, argument 297 def get_share_path(self, conn_data, root_fid, tid): argument 317 def get_server_path(self, requested_filename): argument 340 def write_to_fid(self, fid, contents): argument 348 def get_test_path(self, requested_filename): argument [all …]
|
H A D | util.py | 40 def __init__(self, filename): argument 45 def emit(self, record): argument 51 def setStream(self, stream): argument 68 def __init__(self, data_folder): argument 71 def get_test_data(self, test_number): argument
|