Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
MeterSphere
Commits
bb920216
Commit
bb920216
authored
4 years ago
by
fit2-zhao
Committed by
fit2-zhao
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix(接口自动化): 修复循环控制器里-提取参数引用的变量没有更新 #1004716
parent
c05b0d66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/src/main/java/io/metersphere/api/dto/definition/request/extract/MsExtract.java
+1
-0
...rsphere/api/dto/definition/request/extract/MsExtract.java
with
1 addition
and
0 deletions
+1
-0
backend/src/main/java/io/metersphere/api/dto/definition/request/extract/MsExtract.java
+
1
-
0
View file @
bb920216
...
...
@@ -61,6 +61,7 @@ public class MsExtract extends MsTestElement {
shell
.
setName
(
StringUtils
.
isEmpty
(
this
.
getName
())
?
"JSR223PostProcessor"
:
this
.
getName
());
shell
.
setProperty
(
TestElement
.
TEST_CLASS
,
JSR223PostProcessor
.
class
.
getName
());
shell
.
setProperty
(
TestElement
.
GUI_CLASS
,
SaveService
.
aliasToClass
(
"TestBeanGUI"
));
shell
.
setProperty
(
"cacheKey"
,
false
);
shell
.
setProperty
(
"script"
,
"io.metersphere.api.jmeter.JMeterVars.addVars(prev.hashCode(),vars,"
+
"\""
+
extract
.
toString
()
+
"\""
+
");"
);
samplerHashTree
.
add
(
shell
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help