I'm going by the recommendations here:
http://jakarta.apache.org/commons/httpclient/3.0/performance.html I'm using the Apache Commons HttpClient to load
test our website, and I don't want the test program to go onto the next HTTP method until it has read all the bytes from the response to each request. Here's my code:
I'm trying to figure out if the following bit fully reads the stream of bytes from the web server, or if you have to start calling read methods to get it to do that:
If the above bit does it, then I guess I don't need the BufferedReader part...I'm going to be running hundreds of thousands of GET and POST methods, so I want to make sure that it really is waiting to read all the bytes each time, but I don't want to go so far as to write out all these bytes to file or anything like that...