-
{{ t('report.detail.api.totalTime') }}
-
- {{ getTotalTime.split('-')[0] }}{{ getTotalTime.split('-')[1] || 'ms' }}
+
{{ t('report.detail.api.requestAnalysis') }}
+
+
+
+
+
+
+
+
+
+
{{ t('report.detail.api.totalTime') }}
+
+ {{ getTotalTime.split('-')[0] }}{{ getTotalTime.split('-')[1] || 'ms' }}
+
+
+
{{ t('report.detail.api.totalTime') }}
+
+ {{ getTotalTime.split('-')[0] }}{{ getTotalTime.split('-')[1] || 'ms' }}
+
+
+
+
+
+
+
{{ t('report.detail.api.requestTotalTime') }}
+
+
+
+ {{ detail.requestDuration !== null ? formatDuration(detail.requestDuration).split('-')[0] : '0' }}
+
+
+ {{ detail.requestDuration !== null ? formatDuration(detail.requestDuration).split('-')[1] : 'ms' }}
+
-
-
+
+
+
+
{{ t('report.detail.api.requestTotalTime') }}
+
+ {{
+ detail.requestDuration !== null ? formatDuration(detail.requestDuration).split('-')[0] : '0'
+ }}{{
+ detail.requestDuration !== null ? formatDuration(detail.requestDuration).split('-')[1] : 'ms'
+ }}
+
+
+
+
-
-
-
{{ t('report.detail.api.requestTotalTime') }}
-
+
+
+
+
+
+
+ {{ t('report.detail.api.executionRate') }}
+
-
{{
- detail.requestDuration !== null ? formatDuration(detail.requestDuration).split('-')[0] : '0'
- }}
{{
- detail.requestDuration !== null ? formatDuration(detail.requestDuration).split('-')[1] : 'ms'
- }}
+
+ {{ getExcuteRate() }}
%
+
+ {{ getIndicators(getRequestEacuteCount) }}
+ / {{ getIndicators(getRequestTotalCount) }}
+
+
+
{{ t('report.detail.api.executionRate') }}
+
+
+ {{ getExcuteRate() }} %
+
+
+ {{ getIndicators(getRequestEacuteCount) }}
+ / {{ getIndicators(getRequestTotalCount) }}
+
+
+
+
+
+
+
+
+
+
+ {{ t('report.detail.api.assertPass') }}
-
-
-
{{ t('report.detail.api.requestTotalTime') }}
-
- {{
- detail.requestDuration !== null ? formatDuration(detail.requestDuration).split('-')[0] : '0'
- }}{{
- detail.requestDuration !== null ? formatDuration(detail.requestDuration).split('-')[1] : 'ms'
- }}
-
-
-
-
-
-
-
-
-
-
-
- {{ t('report.detail.api.executionRate') }}
-
-
-
- {{ getExcuteRate() }}
%
-
- {{ getIndicators(getRequestEacuteCount) }}
- / {{ getIndicators(getRequestTotalCount) }}
-
-
-
{{ t('report.detail.api.executionRate') }}
-
-
- {{ getExcuteRate() }} %
-
-
- {{ getIndicators(getRequestEacuteCount) }}
- / {{ getIndicators(getRequestTotalCount) }}
-
-
+
+
+
+
{{ detail.assertionPassRate || '0.00' }}
%
+
+
{{
+ getIndicators(detail.assertionSuccessCount) !== 'Calculating'
+ ? addCommasToNumber(detail.assertionSuccessCount || 0)
+ : getIndicators(detail.assertionSuccessCount)
+ }}
+
/
+
+ {{
+ getIndicators(detail.assertionCount) !== 'Calculating'
+ ? addCommasToNumber(detail.assertionCount)
+ : getIndicators(detail.assertionCount)
+ }}
-
-
-
-
-
-
-
- {{ t('report.detail.api.assertPass') }}
-
-
-
-
-
{{ detail.assertionPassRate || '0.00' }}
%
-
-
{{
- getIndicators(detail.assertionSuccessCount) !== 'Calculating'
- ? addCommasToNumber(detail.assertionSuccessCount || 0)
- : getIndicators(detail.assertionSuccessCount)
- }}
-
/
-
- {{
- getIndicators(detail.assertionCount) !== 'Calculating'
- ? addCommasToNumber(detail.assertionCount)
- : getIndicators(detail.assertionCount)
- }}
-
-
-
-
-
{{ t('report.detail.api.assertPass') }}
-
-
{{ getIndicators(detail.assertionPassRate) }}
- %
-
-
{{
- getIndicators(detail.assertionSuccessCount) !== 'Calculating'
- ? addCommasToNumber(detail.assertionSuccessCount || 0)
- : getIndicators(detail.assertionSuccessCount)
- }}
-
/
- {{
- getIndicators(detail.assertionCount) !== 'Calculating'
- ? addCommasToNumber(detail.assertionCount)
- : getIndicators(detail.assertionCount)
- }}
+
+
{{ t('report.detail.api.assertPass') }}
+
+
{{ getIndicators(detail.assertionPassRate) }}
+ %
+
+ {{
+ getIndicators(detail.assertionSuccessCount) !== 'Calculating'
+ ? addCommasToNumber(detail.assertionSuccessCount || 0)
+ : getIndicators(detail.assertionSuccessCount)
+ }}
+ /
+ {{
+ getIndicators(detail.assertionCount) !== 'Calculating'
+ ? addCommasToNumber(detail.assertionCount)
+ : getIndicators(detail.assertionCount)
+ }}
+
-
-
-
+
+
+
@@ -417,11 +421,12 @@
@apply mb-4 bg-white;
}
.analyze {
- height: 196px;
+ @apply mb-4 bg-white;
+
+ padding: 16px;
border-radius: 4px;
- @apply mb-4 flex justify-between bg-white;
.request-analyze {
- @apply flex h-full flex-1 flex-col p-4;
+ @apply flex h-full flex-1 flex-col;
.chart-legend {
.chart-legend-item {
@apply grid grid-cols-3 gap-2;
@@ -435,28 +440,36 @@
}
}
.time-analyze {
- @apply flex h-full flex-1 flex-col p-4;
+ @apply flex h-full flex-1 flex-col px-4;
.time-card {
@apply flex items-center justify-between;
.time-card-item {
+ @apply flex flex-1 flex-grow items-end;
+
+ padding: 9px 12px;
border-radius: 6px;
background: var(--color-text-n9);
- @apply mt-4 flex flex-1 flex-grow items-center px-4;
.time-card-item-title {
color: var(--color-text-4);
+ line-height: 16px;
}
.count {
- font-size: 18px;
@apply mx-2 font-medium;
+
+ line-height: 22px;
+ font-size: 18px;
}
}
.time-card-item-rote {
+ @apply flex flex-1 flex-grow flex-col;
+
+ padding: 9px 12px;
border-radius: 6px;
background: var(--color-text-n9);
- @apply mt-4 flex flex-1 flex-grow flex-col p-4;
.time-card-item-rote-title {
+ @apply mb-2 flex items-center;
+
color: var(--color-text-4);
- @apply mb-2;
}
.count {
font-size: 18px;
@@ -473,7 +486,9 @@
}
}
.block-title {
- font-size: 14px;
@apply font-medium;
+
+ margin-bottom: 16px;
+ font-size: 14px;
}
diff --git a/frontend/src/views/api-test/report/component/scenarioCom.vue b/frontend/src/views/api-test/report/component/scenarioCom.vue
index bdf022cd6c..5c74b6db9a 100644
--- a/frontend/src/views/api-test/report/component/scenarioCom.vue
+++ b/frontend/src/views/api-test/report/component/scenarioCom.vue
@@ -48,6 +48,7 @@
:active-type="activeTab"
:report-detail="detail || []"
:is-export="props.isExport"
+ class="p-[16px]"
/>
diff --git a/frontend/src/views/api-test/report/component/step/stepTree.vue b/frontend/src/views/api-test/report/component/step/stepTree.vue
index 6f31163a45..f90d0c8131 100644
--- a/frontend/src/views/api-test/report/component/step/stepTree.vue
+++ b/frontend/src/views/api-test/report/component/step/stepTree.vue
@@ -382,7 +382,7 @@
.arco-tree-node-title {
@apply !cursor-pointer bg-white;
- padding: 12px 4px;
+ padding: 8px 4px;
&:hover {
background-color: white !important;
}
diff --git a/frontend/src/views/api-test/report/component/tiledList.vue b/frontend/src/views/api-test/report/component/tiledList.vue
index 42d92347f0..cdea821504 100644
--- a/frontend/src/views/api-test/report/component/tiledList.vue
+++ b/frontend/src/views/api-test/report/component/tiledList.vue
@@ -1,6 +1,6 @@