changeset 599:55338eaa7265

minor
author Devel 1
date Thu, 05 Oct 2017 11:39:57 +0200
parents 7cc4c88a12b5
children 7fd1b70da98f
files stress-tester-qlik/src/main/java/com/passus/st/qlik/QlikWebsocketClient.java stress-tester/src/main/java/com/passus/st/client/credentials/CsvUsernamePasswordCredentialsProvider.java
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester-qlik/src/main/java/com/passus/st/qlik/QlikWebsocketClient.java	Thu Oct 05 09:31:22 2017 +0200
+++ b/stress-tester-qlik/src/main/java/com/passus/st/qlik/QlikWebsocketClient.java	Thu Oct 05 11:39:57 2017 +0200
@@ -108,6 +108,7 @@
             }
 
             if (docId == null) {
+                LOGGER.info("Could not find doc: '{}'", docName);
                 return false;
             }
 
--- a/stress-tester/src/main/java/com/passus/st/client/credentials/CsvUsernamePasswordCredentialsProvider.java	Thu Oct 05 09:31:22 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/credentials/CsvUsernamePasswordCredentialsProvider.java	Thu Oct 05 11:39:57 2017 +0200
@@ -116,6 +116,13 @@
         fileName = config.getString("fileName");
         readMode = convertReadMode(config.get("readMode"));
         separator = config.getString("separator", "" + DEFAULT_SEPARATOR).charAt(0);
+        reloadSilently();
+    }
+
+    /*
+      TODO:for CsvUsernamePasswordCredentialProviderViewSkin
+     */
+    public void reloadSilently() {
         try {
             credentialsList = load(new File(fileName), separator);
         } catch (IOException ex) {