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 "BAZLEY, Sebastian" <Se...@london.sema.slb.com> on 2004/03/16 20:37:40 UTC

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

But one can create (and add to CVS) code that /uses/ JTidy. It's just a bit
more involved, as the developer has to download it to do a build, and the
user has to do so if they want to use the functionality.

The BeanShell sampler is an example of a sampler that is included in the
JMeter code, but the Beanshell jar is not actually distributed with JMeter -
it has to be downloaded separately. JMeter still runs OK without the
beanshell jar, but the sampler will complain if it is used.

And I think there was some early SSL code (iSaSiLk ?) that uses an optional
(paid for?) library.

S.
-----Original Message-----
From: Michael Stover [mailto:mstover1@apache.org]
Sent: 16 March 2004 17:19
To: JMeter Developers List
Subject: 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

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