File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test519
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>
   13: HTTP/1.1 200 OK swsbounce
   14: Date: Thu, 09 Nov 2010 14:49:00 GMT
   15: Server: test-server/fake
   16: Content-Length: 8
   17: 
   18: content
   19: </data>
   20: <data1>
   21: HTTP/1.1 200 OK swsclose
   22: Date: Thu, 09 Nov 2010 14:49:00 GMT
   23: Server: test-server/fake
   24: Content-Length: 9
   25: 
   26: content2
   27: </data1>
   28: <datacheck>
   29: HTTP/1.1 200 OK swsbounce
   30: Date: Thu, 09 Nov 2010 14:49:00 GMT
   31: Server: test-server/fake
   32: Content-Length: 8
   33: 
   34: content
   35: HTTP/1.1 200 OK swsclose
   36: Date: Thu, 09 Nov 2010 14:49:00 GMT
   37: Server: test-server/fake
   38: Content-Length: 9
   39: 
   40: content2
   41: </datacheck>
   42: </reply>
   43: 
   44: # Client-side
   45: <client>
   46: <server>
   47: http
   48: </server>
   49: # tool is what to use instead of 'curl'
   50: <tool>
   51: lib519
   52: </tool>
   53: 
   54:  <name>
   55: GET same URL twice with different users
   56:  </name>
   57:  <command>
   58: http://%HOSTIP:%HTTPPORT/519
   59: </command>
   60: </client>
   61: 
   62: #
   63: # Verify data after the test has been "shot"
   64: <verify>
   65: <protocol>
   66: GET /519 HTTP/1.1
   67: Host: %HOSTIP:%HTTPPORT
   68: Authorization: Basic bW9uc3Rlcjp1bmRlcmJlZA==
   69: Accept: */*
   70: 
   71: GET /519 HTTP/1.1
   72: Host: %HOSTIP:%HTTPPORT
   73: Authorization: Basic YW5vdGhlcm1vbnN0ZXI6aW53YXJkcm9iZQ==
   74: Accept: */*
   75: 
   76: </protocol>
   77: </verify>
   78: </testcase>

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