[SoapUI] 获取当前时间包括年月日时分秒来作为命名
import java.text.SimpleDateFormat
GregorianCalendar calendar = new GregorianCalendar()
def dateFormat = new SimpleDateFormat("yyyyMMddhhmmss")
def currentTime = dateFormat.format(calendar.getTime()).toString()
context.testCase.getTestStepByName("Properties").setPropertyValue("newGroupName", "AutoSanity_AR_"+currentTime)
浙公网安备 33010602011771号