jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Koopmans <...@flood.io>
Subject Re: generate unique 12-digit-wide number
Date Fri, 14 Nov 2014 04:06:03 GMT
${__BeanShell(String.format("%03d"\,new Object[]{${__threadNum}}))}


Tim Koopmans
+61 3 9221 6309

[image: Flood IO Pty Ltd] <https://flood.io>

Level 27, 101 Collins Street
Melbourne, Vic 3000



On Fri, Nov 14, 2014 at 2:24 PM, harry_no_spot <13651877684@163.com> wrote:

> a simple practise.
> I think ${__time(HHmmssSSS,)}${__threadNum} works
> but I don't know how to set ${__threadNum} to 3-digit-wide, i.e. 001?
> and what's ur way?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message