fix(接口测试): 修复并发插件执行报告存储问题
This commit is contained in:
parent
0d65bdc8ff
commit
557da492ff
|
@ -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