2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2008-02-09 10:01:36 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTPS
|
|
|
|
HTTP GET
|
|
|
|
timeout
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2001-11-03 07:09:02 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2008-02-09 10:37:31 +08:00
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2008-02-09 10:37:31 +08:00
|
|
|
Connection: close
|
|
|
|
|
|
|
|
_data_result_data_
|
2001-11-03 07:09:02 +08:00
|
|
|
</data>
|
|
|
|
<postcmd>
|
2008-02-09 10:01:36 +08:00
|
|
|
wait 20
|
2001-11-03 07:09:02 +08:00
|
|
|
</postcmd>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2005-01-30 20:53:05 +08:00
|
|
|
<features>
|
|
|
|
SSL
|
|
|
|
</features>
|
2003-05-01 04:25:39 +08:00
|
|
|
<server>
|
|
|
|
https
|
|
|
|
</server>
|
2001-11-03 07:09:02 +08:00
|
|
|
<name>
|
2010-02-03 09:41:07 +08:00
|
|
|
HTTPS with 8 secs timeout
|
2001-11-03 07:09:02 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
-k https://%HOSTIP:%HTTPSPORT/want/%TESTNUMBER -m 8
|
2001-11-03 07:09:02 +08:00
|
|
|
</command>
|
2005-01-26 05:45:03 +08:00
|
|
|
</client>
|
2001-11-03 07:09:02 +08:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /want/%TESTNUMBER HTTP/1.1
|
2008-02-09 10:01:36 +08:00
|
|
|
Host: %HOSTIP:%HTTPSPORT
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2004-02-09 20:46:41 +08:00
|
|
|
Accept: */*
|
2001-11-03 07:09:02 +08:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
<errorcode>
|
|
|
|
28
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|