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