mirror of
https://github.com/curl/curl.git
synced 2026-06-14 01:55:37 +03:00
- test 1030: remove, duplicate of 154 - test 1105: make name unique - test 161: make name reflect what it tests - test 2074: correct the name - test 310: improve name - test 358: correct the name - test 409: removed, duplicate of 401 - test 472: clarify the test name (how it differs from 439) - test 1509: update name - test 527: duplicate of 526 - test 758: separate the name from 530 - test 611: duplicate of 608, remove - test 639: adjust the name - test 688: minor name tweak to clarify - test 708: enhance name - test 800/847: clarify the names - test 1520: dedupe the name - test 962: enhance name - test 1196/2203: enhanced names - test 1211: name tweak - test 1256/1257: enhance the names - test 1483: fix name - test 1541: fix name - test 1553: fix name - test 1609: removed, exact duplicate of 1607 - test 2200: fix name - test 3031: corret the name - test 3016/3203: fix names and keywords - test 3201/3220: enhance names - test 3212: fix name - add missing FILE keywords - drop FAILURE as keyword Closes #21936
75 lines
1.3 KiB
XML
75 lines
1.3 KiB
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP GET
|
|
chunked Transfer-Encoding
|
|
Trailer:
|
|
DELAY
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
HTTP/1.1 200 OK swsclose%CR
|
|
Transfer-Encoding: chunked%CR
|
|
%CR
|
|
4%CR
|
|
data%CR
|
|
5%CR
|
|
d474
|
|
%CR
|
|
0%CR
|
|
%CR
|
|
</data>
|
|
<datacheck>
|
|
CURLINFO_CONNECT_TIME_T on 1st header is OK
|
|
CURLINFO_PRETRANSFER_TIME_T on 1st header is OK
|
|
CURLINFO_STARTTRANSFER_TIME_T on 1st header is OK
|
|
CURLINFO_TOTAL_TIME_T on 1st header is OK
|
|
CURLINFO_APPCONNECT_TIME_T on 1st header is OK
|
|
CURLINFO_SPEED_DOWNLOAD_T on 1st header is OK
|
|
HTTP/1.1 200 OK swsclose%CR
|
|
Transfer-Encoding: chunked%CR
|
|
%CR
|
|
datad474
|
|
CURLINFO_CONNECT_TIME_T on done is OK
|
|
CURLINFO_PRETRANSFER_TIME_T on done is OK
|
|
CURLINFO_POSTTRANSFER_TIME_T on done is OK
|
|
CURLINFO_STARTTRANSFER_TIME_T on done is OK
|
|
CURLINFO_APPCONNECT_TIME_T on done is OK
|
|
CURLINFO_SPEED_DOWNLOAD_T on done is OK
|
|
CURLINFO_TOTAL_TIME_T on done is OK
|
|
</datacheck>
|
|
<servercmd>
|
|
writedelay: 10
|
|
</servercmd>
|
|
</reply>
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<tool>
|
|
lib%TESTNUMBER
|
|
</tool>
|
|
<name>
|
|
CURLINFO timer check
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol crlf="headers">
|
|
GET /%TESTNUMBER HTTP/1.1
|
|
Host: %HOSTIP:%HTTPPORT
|
|
Accept: */*
|
|
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|