如何通过程序生成jmeter的测试脚本
请问,如何通过程序来生成jmeter的测试脚本或是jmeter可以执行的测试脚本?能否给个简单的例子? Thanks in advance! 顶一下 回复 2# irabbit谢谢帮顶。我不知都是不能用程序实现还是怎样?网上找了很久都没看到有这方面的介绍。 用Jmeter Proxy, right click WorkBench, and add Non-Test Elements-->HTTP Proxy Sever, at the same, set your IE connection-->Lan setting-->in "Proxy server", select "Use a proxy server....", and address set as: localhost; port: 8080
After the seting, on Jmeter, select target controller, mean you want save the samples to where, then click bottom button start, you can do some on your IE, and you will find it recorded in target controller 回复 4# kathytian001
谢谢! 但我不是要用http proxy来record script,我是想用程序将test plan翻译成jmeter script. badboy 可以用jmeter+java 协议,在eclipse引入jmeter的包,按照它的框架写出你的测试脚本,然后打个jar包放在jmeter下,就可以直接run 了。
页:
[1]