https://issues.apache.org/bugzilla/show_bug.cgi?id=54896
Bug ID: 54896
Summary: JUnit sampler gives only “failed to create an instance
of the class” message with constructor problems
Product: JMeter
Version: 2.9
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
JMeter seems to expect a lot of the constructors of the JUnit test class, e.g.
the standard constructor, a constructor with just a String argument and all
libraries that are used within the constructor (e.g. someone uses jlog inside
the constructor, the jlog-library has to be provided).
While all these requirements are reasonable, the error message is not. In all
those cases the only message is “failed to create an instance of the class”,
which gives no hint or help what is wrong or missing. If an error occurrs in
the Java code outside of the constructor, the messages are very expressive, so
it would be nice to get the same detail also with problems that occur in the
constructor of the JUnit test class.
--
You are receiving this mail because:
You are the assignee for the bug.