jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Problem with the XPath assertion as data to be asserted conntains html tags
Date Tue, 02 Mar 2010 05:36:15 GMT
are you getting the <p> as an XML Node/Element or as a literal string (i.e.
xml escaped).
if XML Node/Element then what you have provided is not an XPATH expression
and wont work. If its a literal string then you need to escape it.
In view results tree, response data , in show as text what do you get
<whatever>
<p>blahblah</p>
</whatever>
or
<whatever>
&lt;p&gt;blahblah&lt;/p&gt;
</whatever>


On Mon, Mar 1, 2010 at 9:08 PM, Sagar G <123saga@gmail.com> wrote:

>
> i have one question here..whyit it is not a  XPATH assertion
> --
> View this message in context:
> http://old.nabble.com/Problem-with-the-XPath-assertion-as-data-to-be-asserted-conntains-html-tags-tp27741740p27752232.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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