File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test192
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    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: Content-Length: 8
   16: Connection: close
   17: 
   18: monster
   19: </data>
   20: </reply>
   21: 
   22: #
   23: # Client-side
   24: <client>
   25: <server>
   26: http
   27: </server>
   28:  <name>
   29: HTTP GET -w num_connects with one simple connect
   30:  </name>
   31:  <command>
   32: http://%HOSTIP:%HTTPPORT/192 -w "%{num_connects}\n"
   33: </command>
   34: </client>
   35: 
   36: #
   37: # Verify data after the test has been "shot"
   38: <verify>
   39: <strip>
   40: ^User-Agent:.*
   41: </strip>
   42: <protocol>
   43: GET /192 HTTP/1.1
   44: Host: %HOSTIP:%HTTPPORT
   45: Accept: */*
   46: 
   47: </protocol>
   48: 
   49: <stdout>
   50: HTTP/1.1 200 OK
   51: Date: Thu, 09 Nov 2010 14:49:00 GMT
   52: Content-Length: 8
   53: Connection: close
   54: 
   55: monster
   56: 1
   57: </stdout>
   58: </verify>
   59: </testcase>

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