Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CMS2.0_API_AUTOMATION_TEST
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王超
CMS2.0_API_AUTOMATION_TEST
Commits
e8c83ad7
Commit
e8c83ad7
authored
Mar 25, 2025
by
王超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改变量管理中”通道异常校验“脚本的JSON请求报文
parent
4d6e272c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
7 deletions
+18
-7
workspace.xml
.idea/workspace.xml
+16
-5
check_tunnel.yml
testcase/3_VariableManagement/check_tunnel.yml
+1
-1
creat_tunnel1.yml
testcase/3_VariableManagement/creat_tunnel1.yml
+1
-1
No files found.
.idea/workspace.xml
View file @
e8c83ad7
...
...
@@ -4,9 +4,10 @@
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"5f6c517d-e672-488b-afa7-3ef19e47d096"
name=
"Changes"
comment=
"修改
代码中涉及到硬编码路径位置,根据操作系统类型来进行适配
"
>
<list
default=
"true"
id=
"5f6c517d-e672-488b-afa7-3ef19e47d096"
name=
"Changes"
comment=
"修改
变量管理中”创建通道“脚本的JSON请求报文
"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/testcase/3_VariableManagement/creat_tunnel.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/testcase/3_VariableManagement/creat_tunnel.yml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/testcase/3_VariableManagement/check_tunnel.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/testcase/3_VariableManagement/check_tunnel.yml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/testcase/3_VariableManagement/creat_tunnel1.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/testcase/3_VariableManagement/creat_tunnel1.yml"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -184,7 +185,8 @@
<workItem
from=
"1733360166391"
duration=
"5082000"
/>
<workItem
from=
"1733371192737"
duration=
"684000"
/>
<workItem
from=
"1734596867625"
duration=
"3972000"
/>
<workItem
from=
"1742873733482"
duration=
"2160000"
/>
<workItem
from=
"1742873733482"
duration=
"2418000"
/>
<workItem
from=
"1742882290346"
duration=
"1251000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"更新"
>
<option
name=
"closed"
value=
"true"
/>
...
...
@@ -202,7 +204,15 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1733363130991
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"3"
/>
<task
id=
"LOCAL-00003"
summary=
"修改变量管理中”创建通道“脚本的JSON请求报文"
>
<option
name=
"closed"
value=
"true"
/>
<created>
1742880229899
</created>
<option
name=
"number"
value=
"00003"
/>
<option
name=
"presentableId"
value=
"LOCAL-00003"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1742880229899
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"4"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
@@ -223,7 +233,8 @@
<option
name=
"ADD_EXTERNAL_FILES_SILENTLY"
value=
"true"
/>
<MESSAGE
value=
"更新"
/>
<MESSAGE
value=
"修改代码中涉及到硬编码路径位置,根据操作系统类型来进行适配"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"修改代码中涉及到硬编码路径位置,根据操作系统类型来进行适配"
/>
<MESSAGE
value=
"修改变量管理中”创建通道“脚本的JSON请求报文"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"修改变量管理中”创建通道“脚本的JSON请求报文"
/>
</component>
<component
name=
"com.intellij.coverage.CoverageDataManagerImpl"
>
<SUITE
FILE_PATH=
"coverage/EOS_API_AUTOMATION_TEST$yaml_util.coverage"
NAME=
"yaml_util Coverage Results"
MODIFIED=
"1734597299302"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$/common"
/>
...
...
testcase/3_VariableManagement/check_tunnel.yml
View file @
e8c83ad7
...
...
@@ -6,7 +6,7 @@
url
:
/api/v1/variable/tunnel
method
:
post
json
:
{
"
id"
:
5
,
"
parentId"
:
null
,
"
sort"
:
2
,
"
name"
:
"
$csv{name}"
,
"
description"
:
"
"
,
"
type"
:
1
,
"
typeTag"
:
"
TCP"
,
"
config"
:{
"
suppiler"
:
"
ModBus"
,
"
model"
:
"
Modbus_TCP"
,
"
protocol"
:
"
Modbus_TCP"
,
"
parameters"
:{
"
ServerName"
:
"
$csv{ServerName}"
,
"
DeviceID"
:
"
$csv{DeviceID}"
,
"
Port"
:
"
$csv{Port}"
,
"
HeadAddress"
:
"
1"
,
"
ConnectTimeOut"
:
"
$csv{ConnectTimeOut}"
,
"
ResponseTimeout"
:
"
$csv{ResponseTimeout}"
,
"
Int32ByteOrder"
:
"
2143"
,
"
Int64ByteOrder"
:
"
2143"
,
"
UInt32ByteOrder"
:
"
2143"
,
"
UInt64ByteOrder"
:
"
2143"
,
"
F32ByteOrder"
:
"
3412"
,
"
F64ByteOrder"
:
"
3412"
,
"
StrByteOrder"
:
"
2143"
,
"
EnableIndependentLink"
:
"
禁用"
,
"
EnablePduDiagnosis"
:
"
启用"
,
"
PduLength"
:
"
$csv{PduLength}"
,
"
ChannelStatus"
:
"
启用"
,
"
PacketCommitStatus"
:
"
禁用"
,
"
isStaticSimulation"
:
"
禁用"
}},
"
enable"
:
true
,
"
createTime"
:
"
2024-01-02T17:58:57.3894443+08:00"
,
"
updateTime"
:
"
2024-01-02T17:58:57.3894445+08:00"
}
{
"
parentId"
:
null
,
"
type"
:
1
,
"
name"
:
"
$csv{name}"
,
"
description"
:
"
"
,
"
config"
:{
"
suppiler"
:
"
ModBus"
,
"
model"
:
"
Modbus_TCP"
,
"
protocol"
:
"
Modbus_TCP"
,
"
parameters"
:{
"
ServerName"
:
"
$csv{ServerName}"
,
"
DeviceID"
:
"
$csv{DeviceID}"
,
"
Port"
:
"
$csv{Port}"
,
"
HeadAddress"
:
"
1"
,
"
ConnectTimeOut"
:
"
$csv{ConnectTimeOut}"
,
"
ResponseTimeout"
:
"
$csv{ResponseTimeout}"
,
"
Int32ByteOrder"
:
"
2143"
,
"
UInt32ByteOrder"
:
"
2143"
,
"
Int64ByteOrder"
:
"
2143"
,
"
UInt64ByteOrder"
:
"
2143"
,
"
F32ByteOrder"
:
"
2143"
,
"
F64ByteOrder"
:
"
2143"
,
"
StrByteOrder"
:
"
2143"
,
"
WStrByteOrder"
:
"
21"
,
"
EnableIndependentLink"
:
"
禁用"
,
"
EnablePduDiagnosis"
:
"
启用"
,
"
PduLength"
:
"
$csv{PduLength}"
,
"
PacketCommitStatus"
:
"
禁用"
,
"
isStaticSimulation"
:
"
禁用"
}},
"
copyConfig"
:
null
}
headers
:
X-Project
:
${get_extract_data(x_project)}
validate
:
...
...
testcase/3_VariableManagement/creat_tunnel1.yml
View file @
e8c83ad7
...
...
@@ -4,7 +4,7 @@
url
:
/api/v1/variable/tunnel
method
:
post
json
:
{
"
id"
:
5
,
"
parentId"
:
null
,
"
sort"
:
2
,
"
name"
:
"
设备2"
,
"
description"
:
"
"
,
"
type"
:
1
,
"
typeTag"
:
"
TCP"
,
"
config"
:{
"
suppiler"
:
"
ModBus"
,
"
model"
:
"
Modbus_TCP"
,
"
protocol"
:
"
Modbus_TCP"
,
"
parameters"
:{
"
ServerName"
:
"
127.0.0.1"
,
"
DeviceID"
:
"
1"
,
"
Port"
:
"
502"
,
"
HeadAddress"
:
"
1"
,
"
ConnectTimeOut"
:
"
3"
,
"
ResponseTimeout"
:
"
1000"
,
"
Int32ByteOrder"
:
"
2143"
,
"
Int64ByteOrder"
:
"
2143"
,
"
UInt32ByteOrder"
:
"
2143"
,
"
UInt64ByteOrder"
:
"
2143"
,
"
F32ByteOrder"
:
"
3412"
,
"
F64ByteOrder"
:
"
3412"
,
"
StrByteOrder"
:
"
2143"
,
"
EnableIndependentLink"
:
"
禁用"
,
"
EnablePduDiagnosis"
:
"
启用"
,
"
PduLength"
:
"
220"
,
"
ChannelStatus"
:
"
启用"
,
"
PacketCommitStatus"
:
"
禁用"
,
"
isStaticSimulation"
:
"
禁用"
}},
"
enable"
:
true
,
"
createTime"
:
"
2024-01-02T17:58:57.3894443+08:00"
,
"
updateTime"
:
"
2024-01-02T17:58:57.3894445+08:00"
}
{
"
parentId"
:
null
,
"
type"
:
1
,
"
name"
:
"
设备2"
,
"
description"
:
"
"
,
"
config"
:{
"
suppiler"
:
"
ModBus"
,
"
model"
:
"
Modbus_TCP"
,
"
protocol"
:
"
Modbus_TCP"
,
"
parameters"
:{
"
ServerName"
:
"
127.0.0.1"
,
"
DeviceID"
:
"
1"
,
"
Port"
:
"
502"
,
"
HeadAddress"
:
"
1"
,
"
ConnectTimeOut"
:
"
3"
,
"
ResponseTimeout"
:
"
1000"
,
"
Int32ByteOrder"
:
"
2143"
,
"
UInt32ByteOrder"
:
"
2143"
,
"
Int64ByteOrder"
:
"
2143"
,
"
UInt64ByteOrder"
:
"
2143"
,
"
F32ByteOrder"
:
"
2143"
,
"
F64ByteOrder"
:
"
2143"
,
"
StrByteOrder"
:
"
2143"
,
"
WStrByteOrder"
:
"
21"
,
"
EnableIndependentLink"
:
"
禁用"
,
"
EnablePduDiagnosis"
:
"
启用"
,
"
PduLength"
:
"
220"
,
"
PacketCommitStatus"
:
"
禁用"
,
"
isStaticSimulation"
:
"
禁用"
}},
"
copyConfig"
:
null
}
headers
:
X-Project
:
${get_extract_data(x_project)}
extract
:
...
...
Write
Preview
Markdown
is supported
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