jmeter 数据库
cookie:存在用户本地的一个键值对,存在本地的一个文件里,再次发送请求的时候,就将本地的cookie信息发送给服务器
seesion:存在服务端的一个键值对,
添加j a r包

- 数据库的URL jdbc:mysql://192.168.1.116:3307/bugfree?allowMultiQueries=true
- jdbc driver class. 不同数据库,写的不一样
-
数据库
驱动
数据库url
mysql
com.mysql.jdbc.Driver
jdbc:mysql://host:port/{dbname}?allowMultiQueries=true
oracle
org.postgresql.Driver
jdbc:postgresql:{dbname}
PostgreSQL
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:user/pass@//host:port/service
MSSQL
com.microsoft.sqlserver.jdbc.SQLServerDriver
或者
net.sourceforge.jtds.jdbc.Driver
jdbc:sqlserver://IP:1433;databaseName=DBname
或者
jdbc:jtds:sqlserver://localhost:1433/"+"library"


浙公网安备 33010602011771号