blob: f8f7811a7e7c1814f0c372aebf8d46a539b572f5 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7cookies
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 OK
15Server: Microsoft-IIS/4.0
16Date: Tue, 25 Sep 2001 19:37:44 GMT
17Content-Type: text/html
18Connection: close
19Content-Length: 21
20
21This server says moo
22</data>
23</reply>
24
25# Client-side
26<client>
27<server>
28http
29</server>
30 <name>
31HTTP using proxy and cookies with path checks
32 </name>
33 <command>
34http://supertrooper.fake/c/179 -b log/injar179 -x %HOSTIP:%HTTPPORT
35</command>
36<file name="log/injar179">
37supertrooper.fake FALSE /a FALSE 2139150993 mooo indeed
38supertrooper.fake FALSE /b FALSE 0 moo1 indeed
39supertrooper.fake FALSE /c FALSE 2139150993 moo2 indeed
40</file>
41</client>
42
43# Verify data after the test has been "shot"
44<verify>
45<strip>
46^User-Agent:.*
47</strip>
48<protocol>
49GET http://supertrooper.fake/c/179 HTTP/1.1
50Host: supertrooper.fake
51Accept: */*
52Proxy-Connection: Keep-Alive
53Cookie: moo2=indeed
54
55</protocol>
56</verify>
57</testcase>