On 7/27/05, Michael Stover <[EMAIL PROTECTED]> wrote: > It's been around for a while - I would say it's probably time to start > using the HttpSampler2 in production settings. But is it stable? What does it lack to stop being alpha version? > If you don't use a listener that stores the response, the response will > be discarded pretty quick. I've looked quickly into the code and it seems that HttpSampleResult or some similar class (I don't remember the name right now) object which is saved in JMeterThread is then given as a parameter to notifyListeners() and some other methods. I also found out that there is always a previous HttpSampleResult saved in threadContext - why?
All the responseBody is taken by httpMethod.getResponseBody() and then given as a parameter to HttpSampleResult.setResponseData() as an array of bytes. In SizeAssertion the size of the data is checked as this array length. And it appears that this bunch of data in HttpSampleResult (this array of bytes with response) may be providing to memory usage when there are about 1000 thread downloading a page of 50 Kb simultaniously for example. Do you think that changing it a little may improve memory usage? Maybe it would make sense to remove all the links to this data as soon as possible if there's no need in regular expressions checking and listeners like that? > JMeter does not do IP spoofing. Thanx for the answer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
