changeset 463:a98b900ee048

HttpMessageModificationFilterTest - enable disabled tests
author Devel 2
date Wed, 02 Aug 2017 14:50:37 +0200
parents 105c244b840c
children fa4e311fdf65
files stress-tester/src/test/java/com/passus/st/client/http/filter/HttpMessageModificationFilterTest.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpMessageModificationFilterTest.java	Wed Aug 02 10:14:05 2017 +0200
+++ b/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpMessageModificationFilterTest.java	Wed Aug 02 14:50:37 2017 +0200
@@ -39,7 +39,7 @@
         AppUtils.unregisterAll();
     }
 
-    @Test(enabled = false)
+    @Test(enabled = true)
     public void testFilterOutbound() throws Exception {
         HttpRequest req = HttpRequestBuilder.post("http://test.com/path/test?uParam1=1", "param1=value1&param2=value2&param3=value3")
                 .header("Header1", "Header1Value1")
@@ -82,7 +82,7 @@
         assertEquals("param1=value1&param5=value5&param6=value6a&param6=value6b&param2=value2a", params.toString());
     }
 
-    @Test
+    @Test(enabled = true)
     public void testConfigureAndFilterOutbound() throws Exception {
         String filterConfig = "filters:\n"
                 + "    - type: modifyMessage\n"
@@ -98,7 +98,7 @@
                 + "            Header3: Header1Value3a\n"
                 + "        $setHeader: \n"
                 + "            Header6: \"$scopes.getSession('testId').get('testParam')\"\n";
-
+        
         Errors errors = new Errors();
         List<HttpFilter> filters = HttpFiltersConfigurator.getFilters(filterConfig, errors);
 
@@ -129,7 +129,7 @@
 
     }
 
-    @Test(enabled = false)
+    @Test(enabled = true)
     public void testConfigure_ApplyIf() throws Exception {
         HttpRequest req = HttpRequestBuilder.post("http://test.com/path/test")
                 .header("Header1", "Header1Value1")