jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1332633 - /jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java
Date Tue, 01 May 2012 12:53:05 GMT
Author: pmouawad
Date: Tue May  1 12:53:04 2012
New Revision: 1332633

URL: http://svn.apache.org/viewvc?rev=1332633&view=rev
Log:
Bug 53164 - New System Sampler
Added working directory display

Modified:
    jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java

Modified: jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java?rev=1332633&r1=1332632&r2=1332633&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java
(original)
+++ jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java
Tue May  1 12:53:04 2012
@@ -98,7 +98,6 @@ public class SystemSampler extends Abstr
                 cmdLine.append(cmds.get(i+1));
             }
 
-            results.setSamplerData(cmdLine.toString());
             
             File directory = null;
             if(StringUtils.isEmpty(getDirectory())) {
@@ -112,6 +111,8 @@ public class SystemSampler extends Abstr
                     log.debug("Using configured directory:"+directory.getAbsolutePath());
                 }
             }
+            results.setSamplerData("Working Directory:"+directory.getAbsolutePath()+", Executing:"
+ cmdLine.toString());
+            
             NativeCommand nativeCommand = new NativeCommand(directory);
             
             String responseData = null;



Mime
View raw message