1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP custom request 6config file 7</keywords> 8</info> 9# Server-side 10<reply> 11<data> 12HTTP/1.1 200 OK 13Funny-head: yesyes 14Content-Length: 27 15 16This is the proof it works 17</data> 18</reply> 19 20# Client-side 21<client> 22<server> 23http 24</server> 25 <name> 26HTTP with config file on stdin 27 </name> 28 <stdin> 29# 30# Use a silly request without '--': 31request MOOO 32# 33# Set the user-agent using a short-option: 34-A "agent007 license to drill\t" 35# 36# long option *with* '--': 37--max-time 180 38 </stdin> 39 <command> 40-K - %HOSTIP:%HTTPPORT/that.site.com/17 41</command> 42</client> 43 44# Verify data after the test has been "shot" 45<verify> 46<protocol> 47MOOO /that.site.com/17 HTTP/1.1 48Host: %HOSTIP:%HTTPPORT 49User-Agent: agent007 license to drill 50Accept: */* 51 52</protocol> 53</verify> 54</testcase> 55