diff --git a/backend/pom.xml b/backend/pom.xml index 28caf81dc7..8fb1f34a93 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -171,6 +171,13 @@ ${jmeter.version} + + com.microsoft.sqlserver + mssql-jdbc + 7.4.1.jre8 + + + org.apache.dubbo diff --git a/frontend/src/business/components/api/test/model/ScenarioModel.js b/frontend/src/business/components/api/test/model/ScenarioModel.js index 04c6a256b2..69806ea57b 100644 --- a/frontend/src/business/components/api/test/model/ScenarioModel.js +++ b/frontend/src/business/components/api/test/model/ScenarioModel.js @@ -541,7 +541,7 @@ export class ConfigCenter extends BaseConfig { } export class DatabaseConfig extends BaseConfig { - static DRIVER_CLASS = ["com.mysql.jdbc.Driver"]; + static DRIVER_CLASS = ["com.mysql.jdbc.Driver","com.microsoft.sqlserver.jdbc.SQLServerDriver"]; constructor(options) { super(); diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index dc7bd4a639..838c75b9f7 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -536,7 +536,7 @@ export default { form_description: "如果当前配置项无值,则取场景配置项的值", }, sql: { - dataSource: "数据源", + dataSource: "数据源名称", sql_script: "SQL脚本", timeout: "超时时间(ms)", database_driver: "数据库驱动", diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index 8c64290b2c..ea541f7173 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -536,7 +536,7 @@ export default { form_description: "如果當前配置項無值,則取場景配置項的值", }, sql: { - dataSource: "數據源", + dataSource: "數據源名稱", sql_script: "SQL腳本", timeout: "超時時間(ms)", database_driver: "數據庫驅動",