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
4d6e272c
Commit
4d6e272c
authored
Mar 25, 2025
by
王超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改变量管理中”创建通道“脚本的JSON请求报文
parent
77aecc2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
workspace.xml
.idea/workspace.xml
+5
-3
creat_tunnel.yml
testcase/3_VariableManagement/creat_tunnel.yml
+1
-1
No files found.
.idea/workspace.xml
View file @
4d6e272c
...
...
@@ -6,9 +6,7 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"5f6c517d-e672-488b-afa7-3ef19e47d096"
name=
"Changes"
comment=
"修改代码中涉及到硬编码路径位置,根据操作系统类型来进行适配"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/data/VariableManagement/read_string_var.csv"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/data/VariableManagement/read_string_var.csv"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/testcase/1_EngineeringManagement/data_check(data_recovery).yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/testcase/1_EngineeringManagement/data_check(data_recovery).yml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/testcase/1_EngineeringManagement/test_engineering_run.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/testcase/1_EngineeringManagement/test_engineering_run.py"
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"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -25,6 +23,9 @@
<component
name=
"Git.Settings"
>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$"
/>
</component>
<component
name=
"MarkdownSettingsMigration"
>
<option
name=
"stateVersion"
value=
"1"
/>
</component>
<component
name=
"ProjectColorInfo"
>
{
"
associatedIndex
"
: 7
}
</component>
...
...
@@ -183,6 +184,7 @@
<workItem
from=
"1733360166391"
duration=
"5082000"
/>
<workItem
from=
"1733371192737"
duration=
"684000"
/>
<workItem
from=
"1734596867625"
duration=
"3972000"
/>
<workItem
from=
"1742873733482"
duration=
"2160000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"更新"
>
<option
name=
"closed"
value=
"true"
/>
...
...
testcase/3_VariableManagement/creat_tunnel.yml
View file @
4d6e272c
...
...
@@ -4,7 +4,7 @@
url
:
/api/v1/variable/tunnel
method
:
post
json
:
{
"
id"
:
5
,
"
parentId"
:
null
,
"
sort"
:
2
,
"
name"
:
"
设备1"
,
"
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"
:
"
设备1"
,
"
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