Hi
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.

regards
deepak

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

>
> thnks for reply....actually i am doing back-end testing for a web
> services....here i need  to assert data something looks like this...
>
> "<p>Two-hour escorted walking tour </p> <p>Trained guide to show you the
> 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 and
> 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 ..it is correct..coming to tidy..i enabled
> tolerant XML/HTML option and Quite option..still it is giving problem...
>
>
>
> --
> View this message in context:
> http://old.nabble.com/Problem-with-the-XPath-assertion-as-data-to-be-asserted-conntains-html-tags-tp27741740p27752008.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to