Path: blob/dev/pkg/tmplexec/flow/testcases/flow-request-condition.yaml
4538 views
id: flow-request-condition12info:3name: Flow with request condition (3 raw requests)4author: test5severity: info67flow: http()89http:10- raw:11- |12GET /step1 HTTP/1.113Host: {{Hostname}}1415- |16GET /step2 HTTP/1.117Host: {{Hostname}}1819- |20GET /step3?token={{auth}} HTTP/1.121Host: {{Hostname}}2223matchers-condition: and24matchers:25- type: word26part: body_127words:28- "step1-ok"2930- type: word31part: body_232words:33- "step2-ok"3435- type: word36part: body_337words:38- "step3-ok"3940extractors:41- type: regex42name: auth43internal: true44part: body_245group: 146regex:47- 'token=([a-z0-9]+)'484950