diff --git a/performance-test/backend/src/main/java/io/metersphere/service/MetricQueryService.java b/performance-test/backend/src/main/java/io/metersphere/service/MetricQueryService.java index 315393d0ce..9ec4b0dcb5 100644 --- a/performance-test/backend/src/main/java/io/metersphere/service/MetricQueryService.java +++ b/performance-test/backend/src/main/java/io/metersphere/service/MetricQueryService.java @@ -133,7 +133,7 @@ public class MetricQueryService { LogUtil.error(e.getMessage(), e); LogUtil.error(e); } - values.add((double) ja.get(1)); + values.add(Double.valueOf(ja.get(1).toString())); }); if (CollectionUtils.isNotEmpty(values)) {