changeset 503:2790f0eb7985

HttpMessageModificationFilter - configuration bugfix
author Devel 1
date Thu, 17 Aug 2017 11:00:02 +0200
parents 483eae2a2565
children 793e0f11c260
files stress-tester/src/main/java/com/passus/st/client/http/filter/HttpMessageModificationFilter.java stress-tester/src/main/java/com/passus/st/client/http/filter/HttpResponseContentExtractorFilter.java
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpMessageModificationFilter.java	Wed Aug 16 14:56:22 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpMessageModificationFilter.java	Thu Aug 17 11:00:02 2017 +0200
@@ -548,7 +548,8 @@
             NodeDefinition paramNodeDef = new HeaderOperationNodeDefinition(
                     mixedDef(
                             valueDef(),
-                            listDef(valueDef())
+                            listDef(valueDef()),
+                            mapDef(tupleDef("$expr", valueDef()))
                     )
             );
 
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpResponseContentExtractorFilter.java	Wed Aug 16 14:56:22 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpResponseContentExtractorFilter.java	Thu Aug 17 11:00:02 2017 +0200
@@ -151,9 +151,6 @@
             if (predicate != null) {
                 HttpMessageWrapper wrapper = new HttpMessageWrapper(request, resp, context);
                 exec = predicate.test(wrapper);
-                if (!exec) {
-                    LOGGER.debug("response rejected [{}]: {}", predicate, resp.getHeaders());
-                }
             }
 
             if (exec) {