changeset 555:7b10dfafe23a

HttpSequenceFilter - in progress
author Devel 1
date Tue, 19 Sep 2017 11:26:31 +0200
parents b54118ccc0e0
children d5c14b4259ea
files stress-tester/src/test/resources/com/passus/st/client/http/filter/sequence.yml
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stress-tester/src/test/resources/com/passus/st/client/http/filter/sequence.yml	Tue Sep 19 11:26:31 2017 +0200
@@ -0,0 +1,13 @@
+filters:
+  - type: sequence
+    sequence:
+      - match: {"req.uri": "/res1", "resp.getCookie('id')": "123"}
+      - match: {"req.getHeader('xyz')": "abc"}
+        mustOccur: true
+        time: 10000
+        alias: last
+    values:
+        code: $_i0.resp.status.code
+        xhost: $_i0.req.url.host
+        header: $_i1.req.getHeader('xyz')
+        cookie: $_i1.req.getCookie('id')