changeset 433:f2d245d74663

minor
author Devel 2
date Thu, 27 Jul 2017 13:37:40 +0200
parents 0db3ae52a2f3
children dbbac526c4a0
files stress-tester/src/main/java/com/passus/st/client/http/HttpParallelClientWorker.java stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilter.java stress-tester/src/test/java/com/passus/st/client/http/filter/HttpMessageModificationFilterTest.java
diffstat 3 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/HttpParallelClientWorker.java	Thu Jul 27 13:36:55 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/HttpParallelClientWorker.java	Thu Jul 27 13:37:40 2017 +0200
@@ -194,7 +194,6 @@
     }
 
     private void processEvent(Event event) {
-        logger.debug(event);
         if (event instanceof SessionEvent) {
             switch (event.getType()) {
                 case SessionStatusEvent.HTTP_SESSION_STATUS:
@@ -237,7 +236,6 @@
                         }
                     }
 
-                    debug(flowContext, "Qeueu.size {}", flowContext.eventsQueue.size());
                     break;
                 }
             }
@@ -309,7 +307,7 @@
         }
     }
 
-    private static class LocalHttpFlowContext extends HttpFlowContext {
+    protected static class LocalHttpFlowContext extends HttpFlowContext {
 
         private final Queue<Event> eventsQueue;
 
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilter.java	Thu Jul 27 13:36:55 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilter.java	Thu Jul 27 13:37:40 2017 +0200
@@ -31,7 +31,7 @@
         return DUNNO;
     }
 
-    public int filterOutbound(HttpRequest request, HttpResponse resp, HttpFlowContext contex) {
+    public int filterOutbound(HttpRequest request, HttpResponse resp, HttpFlowContext context) {
         return DUNNO;
     }
 
--- a/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpMessageModificationFilterTest.java	Thu Jul 27 13:36:55 2017 +0200
+++ b/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpMessageModificationFilterTest.java	Thu Jul 27 13:37:40 2017 +0200
@@ -76,7 +76,6 @@
         Errors errors = new Errors();
         List<HttpFilter> filters = HttpFiltersConfigurator.getFilters(filterConfig, errors);
 
-        errors.getAllErrors().forEach(System.out::println);
         assertEquals(0, errors.getErrorCount());
         assertEquals(1, filters.size());
         assertTrue(filters.get(0) instanceof HttpMessageModificationFilter);