From be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:57:58 +0200 Subject: Adding upstream version 1.44.3. Signed-off-by: Daniel Baumann --- fluent-bit/lib/monkey/qa/post_test02.htt | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 fluent-bit/lib/monkey/qa/post_test02.htt (limited to 'fluent-bit/lib/monkey/qa/post_test02.htt') diff --git a/fluent-bit/lib/monkey/qa/post_test02.htt b/fluent-bit/lib/monkey/qa/post_test02.htt new file mode 100644 index 00000000..b323be88 --- /dev/null +++ b/fluent-bit/lib/monkey/qa/post_test02.htt @@ -0,0 +1,33 @@ +################################################################################ +# DESCRIPTION +# An incomplete POST request. +# +# AUTHOR +# Carlos Ghan +# +# DATE +# June 29 2009 +# +# COMMENTS +# A POST request with missing Content-Length.(Should return "Length Required") +################################################################################ + +# Why post_test02.htt sometimes fail ? +# ------------------------------------ +# it fails because the httest tool catch the close connection from Monkey before it +# finish to send the whole request, Monkey will not continue working in a request +# which will not work properly, bad monkey >:D + +INCLUDE __CONFIG + +CLIENT +_REQ $HOST $PORT +__POST / $HTTPVER +__Host: $HOST +__Content-Type: text/plain +__Connection: close +__ +_-someVariable=1234&daemon=monkeyd&SESSION=e1d83283d597ca88f599e34c8ef2e8c3 +_EXPECT . "HTTP/1.1 411 Length Required" +_WAIT 0 +END -- cgit v1.2.3