improved matcher

patch-1
sandeep 2021-05-04 16:32:53 +05:30
parent 67fe52f1ed
commit 399fc675a6
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ requests:
PUT /testing-put.txt HTTP/1.1
Content-Type: text/plain
testing-payload
{{randstr}}
- |
GET /testing-put.txt HTTP/1.1
@ -23,4 +23,4 @@ requests:
matchers:
- type: dsl
dsl:
- 'contains(body_2, "testing-payload")'
- 'contains(body_2, "{{randstr}}")'