On 23/02/06, Eric Jain <[EMAIL PROTECTED]> wrote: > In order to verify that a page is served correctly under high load, I'd > like to add an MD5Hex assertion. > > Two issues: > > 1. The MD5 seems to include the content of the header. This is a problem, > because even though the pages are stateless, the headers contain a "date" > field that changes about once every second.
AFAICS, the MD5 calculated on the response data only, which does not include the HTTP headers. Or perhaps you are referring to headers in the HTML? > 2. I need to set the MD5 for each page. Would be nice if this was set > automatically with the MD5 of the first page, if nothing else is specified. > But perhaps there is a better way to accomplish what I am trying to do? What about using the SIze assertion? This is not fool-proof, but is a good start, and much cheaper than using MD5. If you suspect that there are certain areas of the page that might degrade, you could use the Response Assertion as well. If you have Java coding expertise, you could use the BeanShell Assertion to do whatever you like. S. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

