summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/monkey/qa/post_test03.htt
blob: 7604c823412a3e3705cb6e15572896bd4effb857 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
################################################################################
# DESCRIPTION
#	An incomplete POST request.
#
# AUTHOR
#	Eduardo Silva <edsiper@gmail.com>
#
# DATE
#	July 25, 2010
#
# COMMENTS
# 	A POST request with missing post data, the server must close the 
#       connection due to timeout
################################################################################

INCLUDE __CONFIG

CLIENT
_REQ $HOST $PORT 
__POST / $HTTPVER
__Host: $HOST
__Content-Length: 10
__Content-Type: text/plain
__Connection: close
__
_EXPECT ERROR "End of file found\(70014\)"
_WAIT
END