Adding strict matcher
parent
a14c1ce233
commit
b10918510c
|
@ -21,5 +21,6 @@ requests:
|
|||
- type: word
|
||||
words:
|
||||
- '{{randstr}}'
|
||||
- 'suggestions'
|
||||
- '"results":'
|
||||
- '"suggestions":'
|
||||
condition: and
|
||||
|
|
|
@ -21,7 +21,7 @@ requests:
|
|||
Content-Disposition: form-data; name="file1"; filename="poc.aspx"
|
||||
Content-Type: image/jpeg
|
||||
|
||||
Poc_Test
|
||||
{{randstr}}
|
||||
-----------------------------20873900192357278038549710136--
|
||||
|
||||
- |
|
||||
|
@ -38,7 +38,8 @@ requests:
|
|||
regex:
|
||||
- "(.*?.ASPX)"
|
||||
|
||||
req-condition: true
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- "contains(body, 'Poc_Test') && status_code == 200"
|
||||
- "contains(body_2, '{{randstr}}') && status_code_2 == 200"
|
Loading…
Reference in New Issue