14 years ago
[Res] Dynamic namespace path in XPath Match Configuration
Hello
I am hoping for some help.
When I try to do assert on my test case, I fail. Because the namespace path will vary from each run. Does anyone know how to come around this problem?
The problem is in the XPath Match Configuration and the XPath Expression.
My namespace path:
declare namespace ns1='http://localhost/1379bcd8-c86a-4d35-873f-ababe9a34868';
Suggestions on how to solve this (are they possible?):
declare namespace ns1='http://localhost/*';
or
declare namespace ns1='http://localhost/<variable>';
It is a rest service
I am hoping for some help.
When I try to do assert on my test case, I fail. Because the namespace path will vary from each run. Does anyone know how to come around this problem?
The problem is in the XPath Match Configuration and the XPath Expression.
My namespace path:
declare namespace ns1='http://localhost/1379bcd8-c86a-4d35-873f-ababe9a34868';
Suggestions on how to solve this (are they possible?):
declare namespace ns1='http://localhost/*';
or
declare namespace ns1='http://localhost/<variable>';
It is a rest service