You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by vl...@apache.org on 2019/06/08 18:42:40 UTC
[jmeter] 36/47: SampleEvent requires the ThreadGroup name This is
equivalent to the previous code, but clearer.
This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to annotated tag v2_3
in repository https://gitbox.apache.org/repos/asf/jmeter.git
commit 096fe6381d3c4caaff6e10eae06dad4d588e94f0
Author: Sebastian Bazley <se...@apache.org>
AuthorDate: Sun Sep 23 17:37:31 2007 +0000
SampleEvent requires the ThreadGroup name
This is equivalent to the previous code, but clearer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2@578589 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: bc09f9b0ae8de35e4f7026414a72775aabfb211d
---
src/core/org/apache/jmeter/threads/JMeterThread.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/org/apache/jmeter/threads/JMeterThread.java b/src/core/org/apache/jmeter/threads/JMeterThread.java
index ee517bd..fa55a7a 100644
--- a/src/core/org/apache/jmeter/threads/JMeterThread.java
+++ b/src/core/org/apache/jmeter/threads/JMeterThread.java
@@ -568,7 +568,7 @@ public class JMeterThread implements Runnable, Serializable {
}
private void notifyListeners(List listeners, SampleResult result) {
- SampleEvent event = new SampleEvent(result, controller.getPropertyAsString(TestElement.NAME));
+ SampleEvent event = new SampleEvent(result, threadGroup.getName());
notifier.notifyListeners(event, listeners);
}