Created
November 12, 2015 10:53
-
-
Save abelsromero/b5abafbedae1136a6f97 to your computer and use it in GitHub Desktop.
Dynamic timestamp for CMIS in SoapUI: sets the timezone to ensure no problem occurs if the server is in another timezone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<wsu:Timestamp wsu:Id="TS-AD11234F3B4CF74705144725809787932"> | |
<wsu:Created>${=TimeZone.setDefault(TimeZone.getTimeZone("UTC")); (new Date()).format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")}</wsu:Created> | |
<wsu:Expires>${=(new Date()).format("yyyy-MM-dd'T23:59:59.999Z'")}</wsu:Expires> | |
</wsu:Timestamp> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment