fix match and extractors regexes (#4040)

patch-1
Rodrigo Schio 2022-04-04 08:38:25 -04:00 committed by GitHub
parent 060806a626
commit 4d690358ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -47,8 +47,8 @@ requests:
matchers:
- type: dsl
dsl:
- 'contains(body_2, "\"admin\": false")'
- 'contains(body_3, "\"admin\": true")'
- 'contains(body_2, "\"admin\":false")'
- 'contains(body_3, "\"admin\":true")'
condition: and
- type: word
@ -67,7 +67,7 @@ requests:
internal: true
group: 1
regex:
- '"id": ([0-9]+)'
- '"id":([0-9]+)'
- type: regex
part: body
@ -75,4 +75,4 @@ requests:
internal: true
group: 1
regex:
- '"token": "(.*)"'
- '"token":"(.*)"'