2007-01-22 21:25:56 -05:00
|
|
|
<testcase>
|
2007-10-11 21:44:22 -04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2008-09-29 18:44:04 -04:00
|
|
|
HTTP proxy
|
2007-10-11 21:44:22 -04:00
|
|
|
cookies
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2004-05-21 16:40:15 -04:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2007-10-11 21:44:22 -04:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Date: Tue, 25 Sep 2001 19:37:44 GMT
|
|
|
|
Content-Type: text/html
|
|
|
|
Set-Cookie: XToken=xt;Domain=.z.x.com;Path=/
|
|
|
|
Cache-control: private
|
2004-05-21 16:40:15 -04:00
|
|
|
Content-Length: 62
|
2007-10-11 21:44:22 -04:00
|
|
|
|
2007-10-11 22:09:45 -04:00
|
|
|
This server reply is for testing a simple cookie test case...
|
2004-05-21 16:40:15 -04:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
2004-05-24 05:01:45 -04:00
|
|
|
HTTP, get cookie with dot prefixed full domain
|
2004-05-21 16:40:15 -04:00
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 04:08:38 -04:00
|
|
|
-c log/jar171 -x %HOSTIP:%HTTPPORT http://z.x.com/171
|
2004-05-21 16:40:15 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
GET http://z.x.com/171 HTTP/1.1
|
|
|
|
Host: z.x.com
|
|
|
|
Accept: */*
|
2016-08-16 02:36:04 -04:00
|
|
|
Proxy-Connection: Keep-Alive
|
2004-05-21 16:40:15 -04:00
|
|
|
|
|
|
|
</protocol>
|
2007-01-22 21:25:56 -05:00
|
|
|
<file name="log/jar171" mode="text">
|
2004-05-21 16:40:15 -04:00
|
|
|
# Netscape HTTP Cookie File
|
2016-02-02 18:19:02 -05:00
|
|
|
# https://curl.haxx.se/docs/http-cookies.html
|
2004-05-21 16:40:15 -04:00
|
|
|
# This file was generated by libcurl! Edit at your own risk.
|
|
|
|
|
|
|
|
.z.x.com TRUE / FALSE 0 XToken xt
|
|
|
|
</file>
|
|
|
|
</verify>
|
2007-01-22 21:25:56 -05:00
|
|
|
</testcase>
|