
您可能使用JDBC Configuration元素:
http://jmeter.apache.org/usermanual/component_reference.html#JDBC_Connection_Configuration
以便在采样之前建立连接。
然后通过查看jdbc请求如何工作来访问数据库连接来修改代码:
conn = DataSourceElement.getConnection("Variable Name used in JDBC_Connection_Configuration");欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)