Thanks, after I checked the 'Report errors' and 'Show warnings', the
assertion of 'read' sampler is false, the Assertion failure message is '
//record/@id -> tidy : 4 errors, 9 warnings.

And Sorry, the real response data is like next, I didn't think there is
errors, so I simplified the response data   : 

<records _actions_="true"><read control="{"objs":[],"mode":""}"
totalRecords="2"><record
des="{"shili":[{"enabled":true,"name":"editable"}]}"
id="6"/></read></records>, I 


Then I checked the log, it's : 

jmeter.util.XPathUtil: TidyException: line 1 column 1 - Warning: <records>
attribute "_actions_" has invalid value "true"
line 1 column 1 - Error: <records> is not recognized!
line 1 column 1 - Warning: missing &lt;!DOCTYPE&gt; declaration
line 1 column 1 - Warning: discarding unexpected <records>
line 1 column 27 - Error: <read> is not recognized!
line 1 column 27 - Warning: discarding unexpected <read>
line 1 column 297 - Error: record is not recognized!
line 1 column 297 - Warning: discarding unexpected record
line 1 column 846 - Error: record is not recognized!
line 1 column 846 - Warning: discarding unexpected record
line 1 column 1,453 - Warning: discarding unexpected </read>
line 1 column 1,460 - Warning: discarding unexpected </records>
line 1 column 1,474 - Warning: inserting missing 'title' element
InputStream: Document content looks like HTML 2.0
9 warnings, 4 errors were found!
This document has errors that must be fixed before
using HTML Tidy to generate a tidied up version.

But why it said ' <records> attribute "_actions_" has invalid value "true" '
and ' <records> is not recognized! '.

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/XPath-Extractor-doesn-t-work-if-I-check-Use-Tidy-tp4848485p4851678.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to