Author: sebb
Date: Mon Apr 27 00:55:03 2009
New Revision: 768843
URL: http://svn.apache.org/viewvc?rev=768843&view=rev
Log:
Prevent call to TransactionSampler.sample()
Modified:
jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java
Modified:
jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java?rev=768843&r1=768842&r2=768843&view=diff
==============================================================================
---
jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java
(original)
+++
jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java
Mon Apr 27 00:55:03 2009
@@ -60,12 +60,11 @@
}
/**
- * One cannot sample the TransactionSample directly.
+ * One cannot sample the TransactionSampler directly.
*/
public SampleResult sample(Entry e) {
- // It is the JMeterThread which knows how to sample a
- // real sampler
- return null;
+ throw new RuntimeException("Cannot sample TransactionSampler
directly");
+ // It is the JMeterThread which knows how to sample a real sampler
}
public Sampler getSubSampler() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]