parent
3ae63da01a
commit
186fa10ef2
|
@ -214,6 +214,9 @@ public class PerformanceReportService {
|
||||||
String reportValue = getContent(id, ReportKeys.RequestStatistics);
|
String reportValue = getContent(id, ReportKeys.RequestStatistics);
|
||||||
// 确定顺序
|
// 确定顺序
|
||||||
List<Statistics> statistics = JSON.parseArray(reportValue, Statistics.class);
|
List<Statistics> statistics = JSON.parseArray(reportValue, Statistics.class);
|
||||||
|
if (CollectionUtils.isEmpty(statistics)) {
|
||||||
|
return Collections.emptyList();
|
||||||
|
}
|
||||||
List<LoadTestExportJmx> jmxContent = getJmxContent(id);
|
List<LoadTestExportJmx> jmxContent = getJmxContent(id);
|
||||||
String jmx = jmxContent.get(0).getJmx();
|
String jmx = jmxContent.get(0).getJmx();
|
||||||
// 按照JMX顺序重新排序
|
// 按照JMX顺序重新排序
|
||||||
|
|
Loading…
Reference in New Issue