HttpUnit and Multithreaded tests
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