2013-04-23 02:07:15 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2014-07-08 18:47:58 +08:00
|
|
|
HTTP/1.1 200 OK
|
2013-04-23 02:07:15 +08:00
|
|
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
2013-08-12 01:55:44 +08:00
|
|
|
Server: test-server/fakem
|
2013-04-23 02:07:15 +08:00
|
|
|
Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
|
|
|
|
Content-Type: text/html
|
|
|
|
Content-Length: 12
|
|
|
|
Connection: close
|
|
|
|
|
|
|
|
Hello World
|
|
|
|
</data>
|
|
|
|
|
|
|
|
<datacheck>
|
2014-07-08 18:47:58 +08:00
|
|
|
HTTP/1.1 200 OK
|
2013-04-23 02:07:15 +08:00
|
|
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
2013-08-12 01:55:44 +08:00
|
|
|
Server: test-server/fakem
|
2013-04-23 02:07:15 +08:00
|
|
|
Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
|
|
|
|
Content-Type: text/html
|
|
|
|
Content-Length: 12
|
|
|
|
Connection: close
|
|
|
|
|
2014-07-08 18:47:58 +08:00
|
|
|
HTTP/1.1 200 OK
|
2013-04-23 02:07:15 +08:00
|
|
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
2013-08-12 01:55:44 +08:00
|
|
|
Server: test-server/fakem
|
2013-04-23 02:07:15 +08:00
|
|
|
Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
|
|
|
|
Content-Type: text/html
|
|
|
|
Content-Length: 12
|
|
|
|
Connection: close
|
|
|
|
|
|
|
|
Hello World
|
|
|
|
</datacheck>
|
|
|
|
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
http
|
|
|
|
</features>
|
|
|
|
<tool>
|
|
|
|
lib1511
|
|
|
|
</tool>
|
|
|
|
<name>
|
|
|
|
HTTP GET time conditions in repeated requests
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
http://%HOSTIP:%HTTPPORT/1511
|
|
|
|
</command>
|
|
|
|
</client>
|
2013-07-11 23:01:02 +08:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
# TEST_ERR_SUCCESS is errorcode 120
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
120
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
2013-04-23 02:07:15 +08:00
|
|
|
</testcase>
|