| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> | ||||
| 3 | <keywords> | ||||
| 4 | HTTP | ||||
| 5 | HTTP GET | ||||
| 6 | multi | ||||
| 7 | </keywords> | ||||
| 8 | </info> | ||||
| 9 | |||||
| 10 | # Server-side | ||||
| 11 | <reply> | ||||
| 12 | <data> | ||||
| 13 | HTTP/1.1 200 all good! | ||||
| 14 | Date: Tue, 09 Nov 2010 14:49:00 GMT | ||||
| 15 | Server: test-server/fake | ||||
| 16 | Content-Type: text/html | ||||
| 17 | Content-Length: 12 | ||||
| 18 | Connection: close | ||||
| 19 | |||||
| 20 | Hello World | ||||
| 21 | </data> | ||||
| 22 | </reply> | ||||
| 23 | |||||
| 24 | # Client-side | ||||
| 25 | <client> | ||||
| 26 | <server> | ||||
| 27 | http | ||||
| 28 | </server> | ||||
| 29 | <features> | ||||
| 30 | http | ||||
| 31 | </features> | ||||
| 32 | # tool is what to use instead of 'curl' | ||||
| 33 | <tool> | ||||
| 34 | lib%TESTNUMBER | ||||
| 35 | </tool> | ||||
| 36 | |||||
| 37 | <name> | ||||
| 38 | curl_multi_wait | ||||
| 39 | </name> | ||||
| 40 | <command> | ||||
| 41 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER | ||||
| 42 | </command> | ||||
| 43 | </client> | ||||
| 44 | </testcase> | ||||