Annotation of embedaddon/curl/tests/data/test970, revision 1.1.1.1

1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: HTTP
                      5: HTTP GET
                      6: </keywords>
                      7: </info>
                      8: 
                      9: #
                     10: # Server-side
                     11: <reply>
                     12: <data nocheck="yes">
                     13: HTTP/1.1 200 OK
                     14: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     15: Server: test-server/fake
                     16: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
                     17: ETag: "21025-dc7-39462498"
                     18: Accept-Ranges: bytes
                     19: Content-Length: 445
                     20: Connection: close
                     21: Content-Type: text/html
                     22: Funny-head: yesyes
                     23: 
                     24: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
                     25: </data>
                     26: </reply>
                     27: 
                     28: #
                     29: # Client-side
                     30: <client>
                     31: <server>
                     32: http
                     33: </server>
                     34: <features>
                     35: debug
                     36: </features>
                     37: <setenv>
                     38: CURL_TIME=13
                     39: CURL_DEBUG_SIZE=4019
                     40: CURL_VERSION=curl-unit-test-fake-version
                     41: </setenv>
                     42: <name>
                     43: HTTP GET with JSON output
                     44: </name>
                     45: <command option="no-include">
                     46: http://%HOSTIP:%HTTPPORT/970 --write-out '%{json}' -o log/out970
                     47: </command>
                     48: </client>
                     49: 
                     50: #
                     51: # Verify data after the test has been "shot"
                     52: <verify>
                     53: <strip>
                     54: ^User-Agent:.*
                     55: </strip>
                     56: <protocol>
                     57: GET /970 HTTP/1.1
                     58: Host: %HOSTIP:%HTTPPORT
                     59: Accept: */*
                     60: 
                     61: </protocol>
                     62: <stdout nonewline="yes">
                     63: {"url_effective":"http://%HOSTIP:%HTTPPORT/970","http_code":200,"response_code":200,"http_connect":0,"time_total":0.000013,"time_namelookup":0.000013,"time_connect":0.000013,"time_appconnect":0.000013,"time_pretransfer":0.000013,"time_starttransfer":0.000013,"size_header":4019,"size_request":4019,"size_download":445,"size_upload":0,"speed_download":13,"speed_upload":13,"content_type":"text/html","num_connects":1,"time_redirect":0.000013,"num_redirects":0,"ssl_verify_result":0,"proxy_ssl_verify_result":0,"filename_effective":"log/out970","remote_ip":"%HOSTIP","remote_port":%HTTPPORT,"local_ip":"127.0.0.1","local_port":13,"http_version":"1.1","scheme":"HTTP","curl_version":"curl-unit-test-fake-version"}
                     64: </stdout>
                     65: </verify>
                     66: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>