2011-04-07 08:17:05 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
2013-02-15 05:50:45 -05:00
|
|
|
pipelining
|
2011-04-07 08:17:05 -04:00
|
|
|
multi
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
# Silly division of the first request is solely to appease the server which expects n_data_items == n_requests
|
|
|
|
<reply>
|
|
|
|
<data1>
|
2014-01-31 18:58:58 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 4
|
|
|
|
|
2011-04-07 08:17:05 -04:00
|
|
|
584
|
|
|
|
</data1>
|
|
|
|
<data2>
|
2014-01-31 18:58:58 -05:00
|
|
|
HTTP/1.1 200 OK
|
2011-04-07 08:17:05 -04:00
|
|
|
</data2>
|
|
|
|
<data3>
|
2014-01-31 18:58:58 -05:00
|
|
|
Server: test-server/fake
|
2011-04-07 08:17:05 -04:00
|
|
|
</data3>
|
|
|
|
<data4>
|
2014-01-31 18:58:58 -05:00
|
|
|
Content-Length: 0
|
|
|
|
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 5
|
|
|
|
|
2011-04-07 08:17:05 -04:00
|
|
|
585
|
|
|
|
|
2014-01-31 18:58:58 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 4
|
|
|
|
|
2011-04-07 08:17:05 -04:00
|
|
|
586
|
|
|
|
</data4>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<tool>
|
|
|
|
lib530
|
|
|
|
</tool>
|
|
|
|
<name>
|
|
|
|
HTTP GET using pipelining (nonzero length after zero length)
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
http://%HOSTIP:%HTTPPORT/path/584
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
GET /path/5840001 HTTP/1.1
|
|
|
|
Host: %HOSTIP:%HTTPPORT
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
GET /path/5840002 HTTP/1.1
|
|
|
|
Host: %HOSTIP:%HTTPPORT
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
GET /path/5840003 HTTP/1.1
|
|
|
|
Host: %HOSTIP:%HTTPPORT
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
GET /path/5840004 HTTP/1.1
|
|
|
|
Host: %HOSTIP:%HTTPPORT
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
2014-01-31 18:58:58 -05:00
|
|
|
<stdout>
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 4
|
|
|
|
|
2011-04-07 08:17:05 -04:00
|
|
|
584
|
2014-01-31 18:58:58 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 0
|
|
|
|
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 5
|
|
|
|
|
2011-04-07 08:17:05 -04:00
|
|
|
585
|
|
|
|
|
2014-01-31 18:58:58 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 4
|
|
|
|
|
2011-04-07 08:17:05 -04:00
|
|
|
586
|
|
|
|
</stdout>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|