I guess I'm the only one with the bias towards better performance at the cost of 
increased maintenance. If everyone prefers to default to JTidy and require users 
download HTMLParser, I have no objections.
 
I just would rather make it easier on the user and not add another jar file for users 
to download. Plus the developers of HTMLParser were kind enough to donate a license to 
us. Overall, my bias is towards keeping the source in CVS or try to move it to 
commons. HTMLParser is capable of parsing XML and other markup languages, so it does 
provide a flexible set of API for developers to extend. 
 
On a unrelated note, I am working on the monitor idea again after several months of 
putting it off. In order to get the monitor to work, I need to use digest 
authentication. My plan is to use commons-HTTPClient, since it supports digest auth. I 
was also planning on doing a simple benchmark comparing the default URLConnection to 
HTTPClient. HTTPClient also supports NTLM, so it could mean an easy way to support 
NTLM in HTTPSampler.
 
If there are no performance degredations using HTTPClient, I will probably suggest we 
convert to HTTPClient. Does anyone have an alergy to that idea? If so, speak up now 
and I'll just keep the results to myself.
 
I went through the bugs last night. I don't know enough of those samplers to be able 
to provide a quick patch. Are there any other bugs we want to address before a release 
candidate?
 
 
peter lin
 


"BAZLEY, Sebastian" <[EMAIL PROTECTED]> wrote:
We could check for the presence of HTMLParser at run-time, and fall back to
JTidy or Regex (or etc.) if not present. 

Some users might not like the fallback behaviour, so if the parser property
were changed to be a list of the acceptable parsers, in order of preference,
we could support as much (or as little) fallback as required.

We should log a warning message if the desired parser is not present (JMeter
already logs an info message when a parser is initialised).

S.


---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online

Reply via email to