From a371992826b2b0e33bd8bbfa848d562ee50e66c4 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Mon, 24 Mar 2025 12:44:22 +0100 Subject: [PATCH] add bool param in test suite --- tests/configs/httpcontent.ini | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/configs/httpcontent.ini b/tests/configs/httpcontent.ini index 093031b..11f51ba 100644 --- a/tests/configs/httpcontent.ini +++ b/tests/configs/httpcontent.ini @@ -17,7 +17,15 @@ description="Check word 'IML' in IML website" function="HttpContent" params='{ "url": "https://www.iml.unibe.ch/", - "bodycontains": "IML" + "bodycontains": "IML", + "headeronly": false }' +["Http head"] +description="Check http statuscode" +function="HttpContent" +params[url]="https://www.example.com/" +params[status]=200 +params[headeronly]=false + ; ----------------------------------------------------------------------- -- GitLab