https://bz.apache.org/bugzilla/show_bug.cgi?id=61261
Bug ID: 61261
Summary: __XPath function returns null despite xpath checker
founds matches
Product: JMeter
Version: 3.2
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Step to reproduce:
1)note.xml content:
<?xml version="1.0" encoding="UTF-8"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
2)XPath function expression:
${__XPath(d:\\test\\note.xml,note/body)}
${__XPath(d:\test\note.xml,note/body)}
${__XPath(d:/test/note.xml,note/body)}
All of the variants don't work
Actual result:
Function returns: null
Expected result:
Function returns: Don't forget me this weekend!
--
You are receiving this mail because:
You are the assignee for the bug.