Forum Discussion
pedro_carneiro
15 years agoOccasional Contributor
i am having the same issue.
my scenario is: <date name="original_date">2011-03-29T13:50:00Z</date>
${#TestCase#dateHourUTC} = 2011-03-28T13
my xquery is the following:
starts-with(//date[@name="original_date"]/text() , ${#TestCase#dateHourUTC} )
the error i am getting is the following:
XQuery Match Assertion failed for path [starts-with(//date[@name="original_date"]/text() , ${#TestCase#dateHourUTC} )] : RuntimeException:java.lang.reflect.InvocationTargetException
i also noticed that if i use single or double quotes with the property soapui ALWAYS says that the assertion pass (success) although the expected result points to a failure.
can you point it out what we are doing wrong?
my scenario is: <date name="original_date">2011-03-29T13:50:00Z</date>
${#TestCase#dateHourUTC} = 2011-03-28T13
my xquery is the following:
starts-with(//date[@name="original_date"]/text() , ${#TestCase#dateHourUTC} )
the error i am getting is the following:
XQuery Match Assertion failed for path [starts-with(//date[@name="original_date"]/text() , ${#TestCase#dateHourUTC} )] : RuntimeException:java.lang.reflect.InvocationTargetException
i also noticed that if i use single or double quotes with the property soapui ALWAYS says that the assertion pass (success) although the expected result points to a failure.
can you point it out what we are doing wrong?