JMETER中获取脚本运行目录

1.BeanShell sampler中使用 在BeanShell sampler输入import org.apache.jmeter.services.FileServer;FileServer.getFileServer().getBaseDir(); 运行时输出当前脚本所在的目录:F:\workspace\udf 2.作为变量使用 在用户自定义变量中定义变量udf_url,值为${__Bea
相关文章
相关标签/搜索