????1.??????????????HelloWorld.java??????????:
????1 package com.liuke;
????2
????3 
????4
????5 public class HelloWorld {
????6
????7    public String getHello(){
????8
????9       return "?????????????getHello()";
????10
????11    }
????12
????13    public static void main(String[] args) {
????14
????15       System. out .println("???????t??main???????");
????16
????17    }
????18
????19 }
????2??????jar?????????HelloWorld.jar
????3???????????jar??HelloWorld.jar??????????????£???D:LoadRunnerjar??
????4?????Virtual User???Java Vuser


????5??????jar?????HelloWorld.jar??Run-time Settings--classpath????HelloWorld.jar??
????6??д????????????£?
????1 import lrapi.lr;
????2
????3 import com.lkf.HelloWorld;
????4
????5 
????6
????7 public class Actions
????8
????9 {
????10
????11 
????12
????13              public int init() throws Throwable {
????14
????15                 return 0;
????16
????17              }//end of init
????18
????19              public int action() throws Throwable {
????20
????21                  //????????庯??getHello()
????22
????23                 HelloWorld h = new HelloWorld();
????24
????25                 System.out.println(h.getHello());
????26
????27                 //???t????main????
????28
????29                 HelloWorld.main(null);
????30
????31                 return 0;
????32
????33              }//end of action
????34
????35              public int end() throws Throwable {
????36
????37                 return 0;
????38
????39              }//end of end
????40
????41 }
????7?????н????????????????????????????????г????
????System. out??????????庯??getHello()
????System. out?????????t??main???????