You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This rule is currently not matching ,Is this the right way to specify the path in the case of elements with namespace.
"$.request.Order.FutureOrder.PickupTime.{http://schemas.datacontract.org/2004/07/System}DateTime['#text']"
could not find any examples or documentation. using pact-jvm, pactSpecification specification version: 3.0.0
The text was updated successfully, but these errors were encountered:
yambati-tillster
changed the title
Matchers for xml elements with namespace
How to match xml elements with namespace
Nov 18, 2021
yambati-tillster
changed the title
How to match xml elements with namespace
How to match xml elements with namespace ?
Nov 18, 2021
"matchingRules": { "body": { "$.request.Order.FutureOrder.PickupTime.{http://schemas.datacontract.org/2004/07/System}DateTime['#text']":{ "matchers": [ { "match": "regex", regex": "\\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2]\\d|3[0-1])T(?:[0-1]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+|)(?:Z|(?:\\+|\\-)(?:\\d{2}):?(?:\\d{2}))" } ] } } }
This rule is currently not matching ,Is this the right way to specify the path in the case of elements with namespace.
"$.request.Order.FutureOrder.PickupTime.{http://schemas.datacontract.org/2004/07/System}DateTime['#text']"
could not find any examples or documentation. using pact-jvm, pactSpecification specification version: 3.0.0
The text was updated successfully, but these errors were encountered: