Just add `,nowait' to the -agentpath command, then you skip that message. This is not "offline profiling", you can just connect with the JProfiler at a later time.
For offline profiling, you add the ,offline
parameter and reference a special config that contains triggers and action so you do not have to connect with the JProfiler GUI.
The profiling API (used in TestProfiler) is not relevant in this respect.