SoupUI - Jenkins run has error: Invalid format for date field

In soapui, we use date in the below format:

we can run correctly when we run this with SoupUI tool directly, but when we run with jenkinins + Maven, have invalid format error:

1
2
3
4
{
"status": 400,
"message": "Invalid format for from or to date field."
}

Seems the date doesn’t encoding when we run script with Jenkins, so we need to this manually when design script with SoapUI:

唐胡璐 wechat
欢迎您扫一扫上面的微信公众号,订阅我的博客!
分享创造价值,您的支持将鼓励我继续前行!