修复场景名称被改变的bug
This commit is contained in:
parent
aad9d64a7a
commit
2a5c5815e2
|
@ -394,7 +394,9 @@ class JMXGenerator {
|
|||
}
|
||||
|
||||
addScenarios(testPlan, scenarios) {
|
||||
scenarios.forEach(scenario => {
|
||||
scenarios.forEach(options => {
|
||||
// clone
|
||||
let scenario = new Scenario(options);
|
||||
scenario.name = this.replace(scenario.name);
|
||||
|
||||
let threadGroup = new ThreadGroup(scenario.name || "");
|
||||
|
|
Loading…
Reference in New Issue