test500: adjust to work with hyper mode
This commit is contained in:
parent
32311d2d15
commit
48b0cca65e
@ -46,7 +46,7 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
|
|||||||
# Verify data after the test has been "shot"
|
# Verify data after the test has been "shot"
|
||||||
<verify>
|
<verify>
|
||||||
<file name="log/ip%TESTNUMBER">
|
<file name="log/ip%TESTNUMBER">
|
||||||
IP: %HOSTIP
|
IP %HOSTIP
|
||||||
</file>
|
</file>
|
||||||
<protocol>
|
<protocol>
|
||||||
GET /%TESTNUMBER HTTP/1.1
|
GET /%TESTNUMBER HTTP/1.1
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -101,7 +101,7 @@ int test(char *URL)
|
|||||||
curl_off_t time_pretransfer;
|
curl_off_t time_pretransfer;
|
||||||
curl_off_t time_starttransfer;
|
curl_off_t time_starttransfer;
|
||||||
curl_off_t time_total;
|
curl_off_t time_total;
|
||||||
fprintf(moo, "IP: %s\n", ipstr);
|
fprintf(moo, "IP %s\n", ipstr);
|
||||||
curl_easy_getinfo(curl, CURLINFO_NAMELOOKUP_TIME_T, &time_namelookup);
|
curl_easy_getinfo(curl, CURLINFO_NAMELOOKUP_TIME_T, &time_namelookup);
|
||||||
curl_easy_getinfo(curl, CURLINFO_CONNECT_TIME_T, &time_connect);
|
curl_easy_getinfo(curl, CURLINFO_CONNECT_TIME_T, &time_connect);
|
||||||
curl_easy_getinfo(curl, CURLINFO_PRETRANSFER_TIME_T,
|
curl_easy_getinfo(curl, CURLINFO_PRETRANSFER_TIME_T,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user