changeset 601:a5ac65b99326

QlikWebsocketClientIT - bugfix
author Devel 1
date Fri, 06 Oct 2017 09:11:34 +0200
parents 7fd1b70da98f
children 11c54e86b80d
files stress-tester-qlik/src/test/java/com/passus/st/qlik/QlikWebsocketClientIT.java
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester-qlik/src/test/java/com/passus/st/qlik/QlikWebsocketClientIT.java	Thu Oct 05 13:29:44 2017 +0200
+++ b/stress-tester-qlik/src/test/java/com/passus/st/qlik/QlikWebsocketClientIT.java	Fri Oct 06 09:11:34 2017 +0200
@@ -11,15 +11,17 @@
  */
 public class QlikWebsocketClientIT {
 
+    private static final String APP_NAME = "Passus StressGen.qvf";
+
     @Test
     public void testReload() throws Exception {
-        boolean reload = QlikWebsocketClient.reload("localhost", 9076, "ST_final_v1_LB.qvf");
+        boolean reload = QlikWebsocketClient.reload("localhost", 9076, APP_NAME);
         assertTrue(reload);
     }
 
     @Test
     public void testAsyncReload() throws InterruptedException, ExecutionException {
-        Future<Boolean> asyncReload = QlikWebsocketClient.asyncReload("localhost", 9076, "ST_final_v1_LB.qvf");
+        Future<Boolean> asyncReload = QlikWebsocketClient.asyncReload("localhost", 9076, APP_NAME);
         assertTrue(asyncReload.get());
     }