jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1575071 - in /jmeter/trunk/src/components/org/apache/jmeter: assertions/JSR223Assertion.java extractor/JSR223PostProcessor.java modifiers/JSR223PreProcessor.java timers/JSR223Timer.java visualizers/JSR223Listener.java
Date Thu, 06 Mar 2014 22:14:03 GMT
Author: pmouawad
Date: Thu Mar  6 22:14:03 2014
New Revision: 1575071

URL: http://svn.apache.org/r1575071
Log:
Add script name for debugging purpose

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java
    jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java
    jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java
    jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/JSR223Listener.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java?rev=1575071&r1=1575070&r2=1575071&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java Thu Mar
 6 22:14:03 2014
@@ -47,11 +47,11 @@ public class JSR223Assertion extends JSR
             processFileOrScript(scriptEngine, bindings);
             result.setError(false);
         } catch (IOException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
             result.setError(true);
             result.setFailureMessage(e.toString());
         } catch (ScriptException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
             result.setError(true);
             result.setFailureMessage(e.toString());
         }

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java?rev=1575071&r1=1575070&r2=1575071&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java Thu Mar
 6 22:14:03 2014
@@ -41,9 +41,9 @@ public class JSR223PostProcessor extends
             ScriptEngine scriptEngine = getScriptEngine();
             processFileOrScript(scriptEngine, null);
         } catch (ScriptException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
         } catch (IOException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
         }
     }
 }

Modified: jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java?rev=1575071&r1=1575070&r2=1575071&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java Thu Mar
 6 22:14:03 2014
@@ -41,9 +41,9 @@ public class JSR223PreProcessor extends 
             ScriptEngine scriptEngine = getScriptEngine();
             processFileOrScript(scriptEngine, null);
         } catch (ScriptException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
         } catch (IOException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
         }
     }
 }

Modified: jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java?rev=1575071&r1=1575070&r2=1575071&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java Thu Mar  6 22:14:03
2014
@@ -46,11 +46,11 @@ public class JSR223Timer extends JSR223T
             }
             delay = Long.parseLong(o.toString());
         } catch (NumberFormatException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
         } catch (IOException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
         } catch (ScriptException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
         }
         return delay;
     }

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/JSR223Listener.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/JSR223Listener.java?rev=1575071&r1=1575070&r2=1575071&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/JSR223Listener.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/JSR223Listener.java Thu Mar
 6 22:14:03 2014
@@ -49,9 +49,9 @@ public class JSR223Listener extends JSR2
             bindings.put("sampleResult", event.getResult());
             processFileOrScript(scriptEngine, bindings);
         } catch (ScriptException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
         } catch (IOException e) {
-            log.error("Problem in JSR223 script ", e);
+            log.error("Problem in JSR223 script "+getName(), e);
         }
     }
 



Mime
View raw message