test1259 (690B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 </keywords> 7 </info> 8 9 # Server-side 10 <reply> 11 <data> 12 HTTP/1.0 200 OK swsclose 13 Date: Tue, 09 Nov 2010 14:49:00 GMT 14 Content-Type: text/html 15 Set-Cookie: I-am=here; domain=localhost; 16 17 boo 18 </data> 19 </reply> 20 21 # Client-side 22 <client> 23 <server> 24 http 25 </server> 26 <name> 27 HTTP URL with semicolon in password 28 </name> 29 <command> 30 "http://user:pass;word@%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER" 31 </command> 32 </client> 33 34 # Verify data after the test has been "shot" 35 <verify> 36 <protocol> 37 GET /we/want/%TESTNUMBER HTTP/1.1 38 Host: %HOSTIP:%HTTPPORT 39 Authorization: Basic %b64[user:pass]b64%O3dvcmQ= 40 User-Agent: curl/%VERSION 41 Accept: */* 42 43 </protocol> 44 </verify> 45 </testcase>