2011-12-31 04:39:54 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2012-11-14 13:44:11 -05:00
|
|
|
--resolve
|
2011-12-31 04:39:54 -05:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 09:00:03 -05:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2011-12-31 04:39:54 -05:00
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 0
|
|
|
|
|
|
|
|
</data>
|
|
|
|
<data1>
|
|
|
|
HTTP/1.1 200 second version
|
2020-02-28 09:00:03 -05:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2011-12-31 04:39:54 -05:00
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 0
|
|
|
|
|
|
|
|
</data1>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
2012-11-14 13:44:11 -05:00
|
|
|
HTTP with --resolve and same host name using different cases
|
2011-12-31 04:39:54 -05:00
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
--resolve MiXeDcAsE.cOm:%HTTPPORT:%HOSTIP http://MiXeDcAsE.cOm:%HTTPPORT/1318 http://mixedcase.com:%HTTPPORT/13180001
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
GET /1318 HTTP/1.1
|
|
|
|
Host: MiXeDcAsE.cOm:%HTTPPORT
|
2020-10-02 07:45:24 -04:00
|
|
|
User-Agent: curl/%VERSION
|
2011-12-31 04:39:54 -05:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
GET /13180001 HTTP/1.1
|
|
|
|
Host: mixedcase.com:%HTTPPORT
|
2020-10-02 07:45:24 -04:00
|
|
|
User-Agent: curl/%VERSION
|
2011-12-31 04:39:54 -05:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|