changeset 941:b6f72cdcac16

HttpMessageModificationFilterTest.testComplexExpression fixed
author Devel 2
date Fri, 15 Jun 2018 13:27:17 +0200
parents d59a9a3f74d7
children 96f3c8ba4b4d
files stress-tester/src/test/java/com/passus/st/client/http/filter/HttpMessageModificationFilterTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpMessageModificationFilterTest.java	Fri Jun 15 13:23:04 2018 +0200
+++ b/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpMessageModificationFilterTest.java	Fri Jun 15 13:27:17 2018 +0200
@@ -302,9 +302,9 @@
                 + "    - type: modifyMessage\n"
                 + "      operations:\n"
                 + "        setQueryParam: \n"
-                + "            v1: {$expr: \"httpSession.get('testParam2') or 'aaa'\"}\n"
+                + "            v1: {$expr: \"sessionParams.get('testParam2') or 'aaa'\"}\n"
                 + "        setQueryParam: \n"
-                + "            v2: {$expr: \"httpSession.get('testParam2') or httpSession.get('testParam')\"}\n";
+                + "            v2: {$expr: \"sessionParams.get('testParam2') or sessionParams.get('testParam')\"}\n";
 
         HttpRequest req = HttpRequestBuilder.get("http://test.com/path/test")
                 .tag(TAG_SESSION_ID, "sessionId")