test192 (743B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 <data nocheck="yes"> 13 HTTP/1.1 200 OK 14 Date: Tue, 09 Nov 2010 14:49:00 GMT 15 Content-Length: 8 16 Connection: close 17 18 monster 19 </data> 20 </reply> 21 22 # 23 # Client-side 24 <client> 25 <server> 26 http 27 </server> 28 <name> 29 HTTP GET -w num_connects with one simple connect 30 </name> 31 <command> 32 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n" 33 </command> 34 </client> 35 36 # 37 # Verify data after the test has been "shot" 38 <verify> 39 <protocol> 40 GET /%TESTNUMBER HTTP/1.1 41 Host: %HOSTIP:%HTTPPORT 42 User-Agent: curl/%VERSION 43 Accept: */* 44 45 </protocol> 46 47 <stdout> 48 HTTP/1.1 200 OK 49 Date: Tue, 09 Nov 2010 14:49:00 GMT 50 Content-Length: 8 51 Connection: close 52 53 monster 54 1 55 </stdout> 56 </verify> 57 </testcase>