svn commit: r922204 - in /jakarta/jmeter/trunk: bin/jmeter.properties src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java src/core/org/apache/jmeter/samplers/StatisticalSampleSender.java

2010-03-12 Thread sebb
Author: sebb
Date: Fri Mar 12 10:44:48 2010
New Revision: 922204

URL: http://svn.apache.org/viewvc?rev=922204view=rev
Log:
Revert to previous behaviour, i.e. key on thread Group, but allow this to be 
changed by defining key_on_threadname=true

Modified:
jakarta/jmeter/trunk/bin/jmeter.properties

jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java

jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleSender.java

Modified: jakarta/jmeter/trunk/bin/jmeter.properties
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/jmeter.properties?rev=922204r1=922203r2=922204view=diff
==
--- jakarta/jmeter/trunk/bin/jmeter.properties (original)
+++ jakarta/jmeter/trunk/bin/jmeter.properties Fri Mar 12 10:44:48 2010
@@ -474,6 +474,8 @@ wmlParser.types=text/vnd.wap.wml 
 #mode=Batch
 #mode=Hold
 #mode=Statistical
+#Set to true to key statistical samples on threadName rather than threadGroup
+#key_on_threadname=false
 #mode=Stripped
 #mode=StrippedBatch
 #mode=org.example.load.MySampleSender

Modified: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java?rev=922204r1=922203r2=922204view=diff
==
--- 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java
 (original)
+++ 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java
 Fri Mar 12 10:44:48 2010
@@ -51,10 +51,19 @@ public class StatisticalSampleResult ext
 super(stamp, elapsed);
 }
 
