Author: sebb
Date: Tue Nov  6 08:05:17 2007
New Revision: 592476

URL: http://svn.apache.org/viewvc?rev=592476&view=rev
Log:
Correct the SampleEvent parameter
Deliver excluded samples as [name]

Modified:
    
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java

Modified: 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java?rev=592476&r1=592475&r2=592476&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
 (original)
+++ 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
 Tue Nov  6 08:05:17 2007
@@ -381,12 +381,14 @@
 
                        placeSampler(sampler, subConfigs, myTarget);
 
-                       notifySampleListeners(new SampleEvent(result, 
sampler.getName()));
+                       notifySampleListeners(new SampleEvent(result, 
"WorkBench")); // TODO - is this the correct threadgroup name?
                }
                else {
                        if(log.isDebugEnabled()) {
                                log.debug("Sample excluded based on url or 
content-type: " + result.getUrlAsString() + " - " + result.getContentType());
                        }
+                       result.setSampleLabel("["+result.getSampleLabel()+"]");
+                       notifySampleListeners(new SampleEvent(result, 
"WorkBench")); // TODO - is this the correct threadgroup name?
                }
        }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to