jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61260] New: __XPath function returns null despite xpath checker founds matches
Date Fri, 07 Jul 2017 07:07:39 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61260

            Bug ID: 61260
           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: issues@jmeter.apache.org
          Reporter: efolder@ukr.net
  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.
Mime
View raw message