【发布时间】:2013-09-30 21:10:17
【问题描述】:
我正在尝试使用 jmeter 在 Spring 应用程序上运行一些性能测试用例。 我知道在 jmeter 中,spring 注释不起作用,例如
@ContextConfiguration and @Autowired
我是通过获取 ApplicationContext 然后获取 Bean 来完成的。
但是,还有其他解决方法吗,因为我有一个非常大的 Base 类,其中包含很多
@Autowired instance variables and lot of dependencies.
提前致谢。
【问题讨论】:
标签: java spring jmeter junit4 performance-testing