diff options
Diffstat (limited to 'test/functional/cases/230_tcp.robot')
-rw-r--r-- | test/functional/cases/230_tcp.robot | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/functional/cases/230_tcp.robot b/test/functional/cases/230_tcp.robot index b7828f84e..4d8b2fbd6 100644 --- a/test/functional/cases/230_tcp.robot +++ b/test/functional/cases/230_tcp.robot @@ -19,6 +19,22 @@ Simple TCP request Check Rspamc ${result} HTTP_ASYNC_RESPONSE Check Rspamc ${result} HTTP_ASYNC_RESPONSE_2 + +Sync API TCP request + ${result} = Scan Message With Rspamc ${MESSAGE} + Check Rspamc ${result} HTTP_SYNC_RESPONSE + Check Rspamc ${result} HTTP_SYNC_RESPONSE_2 + Check Rspamc ${result} hello world + Check Rspamc ${result} hello post + +Sync API TCP get request + Check url /request get HTTP_SYNC_EOF_get (0.00)[hello world] + Check url /content-length get HTTP_SYNC_CONTENT_get (0.00)[hello world] + +Sync API TCP post request + Check url /request post HTTP_SYNC_EOF_post (0.00)[hello post] + Check url /content-length post HTTP_SYNC_CONTENT_post (0.00)[hello post] + *** Keywords *** Lua Setup [Arguments] ${LUA_SCRIPT} |