How to add external jar files to grinder project

谁说胖子不能爱 提交于 2020-01-07 03:12:22

问题


I am new to Grinder load testing framework.

I recorded a grinder script using tcpproxy. And then I made some modifications which includes use of external jar files.

In eclipse using grinder plugin I added a dependency for those jar files.

But how do I setup similar stuff using command line - assuming I dont have eclipse available to me..

Do I have to add anything in grinder.properties ?

Thanks


回答1:


you can add external jar file using properties file. You have to use grinder.jvm.classpath property. When you specify this property, it is added to class path every time grinder agent starts.

grinder.jvm.classpath=/lib/jyson-1.0.1.jar:/home/lib/my-loadtest-0.0.1-SNAPSHOT.jar


来源:https://stackoverflow.com/questions/4455383/how-to-add-external-jar-files-to-grinder-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!