This is a basic implementation that runs a single test method of
a JUnit test case. The current implementation will use the string
constructor first. If the test class does not declare a string
constructor, the sampler will try empty constructor.
getAppendError() If append error is not set, by default it is set to false,
which means users have to explicitly set the sampler to
append the assert errors.
public boolean
getAppendException() If append exception is not set, by default it is set to false.
getClassInstance(String className, String label) If the method is not able to create a new instance of the
class, it returns null and logs all the exceptions at
warning level.
If append error is not set, by default it is set to false,
which means users have to explicitly set the sampler to
append the assert errors. Because of how junit works, there
should only be one error
provide a descriptive error for the test method. For
a description of the difference between failure and
error, please refer to the following url
http://junit.sourceforge.net/doc/faq/faq.htm#tests_9
Parameters: error -