changeset 439:83d627ad7e47

bugfix
author Devel 1
date Thu, 27 Jul 2017 16:00:49 +0200
parents f9315df8d81f
children 76b6252b9e5c
files stress-tester/src/main/java/com/passus/st/client/http/filter/HttpSessionCookieFilter.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpSessionCookieFilter.java	Thu Jul 27 16:00:31 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpSessionCookieFilter.java	Thu Jul 27 16:00:49 2017 +0200
@@ -65,8 +65,9 @@
         this.cookieNames = Collections.singleton(cookieName);
     }
 
-    public HttpSessionCookieFilter(Set<CharSequence> cookieNames) {
+    public HttpSessionCookieFilter(Set<CharSequence> cookieNames, boolean removeInvalidSessionId) {
         this.cookieNames = cookieNames;
+        this.removeInvalidSessionId = removeInvalidSessionId;
     }
 
     public boolean isRemoveInvalidSessionId() {
@@ -165,7 +166,7 @@
 
     @Override
     public HttpFilter instanceForWorker(int index) {
-        return new HttpSessionCookieFilter(cookieNames);
+        return new HttpSessionCookieFilter(cookieNames, removeInvalidSessionId);
     }
 
     public static class HttpSessionCookieFilterNodeDefCreator implements NodeDefinitionCreator {