1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6</keywords> 7</info> 8 9# 10# Server-side 11<reply> 12<data> 13HTTP/1.1 429 too many requests swsbounce 14Retry-After: 1 15Content-Length: 4 16 17moo 18</data> 19<data1> 20HTTP/1.1 200 OK 21Content-Length: 4 22Connection: close 23 24hey 25</data1> 26 27<datacheck> 28HTTP/1.1 429 too many requests swsbounce 29Retry-After: 1 30Content-Length: 4 31 32HTTP/1.1 200 OK 33Content-Length: 4 34Connection: close 35 36hey 37</datacheck> 38</reply> 39 40# 41# Client-side 42<client> 43<server> 44http 45</server> 46<name> 47--retry with a 429 response and Retry-After: and --fail 48</name> 49<command> 50http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 1 --fail 51</command> 52</client> 53 54# 55# Verify data after the test has been "shot" 56<verify> 57<protocol> 58GET /%TESTNUMBER HTTP/1.1 59Host: %HOSTIP:%HTTPPORT 60User-Agent: curl/%VERSION 61Accept: */* 62 63GET /%TESTNUMBER HTTP/1.1 64Host: %HOSTIP:%HTTPPORT 65User-Agent: curl/%VERSION 66Accept: */* 67 68</protocol> 69</verify> 70</testcase> 71