Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HttpUnit and Multithreaded tests

843838Aug 10 2006
Hi,

We have a web application, many users can send requests to our software at the same time. When writing unit tests to stress our code, we need to simulate that sort of concurrent traffic. This is of importance as we're trying to develop robust middleware components as our webapplication connects to middleware components.

I was able to write a HttpUnit test code which is able to do functional verification, simulating end to end scenario, for one user is using our webapplication.

Now how can I create multiple cuncurrent requests. Is there any API which i can use it with HttpUnit to simulate Multithreaded tests?
Essentially i need to load our application with multiple requests concurrently to simulate a real time env. How can i automate this using HttpUnit?

Specically each of my HttpUnit test case simulates on user with unique credentials, so how can i automate it as multiple HttpUnit tests running simultaneously?. Threads????

AK
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2006
Added on Aug 10 2006
0 comments
87 views