Hi,
I'd like to give some user feedback from TestElement methods in situations
where there are faults in the test plan configuration. Currently, in
development version, I do it with exceptions. This is lame. What would be
the correct way to do this?
E.g.
public SampleResult sample(Entry e) {
JMeterContext context = getThreadContext();
ConnectionPool connectionPool = (ConnectionPool)
e.getConfigElement(ConnectionPool.class);
if(connectionPool == null) {
throw new IllegalSateException("No SIP connection
pool in the test plan");
}
}
--
Mikko Ohtamaa
[EMAIL PROTECTED]
+358 40 743 9707
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]