1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6cookies 7</keywords> 8</info> 9 10# 11# Server-side 12<reply> 13<data crlf="yes" nocheck="yes"> 14HTTP/1.1 301 move along 15Date: Tue, 09 Nov 2010 14:49:00 GMT 16Accept-Ranges: bytes 17Content-Length: 6 18Connection: close 19Content-Type: text/html 20Set-Cookie: long1=%repeat[400 x abcdefgh]%; path="/" 21Set-Cookie: long2=%repeat[400 x abcdefgh]%; path="/" 22Set-Cookie: long3=%repeat[400 x abcdefgh]%; path="/" 23Location: %TESTNUMBER0002 24 25-foo- 26</data> 27 28<data2 crlf="yes"> 29HTTP/1.1 200 OK 30Date: Tue, 09 Nov 2010 14:49:00 GMT 31Accept-Ranges: bytes 32Content-Length: 6 33Connection: close 34Content-Type: text/html 35 36-foo- 37</data2> 38 39</reply> 40 41# 42# Client-side 43<client> 44<server> 45http 46</server> 47<name> 48Keep Cookie: header within 8190 bytes 49</name> 50 51<command> 52http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/cookies%TESTNUMBER -L 53</command> 54<features> 55cookies 56</features> 57</client> 58 59# 60# Verify data after the test has been "shot" 61<verify> 62<protocol crlf="yes"> 63GET /%TESTNUMBER HTTP/1.1 64Host: %HOSTIP:%HTTPPORT 65User-Agent: curl/%VERSION 66Accept: */* 67 68GET /%TESTNUMBER0002 HTTP/1.1 69Host: %HOSTIP:%HTTPPORT 70User-Agent: curl/%VERSION 71Accept: */* 72Cookie: long3=%repeat[400 x abcdefgh]%; long2=%repeat[400 x abcdefgh]% 73 74</protocol> 75</verify> 76</testcase> 77