Hi, I'm not an expert with load testing, but I know commons-logging from Apache is famous for its problems with dynamic classloading [1]. And it makes me believe it could be a mistake to do the same with JWebUnit.
The problem is we have an interface : IJwebUnitDialog, and possibly several implementations (HtmlUnitDialog, SeleniumDialog, ...). We don't want jwebunit-core depends on the plugins, because people who don't use Selenium plugin don't want all the Selenium jar in their classpath. That's why I'm using Class.forName in TestingEngineRegistry to load only the needed plugin. But I think it could be a problem with multi-thread. Could you please provide a simple example of load testing that throw the NPE? Thanks ++ Julien [1] : http://www.qos.ch/logging/classloader.jsp --- Raghu M <[EMAIL PROTECTED]> a écrit : > Thanks Julien. > > I am trying to use JunitPerf for load testing of > some JWebUnit tests. The > test runs fine when i am running on a single thread. > But, as soon as i > increase the number of threads, the tests return > null pointer exceptions. > > Any ideas, how to do load testing on JWebUnit tests? > > Thanks & Regards > Raghu. M > > On 3/24/07, Julien HENRY <[EMAIL PROTECTED]> wrote: > > > > Hi raghu, > > > > I'm not sure, because I'm not using JWebUnit this > way. > > But some times ago, there was a patch to fix a > memory > > leak when using JWebUnit with multiple concurrent > > threads. > > That's why I supposed it should now works. > > > > But feel free to report any bug. > > > > ++ > > > > Julien > > > > > > --- Raghu M <[EMAIL PROTECTED]> a écrit : > > > > > Is JwebUnit intended to be thread safe? > > > > > > Can a test be run on multiple threads > concurrently > > > without any problem? > > > > > > raghu > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of > IT > > > Join SourceForge.net's Techsay panel and you'll > get > > > the chance to share your > > > opinions on IT & business topics through brief > > > surveys-and earn cash > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > _______________________________________________ > > > JWebUnit-users mailing list > > > [email protected] > > > > > > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________________________ > > Découvrez une nouvelle façon d'obtenir des > réponses à toutes vos questions > > ! > > Profitez des connaissances, des opinions et des > expériences des > > internautes sur Yahoo! Questions/Réponses > > http://fr.answers.yahoo.com > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of > IT > > Join SourceForge.net's Techsay panel and you'll > get the chance to share > > your > > opinions on IT & business topics through brief > surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > JWebUnit-users mailing list > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> _______________________________________________ > JWebUnit-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ JWebUnit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
