Test problem using JUnitPerf

Posted by allenzzzxd on Stack Overflow See other posts from Stack Overflow or by allenzzzxd
Published on 2010-04-28T14:26:08Z Indexed on 2010/04/29 0:07 UTC
Read the original article Hit count: 360

Filed under:
|
|

Hi, guys,

I'm writing a JUnit test using JUnitPerf. Here, I want to generate some entries and use them to update a database. To test the capacity of the database, I want several test to run simultaneously or randomly, so I use, for example:

Test loadTest = new LoadTest(testCase, n);

But, still, I have to insure that in each test, a different update source will be used so that a different entry in the database will be updated.

So my question is how can I realize this?

Thanks a lot Allen

© Stack Overflow or respective owner

Related posts about junit

Related posts about java