fix(接口测试): 修复并发插件执行报告存储问题
This commit is contained in:
parent
06596d33d2
commit
568bb275e4
|
@ -102,6 +102,9 @@ public class MsResultService {
|
|||
|
||||
public void formatTestResult(TestResult testResult, Map<String, ScenarioResult> scenarios, SampleResult result) {
|
||||
String scenarioName = StringUtils.substringBeforeLast(result.getThreadName(), THREAD_SPLIT);
|
||||
if (StringUtils.equals(scenarioName, "parallel")) {
|
||||
scenarioName = testResult.getTestId();
|
||||
}
|
||||
ScenarioResult scenarioResult;
|
||||
if (!scenarios.containsKey(scenarioName)) {
|
||||
scenarioResult = new ScenarioResult();
|
||||
|
|
Loading…
Reference in New Issue