Currently I use HttpUnit for unit tests. However, I would like to use it for performance / load testing. I have written a simple package to create a number of threads, each with their own WebConversation, execute a request and record the time take for the response. I have the following concerns:
- Does httpunit parse the response before the conversation.getResponse( req ) method returns. I get the time before and after this method based on the assumption that this method does not spend time parsing the response.
- Can httpunit get all the images, etc on a page (just like a browser). How can we manage the caching of these images (esp for multiple clients).
- What is the http clients performance like? How does it compare to Jakarta httpclient?
Thanks
Gavin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Currently I use HttpUnit for unit tests. However, I would like to use it for performance / load testing. I have written a simple package to create a number of threads, each with their own WebConversation, execute a request and record the time take for the response. I have the following concerns:
- Does httpunit parse the response before the conversation.getResponse( req ) method returns. I get the time before and after this method based on the assumption that this method does not spend time parsing the response.
- Can httpunit get all the images, etc on a page (just like a browser). How can we manage the caching of these images (esp for multiple clients).
- What is the http clients performance like? How does it compare to Jakarta httpclient?
Thanks
Gavin