soapUI: Dynamic timestamp

Add a property, e.g. currentTimestamp, then add the following:

${=new java.text.SimpleDateFormat(“yyyy-MM-dd’T’HH:mm:ss”).format(new Date())}

It will create the date in this format:


Happy SOAP’ing!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.