The log only tells the following msgs as part of the Junit function call, which is not much of usage unless some one help me if .<init> means any error here.
String constructor:: com.yy.Engine.manager.ABTest.<init>(java.lang.String) 2009/06/30 17:18:38 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1 2009/06/30 17:18:38 INFO - jmeter.engine.StandardJMeterEngine: Ending thread Thread Group 1-1 -S On Tue, Jun 30, 2009 at 5:14 PM, sebb <[email protected]> wrote: > On 01/07/2009, Sayeem Ahmed <[email protected]> wrote: > > Thanks Sebb. > > > > I've added the jars under lib directories but no improvements. Still its > > failing. > > > > Is there a way to see where it is failing? > > Check the jmeter log file. > > > > > -S > > > > > > On Tue, Jun 30, 2009 at 3:51 AM, sebb <[email protected]> wrote: > > > > > Try adding the jar(s) to the lib directory. > > > > > > On 30/06/2009, Sayeem Ahmed <[email protected]> wrote: > > > > Hi, > > > > > > > > I've created a Junit test case. This test case needs few other > classes. > > > Few > > > > of those classes are in the same package that I've included in the > jar > > > file > > > > and added under lib\junit. Now, I've few other classes that needs > to be > > > > added to. Where\how do I add them? > > > > > > > > package mypackage; > > > > > > > > import junit.framework.TestCase; > > > > import com; > > > > > > > > public class AB extends TestCase { > > > > > > > > public GetCam id; //from the imported package > > > > public PutCam pid; > > > > > > > > public void setUp() throws Exception { > > > > super.setUp(); > > > > //some stuff here > > > > } > > > > > > > > /* (non-Javadoc) > > > > * @see junit.framework.TestCase#tearDown() > > > > */ > > > > public void tearDown() throws Exception { > > > > super.tearDown(); > > > > > > > > System.out.println("teardown accessed "); > > > > } > > > > > > > > public void testURL() { > > > > String url = pid.URL("XYZ.txt"); > > > > assertTrue(url.matches("www.llllmmmm.com")); > > > > > > > > > > > > > > > > } > > > > } > > > > > > > > > > > > Also, XYZ.txt is created by one of the functions that is called in > > > setUp, is > > > > it supported where a class which is inside jar file is being > created? > > > > > > > > Couldn't find much support for Junit related information with > Jmeter, so > > > > thought I would ask the question here. > > > > > > > > The test case works outside Jmeter. > > > > -- > > > > > > > > -S > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

