You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/04/26 18:20:02 UTC
[Bug 54896] New: JUnit sampler gives only “failed to create an instance of the class” message with constructor problems
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: issues@jmeter.apache.org
Reporter: snatzke@codecentric.de
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.
[Bug 54896] JUnit sampler gives only “failed to create an instance of the class” message with constructor problems
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54896
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sun Apr 28 13:55:43 2013
New Revision: 1476768
URL: http://svn.apache.org/r1476768
Log:
Bug 54896 - JUnit sampler gives only “failed to create an instance of the
class” message with constructor problems
Bugzilla Id: 54896
Modified:
jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54896] JUnit sampler gives only “failed to create an instance of the class” message with constructor problems
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54896
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Hardware|PC |All
OS|Windows XP |All
Severity|normal |enhancement
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54896] JUnit sampler gives only “failed to create an instance of the class” message with constructor problems
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54896
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54896] JUnit sampler gives only “failed to create an instance of the class” message with constructor problems
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54896
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
We clarified failure.
Feel free to download nightly build and give us some feedback.
--
You are receiving this mail because:
You are the assignee for the bug.