String.format is relatively slower but usually more than fast enough.
I would use format if that is simpler, unless you can see a performance issue when you profile your application.
Note: The String.format in your example is taking ~24 micro-seconds and won't be fully warmed up yet. I would ignore the first 10K iterations.
IMHO "test " + i
is the simplest in this case.