Return to test1244 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: HTTP ! 5: HTTP GET ! 6: HTTP proxy ! 7: </keywords> ! 8: </info> ! 9: # ! 10: # Server-side ! 11: <reply> ! 12: <data> ! 13: HTTP/1.1 200 OK ! 14: Server: test-server/fake ! 15: Content-Length: 5 ! 16: ! 17: bing ! 18: </data> ! 19: <data1> ! 20: HTTP/1.1 200 OK ! 21: Server: test-server/fake ! 22: Content-Length: 6 ! 23: ! 24: wrong ! 25: </data1> ! 26: </reply> ! 27: ! 28: # ! 29: # Client-side ! 30: <client> ! 31: <server> ! 32: http ! 33: https ! 34: </server> ! 35: <name> ! 36: HTTP GET same URL - different proxy ports ! 37: </name> ! 38: <command> ! 39: http://%HOSTIP:%HTTPPORT/1244 -x %HOSTIP:%HTTPPORT --next http://%HOSTIP:%HTTPPORT/124400001 -x %HOSTIP:%HTTPSPORT ! 40: </command> ! 41: </client> ! 42: ! 43: # ! 44: # Verify data after the test has been "shot" ! 45: <verify> ! 46: # the second request meant to fail ! 47: <errorcode> ! 48: 56 ! 49: </errorcode> ! 50: <strip> ! 51: ^User-Agent:.* ! 52: </strip> ! 53: <protocol> ! 54: GET http://%HOSTIP:%HTTPPORT/1244 HTTP/1.1 ! 55: Host: %HOSTIP:%HTTPPORT ! 56: Accept: */* ! 57: Proxy-Connection: Keep-Alive ! 58: ! 59: </protocol> ! 60: </verify> ! 61: </testcase>