soapui assertion for timestamp format
Hello,
I am new to this forum and also to soapui tool.
I am trying to write assertions in soapui to validate some elements. I would like to write an assertion to validate that the timestamp returned in response has always the format as example below:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<InterConnectResponse xmlns="http://xml.equifax.com/XMLSchema/InterConnect">
<SchemaVersion>2.0</SchemaVersion>
<InteractionControl>
<MessageId>9000</MessageId>
<Timestamp>2021-10-04T14:38:03.475Z</Timestamp>
<InterConnectInteractionId>0010210024935197</InterConnectInteractionId>
</InteractionControl>
<Errors>
<Error>
<Code>10001</Code>
<Message>Authorization failed</Message>
</Error>
</Errors>
</InterConnectResponse>
</soapenv:Body>
</soapenv:Envelope>
can you please help me in writing this assertion from scratch?
Thanks a lot!