more strict matchers

patch-1
sandeep 2021-06-30 03:26:01 +05:30
parent a3299759f3
commit 96fc7bb341
2 changed files with 12 additions and 4 deletions

View File

@ -32,8 +32,10 @@ requests:
regex: regex:
- "(?m)/cachestart/.*/jquery/" - "(?m)/cachestart/.*/jquery/"
req-condition: true
matchers: matchers:
- type: word - type: dsl
words: dsl:
- "BEGIN RSA PRIVATE KEY" - 'contains(body_2, "BEGIN RSA PRIVATE KEY")'
part: body - 'status_code_2 == 200'
condition: and

View File

@ -45,3 +45,9 @@ requests:
- type: status - type: status
status: status:
- 200 - 200
- type: dsl
dsl:
- '!contains(body_2, "<html")'
- '!contains(body_2, "<HTML")'
condition: and