dsl - update
parent
346a5b3546
commit
3373976e28
|
@ -23,23 +23,12 @@ http:
|
||||||
GET /v{{version}}/containers/json HTTP/1.1
|
GET /v{{version}}/containers/json HTTP/1.1
|
||||||
Host: {{Hostname}}
|
Host: {{Hostname}}
|
||||||
|
|
||||||
matchers-condition: or
|
|
||||||
matchers:
|
matchers:
|
||||||
- type: word
|
- type: dsl
|
||||||
part: body_2
|
dsl:
|
||||||
words:
|
- 'status_code_2 == 200'
|
||||||
- "Id"
|
- 'contains(body_1, "ApiVersion") && contains(body_1, "GitCommit") && contains(body_1, "GoVersion") && contains(body_1, "KernelVersion")'
|
||||||
- "Names"
|
- 'contains(body_2, "Id") && contains(body_2, "Names") && contains(body_2, "Image") && contains(body_2, "Command") && contains(body_2, "PrivatePort") && contains(body_2, "PublicPort") || contains(body_2, "[]")'
|
||||||
- "Image"
|
|
||||||
- "Command"
|
|
||||||
- "PrivatePort"
|
|
||||||
- "PublicPort"
|
|
||||||
condition: and
|
|
||||||
|
|
||||||
- type: word
|
|
||||||
part: body_2
|
|
||||||
words:
|
|
||||||
- '[]'
|
|
||||||
condition: and
|
condition: and
|
||||||
|
|
||||||
extractors:
|
extractors:
|
||||||
|
|
Loading…
Reference in New Issue