Perf Testing
Monday, June 10, 2013
BeanShell script for Date Time format yyyyMMdd HH:mm:ss.SSS
Add the below code in User Parameters to generate the date time format like
yyyyMMdd
HH
:
mm
:
ss
.
SSS
Name: DateTime
Variable: $
{
__BeanShell
(
new
java
.
text
.
SimpleDateFormat
(
"yyyyMMdd HH
:
mm
:
ss
.
SSS")
.
format
(
new Date
(
)))}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment