jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <>
Subject Re: Problem with the XPath assertion as data to be asserted conntains html tags
Date Tue, 02 Mar 2010 04:58:01 GMT
if you have saved the data value you expect, then you need a regular
assertion not an XPATH assertion(the value below is not an XPATH).

On a separate note unless the data below is some generated value, your test
is quite likely to break everytime there are minor development changes. Your
test is also too closely tied to the HTML structure of your pages which
isn't a good thing either.


On Mon, Mar 1, 2010 at 8:01 PM, Sagar G <> wrote:

> thnks for reply....actually i am doing back-end testing for a web
> i need  to assert data something looks like this...
> "<p>Two-hour escorted walking tour </p> <p>Trained guide to show you
> stops</p> <p>Audio guide in 10 languages, provided to each participant</p>
> <p>Entrance fees at sites (where foreseen)</p> <P>Children ages six
> under are free</p>"
> i have saved this value in csv file ....and trying to assert..! i am
> getting
> the same data in response but assertion is getting failed..! mean while i
> have checked my assertion is correct..coming to tidy..i enabled
> tolerant XML/HTML option and Quite option..still it is giving problem...
> --
> View this message in context:
> Sent from the JMeter - User mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message