Hi Geeks
Just added the new bank test example by using
XDoclet and transactions. It is available in the
test package "banknew".
The test contains two new tests:
- stress-test-and-report
- marathon-test-and-report
To call these tests do:
- download the CVS module "jbosstest" from
the tag "Branch_2_4"
- go to "/jbosstest/src/build
- call for the stress test:
$ANT_HOME/bin/ant -f run_tests.xml stress-test-and-report
- call for the marathon test:
$ANT_HOME/bin/ant -f run_tests.xml marathon-test-and-report
-Djbosstest.duration=<time in ms> -Dtest.timeout=<time in ms
greater than duration>
Attention: the duration and timout must be a time in ms which means
- 3600000 for one hour
- 7200000 for two hours etc.
Note that the timeout should be around 20 minutes greater than the duration.
Both tests are not very well writen and only uses the "banknew" example as
bases of it.
Have fun and let me know when you have problems or
suggestions to create a better test. Because I want to
create a stress test which utilizes 100% of CPU and a lot
of memory for a shorter period (around 20 to 30 minutes)
and a marathon test which utilizes around 50% of CPU
and certain size of memory for a long period (many hours
or days).
xxxxxxxxxxxxxxxxx
Andreas Schaefer
Senior Consultant
JBoss Group, LLC
xxxxxxxxxxxxxxxxx
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development