A good way to diagnose a hang is to ctrl-break the program and look
at the call stack. If you did this on the client (the test program)
and on the system-under-test....I bet you would get a good idea of
where exactly the hang is occurring.
Mike
--- In
junitperf@yahoogroups.com, "Sam Brodkin" <sam@b...> wrote:
> Hi fellow perf-ers,
>
> I'm performance testing some stateless session bean methods on
jboss3.2 with
> mysql 4 on windows 2000. Everything works GREAT with one user and
at least
> 1000 millis for a timer. However if I go to more users or less
timer jboss
> hangs. It could be a windoze thing. Maybe someone has some
insight??
>
> Timer timer = new ConstantTimer(1000); //Set this at 100 and
test freezes
> on windows
> users = 1; //increase this to 2 or more and test eventually
freezes on
> windows
> iterations = 100000;
> long maxElapsedTime = 100;
> Test testCase = new TestTellerPeformance
("testCreateOneTransaction");
> Test timedTest = new TimedTest(testCase, maxElapsedTime);
> Test loadTest = new LoadTest(timedTest, users, iterations,
timer);
> suite.addTest(loadTest);
>
> Thanks!
>
> Sam