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
ming zheng
Metersphere
Commits
6ac3675a
Commit
6ac3675a
authored
3 years ago
by
fit2-zhao
Committed by
fit2-zhao
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix (接口定义): 修复用例模块匹配错误问题
parent
84c47d26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/src/main/java/io/metersphere/api/dto/definition/request/sampler/MsHTTPSamplerProxy.java
+3
-0
...pi/dto/definition/request/sampler/MsHTTPSamplerProxy.java
with
3 additions
and
0 deletions
+3
-0
backend/src/main/java/io/metersphere/api/dto/definition/request/sampler/MsHTTPSamplerProxy.java
+
3
-
0
View file @
6ac3675a
...
@@ -757,6 +757,9 @@ public class MsHTTPSamplerProxy extends MsTestElement {
...
@@ -757,6 +757,9 @@ public class MsHTTPSamplerProxy extends MsTestElement {
apiDefinition
=
apiDefinitionService
.
get
(
this
.
getId
());
apiDefinition
=
apiDefinitionService
.
get
(
this
.
getId
());
if
(
apiDefinition
==
null
)
{
if
(
apiDefinition
==
null
)
{
ApiTestCaseWithBLOBs
apiTestCaseWithBLOBs
=
apiTestCaseService
.
get
(
this
.
getId
());
ApiTestCaseWithBLOBs
apiTestCaseWithBLOBs
=
apiTestCaseService
.
get
(
this
.
getId
());
if
(
apiTestCaseWithBLOBs
==
null
)
{
apiTestCaseWithBLOBs
=
apiTestCaseService
.
get
(
this
.
getName
());
}
if
(
apiTestCaseWithBLOBs
!=
null
)
{
if
(
apiTestCaseWithBLOBs
!=
null
)
{
apiDefinition
=
apiDefinitionService
.
get
(
apiTestCaseWithBLOBs
.
getApiDefinitionId
());
apiDefinition
=
apiDefinitionService
.
get
(
apiTestCaseWithBLOBs
.
getApiDefinitionId
());
}
else
{
}
else
{
...
...
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