Forum Discussion
stenofski
12 years agoOccasional Contributor
Hey SiKing,
Thank you very much for your explanation, but I guess there is still a misunderstanding? The XPath wit substring and the timestamp are a good solution but unfortunately not suiting to my situation.
The tag/value <KuendigungsDatum> is sometimes there and sometimes not and the timestamp is always in the same format but at the time of compare with different and unknown values and not the current time. So I thought the contain where I check for the tag and the format of the timestamp via regex could be a good choice, isn’t it? For any reason it’s hard to find any documentation about this feature from soapui how to implement regex with the assertion “contains”. Is it possible to achieve this with your or my solution, what do you think?
See you
Sten
Thank you very much for your explanation, but I guess there is still a misunderstanding? The XPath wit substring and the timestamp are a good solution but unfortunately not suiting to my situation.
The tag/value <KuendigungsDatum> is sometimes there and sometimes not and the timestamp is always in the same format but at the time of compare with different and unknown values and not the current time. So I thought the contain where I check for the tag and the format of the timestamp via regex could be a good choice, isn’t it? For any reason it’s hard to find any documentation about this feature from soapui how to implement regex with the assertion “contains”. Is it possible to achieve this with your or my solution, what do you think?
See you
Sten