ASF Bugzilla – Attachment 23842 Details for
Bug 47398
[patch] SampleEvent are sent twice over RMI in distributed testing and non gui mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
jmeter patch
JMeter.java.patch (text/plain), 1.95 KB, created by
benoit.wiart
on 2009-06-22 02:12:34 UTC
(
hide
)
Description:
jmeter patch
Filename:
MIME Type:
Creator:
benoit.wiart
Created:
2009-06-22 02:12:34 UTC
Size:
1.95 KB
patch
obsolete
>Index: src/core/org/apache/jmeter/JMeter.java >=================================================================== >--- src/core/org/apache/jmeter/JMeter.java (revision 780105) >+++ src/core/org/apache/jmeter/JMeter.java (working copy) >@@ -736,18 +736,29 @@ > // For GUI runs this is done in Start.java > convertSubTree(tree); > >+ Summariser summer = null; >+ String summariserName = JMeterUtils.getPropDefault("summariser.name", "");//$NON-NLS-1$ >+ if (summariserName.length() > 0) { >+ log.info("Creating summariser <" + summariserName + ">"); >+ println("Creating summariser <" + summariserName + ">"); >+ summer = new Summariser(summariserName); >+ } >+ > if (logFile != null) { > ResultCollector logger = new ResultCollector(); > logger.setFilename(logFile); >+ if (summer != null) { >+ logger.setSummariser(summer); >+ } > tree.add(tree.getArray()[0], logger); > } >- String summariserName = JMeterUtils.getPropDefault("summariser.name", "");//$NON-NLS-1$ >- if (summariserName.length() > 0) { >- log.info("Creating summariser <" + summariserName + ">"); >- println("Creating summariser <" + summariserName + ">"); >- Summariser summer = new Summariser(summariserName); >- tree.add(tree.getArray()[0], summer); >+ else { >+ // only add Summariser if it can not be shared with the ResultCollector >+ if (summer != null) { >+ tree.add(tree.getArray()[0], summer); >+ } > } >+ > List engines = new LinkedList(); > tree.add(tree.getArray()[0], new ListenToTest(parent, (remoteStart && remoteStop) ? engines : null)); > println("Created the tree successfully using "+testFile);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47398
: 23842 |
23843