package org.dummy.load;

/**
 * Created by baardl on 26.07.15.
 */
public class LoadThread implements Runnable {

    private final int sleepMillis;

    public LoadThread(int sleepMillis) {
        this.sleepMillis = sleepMillis;
    }

    @Override
    public void run() {
        do {
            System.out.println("Hello You at " + System.currentTimeMillis());
            try {
                Thread.sleep(sleepMillis);
            } catch (InterruptedException e) {
                //sleep interupted
            }
        } while (true);
    }
}

@@ -298,71 +298,27 @@
     
-System.out.println(%22Hello You at %22 + System.currentTimeMillis()
+performVisibleLoad(
 );%0A 
@@ -502,11 +502,131 @@
 );%0A    %7D
+%0A%0A    public void performVisibleLoad() %7B%0A        System.out.println(%22Hello You at %22 + System.currentTimeMillis());%0A    %7D
 %0A%7D%0A

Load is picked up by Valuereporter-agent.