Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

when run Java Vuser scripts in LR meet error 'Cannot Reply due to compilation errors '

$
0
0




/* * LoadRunner Java script. (Build: _build_number_) * * Script Description: * */ import com.lr.test.*; import lrapi.lr; import com.hp.ecc.poc.connection.DataSource public class Actions extends DataSource { public int init() throws Throwable { return 0; }//end of init public int action() throws Throwable { //HelloWorld.main((String[])null); //return 0; }//end of action public int end() throws Throwable { return 0; }//end of end }

 

 

Above is the Actions Code. And the classpath in RunTime Setting was assgined to src path of source code of applications.

 

Cause I am a newbie ,so could anybody give me a suggesstion?


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>