statusok icon indicating copy to clipboard operation
statusok copied to clipboard

add new Feature for response body contains String

Open lmiz2 opened this issue 5 years ago • 0 comments

new feature contains(or not contains)

config.json

... "requests":[ { "url":"http://localhost:5500", "requestType":"GET", "headers":{ }, "params":{ }, "checkEvery":5, "responseCode":200, "responseTime":800, "checkResponseBody" : { "checkType" : "contains", "matchFor" : "some String" } } ] ...

chechType can be "contains" or "notContains". If it is "contains", it is judged as an error if the response does not contain the string specified as "matchFor". else it is "notContains" it works as expected.

lmiz2 avatar Jul 18 '20 07:07 lmiz2