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:
- "(?m)/cachestart/.*/jquery/"
req-condition: true
matchers:
- type: word
words:
- "BEGIN RSA PRIVATE KEY"
part: body
- type: dsl
dsl:
- 'contains(body_2, "BEGIN RSA PRIVATE KEY")'
- 'status_code_2 == 200'
condition: and

View File

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