From 960641c5775918319ef07580650ff762dd2dee7d Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 31 Jul 2020 09:35:47 +0800 Subject: [PATCH 01/11] =?UTF-8?q?fix:=20=E5=9C=BA=E6=99=AF=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/test/components/ApiScenarioVariables.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/test/components/ApiScenarioVariables.vue b/frontend/src/business/components/api/test/components/ApiScenarioVariables.vue index cd2026b2a6..a6ab532141 100644 --- a/frontend/src/business/components/api/test/components/ApiScenarioVariables.vue +++ b/frontend/src/business/components/api/test/components/ApiScenarioVariables.vue @@ -6,11 +6,11 @@
- - From 1e73ad065a76f729ce26489888ea23238890a485 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 31 Jul 2020 14:25:24 +0800 Subject: [PATCH 02/11] =?UTF-8?q?fix:=20post=20=E8=AF=B7=E6=B1=82URL?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/business/components/api/test/model/ScenarioModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/test/model/ScenarioModel.js b/frontend/src/business/components/api/test/model/ScenarioModel.js index 9aa044757a..ec15ee859e 100644 --- a/frontend/src/business/components/api/test/model/ScenarioModel.js +++ b/frontend/src/business/components/api/test/model/ScenarioModel.js @@ -689,7 +689,7 @@ class JMXHttpRequest { }); for (let i = 0; i < parameters.length; i++) { let parameter = parameters[i]; - path += (encodeURIComponent(parameter.name) + '=' + encodeURIComponent(parameter.value)); + path += (parameter.name + '=' + parameter.value); if (i != parameters.length -1) { path += '&'; } From bcdbabc54a617b2c183ca1d1e580ca30ad298b9d Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Fri, 31 Jul 2020 14:26:54 +0800 Subject: [PATCH 03/11] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E6=80=A7?= =?UTF-8?q?=E8=83=BD=E6=B5=8B=E8=AF=95=E7=BB=93=E6=9E=9C=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=9A=84=E9=95=BF=E5=BA=A6=E4=B8=BALONGTEXT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/db/migration/V9__modify_report_result.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 backend/src/main/resources/db/migration/V9__modify_report_result.sql diff --git a/backend/src/main/resources/db/migration/V9__modify_report_result.sql b/backend/src/main/resources/db/migration/V9__modify_report_result.sql new file mode 100644 index 0000000000..373576d2ed --- /dev/null +++ b/backend/src/main/resources/db/migration/V9__modify_report_result.sql @@ -0,0 +1,2 @@ +ALTER TABLE load_test_report_result + MODIFY report_value LONGTEXT NULL; From c0861c56a38b67249a501377da9b1fe3977bdc38 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 31 Jul 2020 15:27:25 +0800 Subject: [PATCH 04/11] =?UTF-8?q?fix:=20=E9=A1=B9=E7=9B=AE=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E6=98=BE=E7=A4=BA=E5=9B=9E=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/business/components/project/MsProject.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/project/MsProject.vue b/frontend/src/business/components/project/MsProject.vue index 7d913400d0..61f6c991bf 100644 --- a/frontend/src/business/components/project/MsProject.vue +++ b/frontend/src/business/components/project/MsProject.vue @@ -8,7 +8,11 @@ - + + + Date: Fri, 31 Jul 2020 15:45:01 +0800 Subject: [PATCH 05/11] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AE=BF?= =?UTF-8?q?=E9=97=AE=E6=9C=80=E8=BF=91=E6=8A=A5=E5=91=8A=E4=B8=AD=E5=B7=B2?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=9A=84=E6=8A=A5=E5=91=8A=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/report/ApiReportView.vue | 23 +++++++----- .../report/PerformanceReportView.vue | 37 +++++++++++-------- frontend/src/i18n/en-US.js | 2 + frontend/src/i18n/zh-CN.js | 2 + frontend/src/i18n/zh-TW.js | 2 + 5 files changed, 42 insertions(+), 24 deletions(-) diff --git a/frontend/src/business/components/api/report/ApiReportView.vue b/frontend/src/business/components/api/report/ApiReportView.vue index d1f4323b5e..5b471a53e5 100644 --- a/frontend/src/business/components/api/report/ApiReportView.vue +++ b/frontend/src/business/components/api/report/ApiReportView.vue @@ -62,17 +62,22 @@ export default { let url = "/api/report/get/" + this.reportId; this.$get(url, response => { this.report = response.data || {}; - if (this.isNotRunning) { - try { - this.content = JSON.parse(this.report.content); - } catch (e) { - console.log(this.report.content) - throw e; + if (response.data) { + if (this.isNotRunning) { + try { + this.content = JSON.parse(this.report.content); + } catch (e) { + console.log(this.report.content) + throw e; + } + this.getFails(); + this.loading = false; + } else { + setTimeout(this.getReport, 2000) } - this.getFails(); - this.loading = false; } else { - setTimeout(this.getReport, 2000) + this.loading = false; + this.$error(this.$t('api_report.not_exist')); } }); } diff --git a/frontend/src/business/components/performance/report/PerformanceReportView.vue b/frontend/src/business/components/performance/report/PerformanceReportView.vue index e2cab7ec1e..d9c40394f9 100644 --- a/frontend/src/business/components/performance/report/PerformanceReportView.vue +++ b/frontend/src/business/components/performance/report/PerformanceReportView.vue @@ -43,12 +43,12 @@ - + - + @@ -63,8 +63,8 @@ -

-

+

+

@@ -44,6 +44,10 @@ type: Function, default: defaultCustomValidate }, + isReadOnly: { + type: Boolean, + default: false + } }, methods: { scheduleEdit() { diff --git a/frontend/src/business/components/common/components/MsScheduleEdit.vue b/frontend/src/business/components/common/components/MsScheduleEdit.vue index e4df37739c..530428507b 100644 --- a/frontend/src/business/components/common/components/MsScheduleEdit.vue +++ b/frontend/src/business/components/common/components/MsScheduleEdit.vue @@ -4,12 +4,12 @@ - + - {{$t('commons.save')}} + {{$t('commons.save')}} - {{$t('schedule.generate_expression')}} + {{$t('schedule.generate_expression')}} @@ -38,6 +38,10 @@ type: Function, default: defaultCustomValidate }, + isReadOnly: { + type: Boolean, + default: false + } }, watch: { 'schedule.value'() { From cb58177c62665a402d38feeef09a891cb8358b9b Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Mon, 3 Aug 2020 14:52:03 +0800 Subject: [PATCH 08/11] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA)?= =?UTF-8?q?:=20=E4=BF=AE=E5=A4=8Dcase=E5=AF=BC=E5=87=BA=E5=90=8E=EF=BC=8Cx?= =?UTF-8?q?ls=E6=89=93=E5=BC=80=E9=A1=BA=E5=BA=8F=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml | 7 ++++++- .../track/request/testcase/TestCaseBatchRequest.java | 2 ++ .../java/io/metersphere/track/service/TestCaseService.java | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 5e91d2dd43..af48a713cb 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -235,7 +235,12 @@ - order by update_time desc + + order by + + ${order.name} ${order.type} + +