2013-04-23 02:07:15 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
2021-12-01 10:32:53 +08:00
|
|
|
CURLOPT_TIMECONDITION
|
2013-04-23 02:07:15 +08:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2014-07-08 18:47:58 +08:00
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 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
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 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
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 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>
|
2021-03-13 00:38:26 +08:00
|
|
|
lib%TESTNUMBER
|
2013-04-23 02:07:15 +08:00
|
|
|
</tool>
|
|
|
|
<name>
|
|
|
|
HTTP GET time conditions in repeated requests
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
2013-04-23 02:07:15 +08:00
|
|
|
</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>
|