additional matcher with or condition

patch-1
Dhiyaneshwaran 2023-12-26 07:58:10 +05:30 committed by GitHub
parent 9ecd7d5a47
commit 3115271e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -23,7 +23,7 @@ http:
GET /v{{version}}/containers/json HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers-condition: or
matchers:
- type: word
part: body_2
@ -36,6 +36,14 @@ http:
- "PublicPort"
condition: and
- type: word
part: body_2
words:
- '[]'
- '"ImageID":
- '"HostConfig":'
condition: and
extractors:
- type: regex
name: version