You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by Michael Stover <ms...@apache.org> on 2004/03/16 18:18:32 UTC

RE: How would I implement a new assertion for JTidy html validati on.

Don't forget that JTidy won't be part of the next release.  You might
want to check out the new HtmlParser that JMeter is using.

-Mike

On Tue, 2004-03-16 at 11:44, BAZLEY, Sebastian wrote:
> For basic validation, you could use the standard Regex assertion, but I
> suspect that would quickly become unwieldy...
> 
> I'd suggest having a look at the XML validator as a starting point.
> Create new copies of the Sampler and its GUI, and change the relevant names.
> You can then just replace the XML validation with that done by JTidy.
> 
> If you don't want to build a full sampler, you could always use a BeanShell
> script to do the validation using JTidy. This could later be converted into
> an independent sampler.
> 
> S.
> -----Original Message-----
> From: Jonathan Easterling [mailto:Jonathan.Easterling@dakotaimaging.com]
> Sent: 16 March 2004 16:31
> To: jmeter-dev@jakarta.apache.org
> Subject: How would I implement a new assertion for JTidy html
> validation.
> 
> 
> Hello,
> 	I am trying to implement a new assertion, or alternatively if there
> is a better solution I would go for that as well. I would like JMeter to
> validate the HTML. I see that Tidy is already being used, think I can use
> that to check the HTML on a page by page basis. 
> The question is how and where do I begin.
> Thanks,
> Jonathan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
> 
> 
> ___________________________________________________________________________
> 
> This e-mail and the documents attached are confidential and intended solely
> for the addressee; it may also be privileged. If you receive this e-mail in
> error, please notify the sender immediately and destroy it. As its integrity
> cannot be secured on the Internet, the Atos Origin group liability cannot be
> triggered for the message content. Although the sender endeavours to maintain
> a computer virus-free network, the sender does not warrant that this
> transmission is virus-free and will not be liable for any damages resulting
> from any virus transmitted. 
> ___________________________________________________________________________
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
-- 
Michael Stover <ms...@apache.org>
Apache Software Foundation


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org