-public StatisticalSampleResult(SampleResult res) {
+/**
+ * Create a statistical sample result from an ordinary sample result.
+ * 
+ * @param res the sample result 
+ * @param keyOnThreadName true if key includes threadName, false if 
threadGroup
+ */
+public StatisticalSampleResult(SampleResult res, boolean keyOnThreadName) {
 // Copy data that is shared between samples (i.e. the key items):
 setSampleLabel(res.getSampleLabel());
-setThreadName(res.getThreadName());
+
+if (keyOnThreadName) {
+setThreadName(res.getThreadName());
+}
 
 setSuccessful(true); // Assume result is OK
 setSampleCount(0); // because we add the sample count in later
@@ -108,17 +117,22 @@ public class StatisticalSampleResult ext
 
 /**
  * Generates the key to be used for aggregating samples as follows:br/
- * codesampleLabel/code - codethreadName/code
- *
+ * codesampleLabel/code - code[threadName|threadGroup]/code
+ * p
  * N.B. the key should agree with the fixed items that are saved in the 
sample.
  *
  * @param event sample event whose key is to be calculated
+ * @param keyOnThreadName true if key should use thread name, otherwise 
use thread group
  * @return the key to use for aggregating samples
  */
-public static String getKey(SampleEvent event) {
+public static String getKey(SampleEvent event, boolean keyOnThreadName) {
 StringBuilder sb = new StringBuilder(80);
 sb.append(event.getResult().getSampleLabel());
-sb.append('-').append(event.getResult().getThreadName());
+if (keyOnThreadName){
+sb.append('-').append(event.getResult().getThreadName());
+} else {
+sb.append('-').append(event.getThreadGroup());
+}
 return sb.toString();
 }
 }

Modified: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleSender.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleSender.java?rev=922204r1=922203r2=922204view=diff
==
--- 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleSender.java
 (original)
+++ 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/StatisticalSampleSender.java
 Fri Mar 12 10:44:48 2010
@@ -48,6 +48,9 @@ public class StatisticalSampleSender imp
 private static final long TIME_THRESHOLD_MS = 
JMeterUtils.getPropDefault(time_threshold,
 DEFAULT_TIME_THRESHOLD);
 
+// should the samples be aggregated on thread name or thread group 
(default) ?
+private static boolean KEY_ON_THREADNAME = 
JMeterUtils.getPropDefault(key_on_threadname, false);
+
 private final RemoteSampleListener listener;
 
 private final ListSampleEvent sampleStore = new ArrayListSampleEvent();
@@ -75,8 +78,9 @@ public class StatisticalSampleSender imp
  */
 StatisticalSampleSender(RemoteSampleListener listener) {
 this.listener = listener;
-log.info(Using batching for this run. +  

[Jakarta-jmeter Wiki] Update of JMeterUsers by bjoern @xrow.de

2010-03-12 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-jmeter Wiki 
for change notification.

The JMeterUsers page has been changed by bjo...@xrow.de.
http://wiki.apache.org/jakarta-jmeter/JMeterUsers?action=diffrev1=39rev2=40

--

  = Companies that use JMeter =
+ This is a list of companies that are using JMeter. If you are not on it 
please add yourself.
+ ||tablestyle=width: 1292px; height: 891px;style=text-align: 
center;'''Company''' ||style=text-align: center;'''Country''' 
||style=text-align: center;'''Comment''' ||
+ ||[[http://www.aol.com|AOL]] ||Worldwide ||We use JMeter for  performance 
testing, QA, and adhoc production requests. ||
+ ||Applabs Technologies Pvt.Ltd ||India ||We use JMeter for performance 
testing. We used Jmeter for more than 10 projects. ||
+ ||[[http://www.ardas.dp.ua|ARDAS group]] ||Ukraine ||We use JMeter since 2006 
year for performance testing in all our java projects. ||
+ ||[[http://www.aris.nl|ARIS B.V.]] ||Netherlands ||We use JMeter for 
performance testing on the OSIRIS study tracking system and the Dutch Risc 
database and map for accidents and catastrophes. ||
+ ||[[http://www.cofman.com|Cofman]] ||Denmark ||We are using JMeter for load 
testing on our systems ||
+ ||Consology (Pty) Ltd ||South Africa ||E-billing ||
+ ||[[http://www.ce.com.au|Corporate Express Australia Ltd.]] ||Australia and 
NZ ||Integration, load and stress testing B2B and EAI integration systems. ||
+ ||[[http://www.csiro.au|CSIRO]] ||Australia ||IM  T is using JMeter to test 
our managed applications and infrastructure. ||
+ ||[[http://www.datacom.co.nz|DATACOM]] ||New Zealand ||Using JMeter to 
performance test our developed code. Most of it for local government agencies. 
||
+ ||[[http://www.dataresolve.com|DataResolve Systems]] ||India ||We use JMeter 
for performance testing of our servers. ||
+ ||[[http://www.ebuilder.lk|eBuilder Technology Centre]] ||Srilanka ||We use 
JMeter to perform load, functional  regression testing on the applications of 
e-TravelManagement, e-Procurement  e-Logistics business areas. ||
+ ||[[http://www.eFusion.com.sg|eFusion]] ||Jakarta / Singapore ||use JMeter in 
our performance  load testing of our applications. ||
+ ||[[http://www.ephibian.com|Ephibian]] ||Tucson, AZ ||We develop enterprise 
web applications using open source software such as Tomcat, Apache, JMeter and 
PostgreSQL. ||
+ ||[[http://www.disid.com|DiSiD Technologies]] ||Spain ||We are using JMeter 
for performance testing. ||
+ ||[[http://www.innopath.com|Innopath Software]] ||USA ||Use JMeter heavily 
for performance testing and for end to end testing. ||
+ ||Lufthansa Systems Indonesia ||Indonesia ||We use JMeter for performance 
testing. Currently we use it for testing our Frequent Flyer Program 
application. ||
+ ||[[http://www.neevtech.com|Neev Information Technologies]] ||India ||We are 
using JMeter for Performance and Load testing of Web Applications we develop 
for our clients. ||
+ ||[[http://www.orbitz.com|orbitz]] ||USA ||We use JMeter for performance 
testing in our DEV  DEVQA servers. ||
+ ||[[http://www.prepme.com|PrepMe]] ||USA ||We wrap JMeter with a few scripts 
to dynamically generate configuration files based on the type of tests we want 
to run. This is integrated with our internal Symfony framework installation. ||
+ ||[[http://www.ser-solutions.pl|S.E.R. Solutions]] ||Germany ||we use JMeter 
for performace tests of our DICOM server ||
+ ||SharpMind ||Germany ||we use JMeter for load, functional and regression 
testing of client-server applications ||
+ ||[[http://www.talis.com|Talis]] ||England ||We are using it to performance 
test our new Talis Engage system. ||
+ ||University of Western Cape ||South Africa ||We are using JMeter to test our 
in-house written E-Learning application. ||
+ ||[[http://www.watchmouse.com|WatchMouse]] ||Netherlands ||Using jMeter to 
enable our customers to monitor transactions on their web site. ||
+ ||[[http://www.sapient.com|Sapient]] ||Worldwide ||Uses JMeter for 
performance and load testing for various applications. ||
+ ||[[http://www.xrow.com|xrow GmbH]] ||Germany ||Uses JMeter for performance 
and load testing of eZ Publish applications. ||
  
- This is a list of companies that are using JMeter. If you are not on it 
please add yourself.
  
- ||tablewidth=80% :'''Company'''||:'''Country'''||:'''Comment'''||
- ||[[http://www.aol.com|AOL]]||Worldwide||We use JMeter for  performance 
testing, QA, and adhoc production requests.||
- ||Applabs Technologies Pvt.Ltd||India||We use JMeter for performance testing. 
We used Jmeter for more than 10 projects.||
- ||[[http://www.ardas.dp.ua|ARDAS group]]||Ukraine||We use JMeter since 2006 
year for performance testing in all our java projects.||
- ||[[http://www.aris.nl|ARIS B.V.]]||Netherlands||We use JMeter for 
performance testing on the OSIRIS study tracking system and the Dutch Risc 
database and map for accidents 

jmx export for webscaran with HTTPS

2010-03-12 Thread Miklos Tverdota
Hi,

 

It is a hard work to send an attachment to this list.

 

Please let me know if you got it. And it works.

 

Regards,

 

Miklos

 

 


-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Re: jmx export for webscaran with HTTPS

2010-03-12 Thread sebb
On 12/03/2010, Miklos Tverdota tverd...@gmx.de wrote:




 Hi,



 It is a hard work to send an attachment to this list.


Please don't send attachments to the JMeter mailing lists.

Patches should be attached to a Bugzilla enhancement request.


 Please let me know if you got it. And it works.



 Regards,



 Miklos





 -
  To unsubscribe, e-mail:
 jmeter-dev-unsubscr...@jakarta.apache.org
  For additional commands, e-mail:
 jmeter-dev-h...@jakarta.apache.org


-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 48897] New: export imeter test plans from websarab

2010-03-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48897

   Summary: export imeter test plans from websarab
   Product: JMeter
   Version: unspecified
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: HTTP
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: tverd...@gmx.de


Hi,

I created an export function using jmeter modules and integrated it webscarab.

Now it is possible to export any http(s) conversations to a jmeter test plan.

Here is the eclips project and a the description.

Regards,

miklos

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 48898] New: export imeter test plans from websarab

2010-03-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48898

   Summary: export imeter test plans from websarab
   Product: JMeter
   Version: unspecified
  Platform: All
OS/Version: All
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: HTTP
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: tverd...@gmx.de


Hi,

I created an export function using jmeter modules and integrated it webscarab.

Now it is possible to export any http(s) conversations to a jmeter test plan.

Here is the eclips project and a the description.

Regards,

miklos

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 48898] export imeter test plans from websarab

2010-03-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48898

--- Comment #1 from Miklos Tverdota tverd...@gmx.de 2010-03-12 12:19:45 UTC 
---
Created an attachment (id=25119)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25119)
It is only some files.

Eclips project with a tool

Put it together if you does not accept a hole project.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 48898] export imeter test plans from websarab

2010-03-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48898

--- Comment #2 from Sebb s...@apache.org 2010-03-12 14:52:01 UTC ---
*** Bug 48897 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 48901] Endless wait on Synchronizing Timer

2010-03-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48901

--- Comment #1 from Cheng Chi joyches...@gmail.com 2010-03-12 17:36:44 UTC ---
Created an attachment (id=25120)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25120)
Stack trace of 100 threads which is performing endless wait

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 48901] Endless wait by adding Synchronizing Timer

2010-03-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48901

Cheng Chi joyches...@gmail.com changed:

   What|Removed |Added

Summary|Endless wait on |Endless wait by adding
   |Synchronizing Timer |Synchronizing Timer

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org