category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - P SSC1 RE CONNECT:\d+,OK
- P SOC1 C +ACCEPT
- - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
- - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port2>
- - P SSC1 RE CONNECT:\d+,ERROR
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port
4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
+ 5.target1上使用步骤4创建的socket,去连接不存在的ip,random_port
6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。
sub module: TCP
summary: STA mode, connect test. use different ip, port
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
level: Integration
module: TCPIP
steps: |
- 1. PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 test_tcp_port1
2.target1上创建TCP socket
3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
4.PC与target1 创建好TCP 连接,有ACCEPT
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock1> -h B
- - R SSC1 RE SHUTDOWN:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock2> -h W
- - R SSC1 RE SHUTDOWN:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock3>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock3> -h R
- - R SSC1 RE SHUTDOWN:\d+,OK
level: Integration
module: TCPIP
steps: |-
- 1. PC上建立TCP 监听 test_tcp_port1
+ 1. PC上建立TCP 监听 random_port
2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port,PC有ACCEPT
4.target1 shutdown socket1 B
5.target1上创建TCP socket
- 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 6.target1上使用步骤5创建的socket,去连接 PC的ip,random_port,PC有ACCEPT
7.target1 shutdown socket2 W
8.target1上创建TCP socket
- 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 9.target1上使用步骤8创建的socket,去连接 PC的ip,random_port,PC有ACCEPT
10.target1 shutdown socket3 R
sub module: TCP
summary: STA mode, shutdown basic test
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - R SSC1 RE CLOSE:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -T -s <sock1>
- - R SSC1 RE CLOSE:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock1>
- - R SSC1 RE SHUTDOWN:\d+,OK
initial condition: STAM2
level: Integration
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n4.target1上创建TCP
+ steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1关闭socket1\n4.target1上创建TCP
socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>
,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n9.target1上创建TCP
- socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n11.target1关闭socket1\n12.target1上创建TCP
- socket1\n13.target1上使用步骤13创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown
+ socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT\n11.target1关闭socket1\n12.target1上创建TCP
+ socket1\n13.target1上使用步骤13创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT\n14.target1shutdown
socket1\n15.target1关闭socket1"
sub module: TCP
summary: STA mode, close for different types of TCP sockets test
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock3>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock4>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock4> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock4> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock5>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock5> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock5> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
execution time: 0.0
expected result: |-
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT
4.target1上创建TCP socket2
- 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 5.target1上使用步骤4创建的socket2,去连接 PC的ip,random_port,PC有ACCEPT
6.target1上创建TCP socket3
- 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 7.target1上使用步骤6创建的socket3,去连接 PC的ip,random_port,PC有ACCEPT
8.target1上创建TCP socket4
- 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 9.target1上使用步骤8创建的socket4,去连接 PC的ip,random_port,PC有ACCEPT
10.target1上创建TCP socket5
- 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 11.target1上使用步骤10创建的socket5,去连接 PC的ip,random_port,PC有ACCEPT
sub module: TCP
summary: STA mode, create max TCP sockets test
test environment: SSC_T1_6
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <random_port> <pc_ip_wifi>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - P SSC1 RE CONNECT:\d+,OK
- P SOC1 C +ACCEPT
- - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
- - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port2>
- - P SSC1 RE CONNECT:\d+,ERROR
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port
4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
+ 5.target1上使用步骤4创建的socket,去连接不存在的ip,random_port
6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。
sub module: TCP
summary: AP mode, connect test. use different ip, port
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <random_port> <pc_ip_wifi>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <random_port> <pc_ip_wifi>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock1> -h B
- - R SSC1 RE SHUTDOWN:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock2> -h W
- - R SSC1 RE SHUTDOWN:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock3>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock3> -h R
- - R SSC1 RE SHUTDOWN:\d+,OK
level: Integration
module: TCPIP
steps: |-
- 1. PC上建立TCP 监听 test_tcp_port1
+ 1. PC上建立TCP 监听 random_port
2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port,PC有ACCEPT
4.target1 shutdown socket1 B
5.target1上创建TCP socket
- 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 6.target1上使用步骤5创建的socket,去连接 PC的ip,random_port,PC有ACCEPT
7.target1 shutdown socket2 W
8.target1上创建TCP socket
- 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 9.target1上使用步骤8创建的socket,去连接 PC的ip,random_port,PC有ACCEPT
10.target1 shutdown socket3 R
sub module: TCP
summary: AP mode, shutdown basic test
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <random_port> <pc_ip_wifi>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - R SSC1 RE CLOSE:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -T -s <sock1>
- - R SSC1 RE CLOSE:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock1>
- - R SSC1 RE SHUTDOWN:\d+,OK
initial condition: APM2
level: Integration
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n4.target1上创建TCP
+ steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1关闭socket1\n4.target1上创建TCP
socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>
,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n9.target1上创建TCP
- socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n11.target1关闭socket1\n12.target1上创建TCP
- socket1\n13.target1上使用步骤13创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown
+ socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT\n11.target1关闭socket1\n12.target1上创建TCP
+ socket1\n13.target1上使用步骤13创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT\n14.target1shutdown
socket1\n15.target1关闭socket1"
sub module: TCP
summary: AP mode, close for different types of TCP sockets test
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <random_port> <pc_ip_wifi>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock3>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock4>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock4> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock4> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock5>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock5> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock5> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
execution time: 0.0
expected result: |-
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT
4.target1上创建TCP socket2
- 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 5.target1上使用步骤4创建的socket2,去连接 PC的ip,random_port,PC有ACCEPT
6.target1上创建TCP socket3
- 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 7.target1上使用步骤6创建的socket3,去连接 PC的ip,random_port,PC有ACCEPT
8.target1上创建TCP socket4
- 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 9.target1上使用步骤8创建的socket4,去连接 PC的ip,random_port,PC有ACCEPT
10.target1上创建TCP socket5
- 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 11.target1上使用步骤10创建的socket5,去连接 PC的ip,random_port,PC有ACCEPT
sub module: TCP
summary: AP mode, create max TCP sockets test
test environment: SSC_T1_7
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - SSC SSC1 soc -L -s <sock2>
- - R SSC1 RE LISTEN:\d+,OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock3>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <random_port>
- - P SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock3> -h B
- - P SSC1 RE SHUTDOWN:\d+,OK
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
- - SSC SSC1 soc -T
- - R SSC1 C +CLOSEALL
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
execution time: 0.0
expected result: |-
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,<random_port>
4.target1上创建TCP socket
5.target1上使用步骤4创建的socket,创建TCP 监听
- 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 6.target1上使用步骤4创建的socket,去连接 PC的ip,<random_port>
7.target1上创建TCP socket
- 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 8.target1上使用步骤7创建的socket,去连接 PC的ip,<random_port>
9.target1上关闭步骤7创建的socket
- 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 10.target1上使用步骤7创建的socket,去连接 PC的ip,<random_port>
11.target1上关闭所有创建的socket
- 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 12.target1上使用步骤2创建的socket,去连接 PC的ip,<random_port>
sub module: TCP
summary: STA mode, connect test. use socket in state that can't connect
test environment: SSC_T1_6
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - R SSC1 RE LISTEN:\d+,ERROR
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -L -s <sock2>
- - R SSC1 RE LISTEN:\d+,ERROR
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
3.target1上使用步骤2创建的socket,去建立TCP 监听
4.target1上创建TCP socket
- 5.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 5.target1上使用步骤4创建的socket,去连接 PC的ip,<random_port>
6.target1上使用步骤4创建的socket,创建TCP 监听
7.target1上shutdown 步骤4的socket
8.target1上使用步骤4创建的socket,创建TCP 监听
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - SSC SSC1 soc -S -s <sock2>
- - R SSC1 RE SEND:\d+,ERROR
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock2>
- - R SSC1 RE SHUTDOWN:\d+,OK
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建UDP传输socket1,<test_udp_port1>
3.target1上使用步骤2创建的socket1,去发送数据
4.target1上创建TCP socket2
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP -w 0
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
level: Integration
module: TCPIP
steps: |-
- 1. PC上建立TCP 监听 test_tcp_port1
+ 1. PC上建立TCP 监听 random_port
2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port
4.PC与target1 创建好TCP 连接,有ACCEPT
5.target上不进行recv
6.PC send 100 * 1460 data to target,
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP -i <target_ip>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP -i <target_ip>
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock2>
- - R SSC1 RE SHUTDOWN:\d+,OK
- - SOC SOC2 CONNECT <random_port> <target_ip>
- - R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+
- - SSC SSC1 soc -I
- - - P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>)
+ - - P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ip>,<pc_ip>,<random_port>)
- P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(<sock3>,<random_port>)
- P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ip>,<random_port>,<pc_ip>)
execution time: 0.0
7.OK
8.OK
9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
- 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
- +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
+ 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<random_port>
+ +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<random_port>
+SOCINFO:<sock3>,<random_port>
+SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
+SOCINF0ALL
initial condition: STAM2
level: Integration
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接
- PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接
- PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC
+ steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接
+ PC的ip,random_port,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接
+ PC的ip,random_port,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC
CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket
information"
sub module: TCP
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <random_port> <pc_ip_wifi>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - SSC SSC1 soc -L -s <sock2>
- - R SSC1 RE LISTEN:\d+,OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock3>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <random_port>
- - P SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock3> -h B
- - P SSC1 RE SHUTDOWN:\d+,OK
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
- - SSC SSC1 soc -T
- - R SSC1 C +CLOSEALL
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - P SSC1 RE CONNECT:\d+,ERROR
execution time: 0.0
expected result: |-
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,<random_port>
4.target1上创建TCP socket
5.target1上使用步骤4创建的socket,创建TCP 监听
- 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 6.target1上使用步骤4创建的socket,去连接 PC的ip,<random_port>
7.target1上创建TCP socket
- 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 8.target1上使用步骤7创建的socket,去连接 PC的ip,<random_port>
9.target1上关闭步骤7创建的socket
- 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 10.target1上使用步骤7创建的socket,去连接 PC的ip,<random_port>
11.target1上关闭所有创建的socket
- 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 12.target1上使用步骤2创建的socket,去连接 PC的ip,<random_port>
sub module: TCP
summary: AP mode, connect test. use socket in state that can't connect
test environment: SSC_T1_7
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <random_port> <pc_ip_wifi>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - R SSC1 RE LISTEN:\d+,ERROR
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -L -s <sock2>
- - R SSC1 RE LISTEN:\d+,ERROR
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
3.target1上使用步骤2创建的socket,去建立TCP 监听
4.target1上创建TCP socket
- 5.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 5.target1上使用步骤4创建的socket,去连接 PC的ip,<random_port>
6.target1上使用步骤4创建的socket,创建TCP 监听
7.target1上shutdown 步骤4的socket
8.target1上使用步骤4创建的socket,创建TCP 监听
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <random_port> <pc_ip_wifi>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP -w 0
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
level: Integration
module: TCPIP
steps: |-
- 1. PC上建立TCP 监听 test_tcp_port1
+ 1. PC上建立TCP 监听 random_port
2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port
4.PC与target1 创建好TCP 连接,有ACCEPT
5.target停止调用recv
6.PC send 100 * 1460 data to 8266,
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <random_port> <pc_ip_wifi>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -D -s <sock2>
- - R SSC1 RE SHUTDOWN:\d+,OK
- - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+
- - SSC SSC1 soc -I
- - - P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ap_ip>,<pc_ip_wifi>,<test_tcp_port1>)
+ - - P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ap_ip>,<pc_ip_wifi>,<random_port>)
- P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(<sock3>,<random_port>)
- P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ap_ip>,<random_port>,<pc_ip_wifi>)
execution time: 0.0
7.OK
8.OK
9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
- 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
- +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
+ 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<random_port>
+ +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<random_port>
+SOCINFO:<sock3>,<random_port>
+SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
+SOCINF0ALL
initial condition: APM2
level: Integration
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接
- PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接
- PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC
+ steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接
+ PC的ip,random_port,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接
+ PC的ip,random_port,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC
CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket
information"
sub module: TCP
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port
4.PC与target1创建好TCP 连接,有ACCEPT
5.断开与AP 连接
6.8266往PC上发送5字节数据
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port
4.PC与target1创建好TCP 连接,有ACCEPT
5.断开与AP 连接
6.关闭建立的socket1连接
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
initial condition: STAM2
level: Integration
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
- PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode
+ steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
+ PC的ip,random_port\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode
\n6.8266往PC上发送5字节数据"
sub module: TCP
summary: do TCP send after mode changed
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
initial condition: STAM2
level: Integration
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
- PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode
+ steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
+ PC的ip,random_port\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode
\n6.关闭建立的socket1连接"
sub module: TCP
summary: close TCP socket after mode changed
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port
4.PC与target1创建好TCP 连接,有ACCEPT
5.PC 网卡 disable
6.target1上使用socket1发送数据,等待 90 分钟
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
initial condition: STAM2
level: Integration
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
- PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.PC上网卡禁止掉 \n6.关闭建立的socket1连接"
+ steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
+ PC的ip,random_port\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.PC上网卡禁止掉 \n6.关闭建立的socket1连接"
sub module: TCP
summary: close TCP socket after PC NIC disabled
test environment: SSC_T1_6
8266_RTOS
ESP32_IDF
Test App: SSC
- allow fail: '1/2'
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
initial condition: STAM2
level: Integration
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
- PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta
+ steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
+ PC的ip,random_port\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta
ip \n7.查询sta ip 地址是否生效\n8.8266往PC上发送5字节数据"
sub module: TCP
summary: do TCP send after IP changed
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
initial condition: STAM2
level: Integration
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
- PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta
+ steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接
+ PC的ip,random_port\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta
ip \n7.查询sta ip 地址是否生效\n8.关闭建立的socket1连接"
sub module: TCP
summary: close TCP socket after IP changed
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port
4.PC与target1创建好TCP 连接,有ACCEPT
5.target1上创建TCP socket2
6.8266往PC socket2上发送5字节数据
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <random_port>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - R SSC1 RE CONNECT:\d+,OK
- - SOC SOC1 ACCEPT SOC2
- - R SOC_COM L OK
level: Integration
module: TCPIP
steps: |-
- 1.PC上建立TCP 监听 test_tcp_port1
+ 1.PC上建立TCP 监听 random_port
2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port
4.PC与target1创建好TCP 连接,有ACCEPT
5.target1上创建TCP socket2
6.关闭socket1 连接
- - R PC_COM C +NIC_START:OK
- - SSC SSC1 soc -B -t TCP
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - ''
- - DELAY 10
- - R SSC1 RE CONNECT:\d+,ERROR
category: Function
cmd set:
- ''
- - - PING <target_ip> -c 1
- - - R PC_COM C +PING
- - SOC SOC1 LISTEN <random_port> <pc_ip>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
6.OK
7.OK
8.OK
- 9.OK
- 10.等待30s
+ 9.等待30s
initial condition: STAM2
level: Integration
module: TCPIP
steps: |-
- 1.PING <target_ip>
- 2.PC上建立TCP 监听 random_port
- 3.target1上创建TCP socket
- 4.target1上步骤3创建的socket设置so_keepalive属性
- 5.target1上步骤3创建的socket设置so_keepidle参数
- 6.target1上步骤3创建的socket设置so_keepintvl参数
- 7.target1上步骤3创建的socket设置so_keepcnt参数
- 8.target1上使用步骤7具有so_keepalive属性及参数的socket,去连接 PC的ip,random_port
- 9.PC上网卡禁止掉
- 10.等待30s
+ 1.PC上建立TCP 监听 random_port
+ 2.target1上创建TCP socket
+ 3.target1上步骤3创建的socket设置so_keepalive属性
+ 4.target1上步骤3创建的socket设置so_keepidle参数
+ 5.target1上步骤3创建的socket设置so_keepintvl参数
+ 6.target1上步骤3创建的socket设置so_keepcnt参数
+ 7.target1上使用步骤7具有so_keepalive属性及参数的socket,去连接 PC的ip,random_port
+ 8.PC上网卡禁止掉
+ 9.等待30s
sub module: TCP
summary: Test socket with so_keepalive option
test environment: SSC_T1_6
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <random_port>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <random_port>
- - R SSC1 C +BIND:ERROR
execution time: 0.0
expected result: |-
level: Integration
module: TCPIP
steps: |-
- 1.find esp-idf/components/lwip/include/lwip/lwip/opt.h file, make "#define SO_REUSE 1" instead of "#define SO_REUSE 0"
- 2.switch to esp-idf/SSC, run "./gen_misc_ng.sh SSC_OPTION" and "make flash", then run the test case normally
- 3.PC上建立TCP 监听 random_port
- 4.target1上创建TCP socket,bind test_tcp_port2
- 5.target1上使用步骤4创建的socket,去连接 PC的ip,random_port
- 6.关闭socket
- 7.target1上创建TCP socket,bind test_tcp_port2
- 8.target1上建立TCP 监听
- 9.关闭socket
+ 1.PC上建立TCP 监听 random_port
+ 2.target1上创建TCP socket,bind test_tcp_port2
+ 3.target1上使用步骤4创建的socket,去连接 PC的ip,random_port
+ 4.关闭socket
+ 5.target1上创建TCP socket,bind test_tcp_port2
+ 6.target1上建立TCP 监听
+ 7.关闭socket
sub module: TCP
summary: Test socket with so_reuseaddr option opened that close TCP connection not
react immediately on ESP32
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <random_port>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <random_port>
- - R SSC1 A <sock2>:BIND:(\d+),OK
execution time: 0.0
expected result: |-
level: Integration
module: TCPIP
steps: |-
- 1.find esp-idf/components/lwip/include/lwip/lwip/opt.h file, make "#define SO_REUSE 1" instead of "#define SO_REUSE 0"
- 2.switch to esp-idf/SSC, run "./gen_misc_ng.sh SSC_OPTION" and "make flash", then run the test case normally
- 3.target1上创建TCP socket,bind test_udp_port1
- 4.target1上创建TCP socket,bind test_udp_port1
+ 1.target1上创建TCP socket,bind test_udp_port1
+ 2.target1上创建TCP socket,bind test_udp_port1
sub module: TCP
summary: Test socket with so_reuseaddr option opened that build two tcp sockets
by binding same ip and port on ESP32
category: Function
cmd set:
- ''
- - - PING <target_ip> -c 1
- - - R PC_COM C +PING
- - SOC SOC1 LISTEN <random_port> <pc_ip>
- - R SOC_COM L OK
- - SSC SSC1 soc -B -t TCP
4.OK
5.OK
6.OK
- 7.OK
- 8.CLOSED
+ 7.CLOSED
initial condition: STAM2
level: Integration
module: TCPIP
steps: |-
- 1.PING <target_ip>
- 2.PC上建立TCP 监听 random_port
- 3.target1上创建TCP socket
- 4.target1上使用步骤3创建的socket,去连接 PC的ip,random_port
- 5.PC与target1 创建好TCP 连接,有ACCEPT
- 6.PC send 5 bytes to target1
- 7.target1上对步骤3创建的socket设置so_rcvtimeo属性
- 8.PC send 5 bytes to target1
+ 1.PC上建立TCP 监听 random_port
+ 2.target1上创建TCP socket
+ 3.target1上使用步骤3创建的socket,去连接 PC的ip,random_port
+ 4.PC与target1 创建好TCP 连接,有ACCEPT
+ 5.PC send 5 bytes to target1
+ 6.target1上对步骤3创建的socket设置so_rcvtimeo属性
+ 7.PC send 5 bytes to target1
sub module: TCP
summary: Test socket with so_rcvtimeo option
test environment: SSC_T1_6
- ''
- - SOC SOC1 LISTEN <random_port> <pc_ip>
- - R SOC_COM L OK
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <random_port>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <random_port>
- - P SSC1 RE CONNECT:\d+,OK
- - SSC SSC1 soc -T
- - R SSC1 C CLOSEALL
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <random_port>
- - R SSC1 A <sock2>:BIND:(\d+),OK
- - SSC SSC1 soc -L -s <sock2>
- - P SSC1 RE LISTEN:\d+,OK
2.switch to ESP8266_RTOS_SDK/third_party, run "./make_lib.sh lwip" risc,then continuely run "ll ../lib"
3.switch to ESP8266_RTOS_SDK/SSC, run "./gen_misc_rtos.sh SSC", then run the test case normally
4.PC上建立TCP 监听 random_port
- 5.target1上创建TCP socket,bind test_tcp_port1
+ 5.target1上创建TCP socket,bind random_port
6.target1上使用步骤5创建的socket,去连接 PC的ip,random_port
7.关闭socket
- 8.target1上创建TCP socket,bind test_tcp_port1
+ 8.target1上创建TCP socket,bind random_port
9.target1上建立TCP 监听
sub module: TCP
summary: Test socket with so_reuseaddr option opened that close TCP connection not
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_udp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <est_tcp_port1>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_udp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <est_tcp_port1>
- - R SSC1 A <sock2>:BIND:(\d+),OK
execution time: 0.0
expected result: |-
1.find ESP8266_RTOS_SDK/include/lwip/lwip/opt.h file, make "#define SO_REUSE 1" instead of "#define SO_REUSE 0"
2.switch to ESP8266_RTOS_SDK/third_party, run "./make_lib.sh lwip" risc,then continuely run "ll ../lib"
3.switch to ESP8266_RTOS_SDK/SSC, run "./gen_misc_rtos.sh SSC", then run the test case normally
- 4.target1上创建TCP socket,bind test_udp_port1
- 5.target1上创建TCP socket,bind test_udp_port1
+ 4.target1上创建TCP socket,bind test_tcp_port2
+ 5.target1上创建TCP socket,bind test_tcp_port2
sub module: TCP
summary: Test socket with so_reuseaddr option opened that build two tcp sockets
by binding same ip and port on 8266_RTOS
category: Function
cmd set:
- ''
- - - PING <target_ip> -c 1
- - - R PC_COM C +PING
- - SSC SSC1 soc -B -t TCP -i <target_ip> -p <random_port>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - SSC SSC1 soc -L -s <sock1>
- - R SSC1 C CLOSE
execution time: 0.0
expected result: |-
- 1.PING <target_ip>
+ 1.OK
2.OK
3.OK
- 4.OK
- 5.PC TCP client accept
- 6.ERROR
- 7.CLOSE
+ 4.PC TCP client accept
+ 5.ERROR
+ 6.CLOSE
initial condition: STAM2
level: Integration
module: TCPIP
steps: |-
- 1.PING <target_ip>
- 2.target1上创建TCP socket,bind random_port
- 3.target1上使用步骤2创建的socket1,建立TCP 监听
- 4.target1上对步骤2创建的socket设置 MaxConnectNum属性
+ 1.target1上创建TCP socket,bind random_port
+ 2.target1上使用步骤2创建的socket1,建立TCP 监听
+ 3.target1上对步骤2创建的socket设置 MaxConnectNum属性
+ 4.PC TCP 连接到target1 <random_port>,<target_ip>
5.PC TCP 连接到target1 <random_port>,<target_ip>
- 6.PC TCP 连接到target1 <random_port>,<target_ip>
- 7.关闭socket
+ 6.关闭socket
sub module: TCP
summary: Test socket with MaxConnectNum option
test environment: SSC_T1_6
category: Function
cmd set:
- ''
- - - PING <target_ip> -c 1
- - - R PC_COM C +PING
- - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_tcp_port1>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - SSC SSC1 socopt -S -s <sock1> -k Registtime -o 20
1.OK
2.OK
3.OK
- 4.OK
- 5.PC TCP client accept
- 6.等待30s
+ 4.PC TCP client accept
+ 5.等待30s
initial condition: STAM2
level: Integration
module: TCPIP
steps: |-
- 1.PING <target_ip>
- 2.target1上创建TCP socket,bind test_tcp_port1
- 3.target1上对步骤2创建的socket设置 Registtime 属性
- 4.target1上使用步骤3具有Registtime属性的socket1,建立TCP 监听
- 5.PC TCP 连接到target1 <test_tcp_port1>, <target_ip>
- 6.等待30s
+ 1.target1上创建TCP socket,bind test_tcp_port1
+ 2.target1上对步骤2创建的socket设置 Registtime 属性
+ 3.target1上使用步骤3具有Registtime属性的socket1,建立TCP 监听
+ 4.PC TCP 连接到target1 <test_tcp_port1>, <target_ip>
+ 5.等待30s
sub module: TCP
summary: Test socket with Registtime option
test environment: SSC_T1_6
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_udp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_tcp_port1>
- - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_udp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip> -p <test_tcp_port1>
- - R SSC1 A <sock2>:BIND:(\d+),OK
execution time: 0.0
expected result: |-
level: Integration
module: TCPIP
steps: |-
- 1.target1上创建TCP socket,bind test_udp_port1
- 2.target1上创建TCP socket,bind test_udp_port1
+ 1.target1上创建TCP socket,bind test_tcp_port1
+ 2.target1上创建TCP socket,bind test_tcp_port1
sub module: TCP
summary: Test socket with so_reuseaddr option opened that build two tcp sockets
by binding same ip and port on 8266_NonOS
- - dummy
- - test_time = 720
- - ''
- - - server_port = "<test_tcp_port1>"
+ - - server_port = "<random_port>"
- - ''
- - server_echo = True
- - ''
- - ''
- - test_count = 0xFFFFFF
- - ''
- - - server_port = "<test_tcp_port1>"
+ - - server_port = "<random_port>"
- - ''
- - server_port_2 = "<test_tcp_port2>"
- - ''
test point 1: stress
test point 2: TCP stress test
version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_5801
+ SDK: 'ESP32_IDF'
+ Test App: SSC
+ auto test: 'Yes'
+ category: Stress
+ cmd set:
+ - TCPStress/TCPSendRecvIPv6
+ - - send_len = 1460
+ - [dummy]
+ - - test_time = 300
+ - ['']
+ - - duplex = True
+ - ['']
+ - - conn_num = 5
+ - ['']
+ - - send_delay = 20
+ - ['']
+ execution time: 12.0
+ expected result: |-
+ 1. succeed
+ 2. succeed
+ 3. all TCP connection not disconnected
+ initial condition: T2_1
+ level: Integration
+ module: TCPIP
+ steps: |-
+ 1. sta connect to softap
+ 2. create multiple tcp connection
+ 3. do send/recv on all tcp connections
+ sub module: TCP
+ summary: TCP send/recv stress test with TCPSendRecvIPv6
+ test environment: SSC_T2_5
+ test point 1: stress
+ test point 2: TCP stress test(IPv6)
+ version: v2 (2016-11-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_5802
+ SDK: 'ESP32_IDF'
+ Test App: SSC
+ auto test: 'Yes'
+ category: Stress
+ cmd set:
+ - TCPStress/TCPSoftAPSTASendRecvIPv6
+ - - send_len = 1460
+ - [dummy]
+ - - test_time = 300
+ - ['']
+ - - conn_num = 5
+ - ['']
+ - - duplex = True
+ - ['']
+ - - send_delay = 20
+ - ['']
+ execution time: 12.0
+ expected result: |-
+ 1. succeed
+ 2. succeed
+ 3. all TCP connection not disconnected
+ initial condition: T3_1
+ level: Integration
+ module: TCPIP
+ steps: |-
+ 1. sta connect to softap
+ 2. create multiple tcp connection
+ 3. do send/recv on all tcp connections
+ sub module: TCP
+ summary: TCP send/recv stress test with TCPSoftAPSTASendRecvIPv6
+ test environment: SSC_T3_1
+ test point 1: stress
+ test point 2: TCP stress test(IPv6)
+ version: v2 (2016-11-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_5803
+ SDK: 'ESP32_IDF'
+ Test App: SSC
+ auto test: 'Yes'
+ category: Stress
+ cmd set:
+ - TCPStress/TCPDataValidationIPv6
+ - - test_time = 300
+ - [dummy]
+ - - tx_enable = True
+ - ['']
+ - - rx_enable = True
+ - ['']
+ - - conn_num = 5
+ - ['']
+ - - send_len = 1024
+ - ['']
+ execution time: 24.0
+ expected result: |-
+ 1. succeed
+ 2. verify reciveid data on target and PC succeed
+ initial condition: STAAP2
+ level: Integration
+ module: TCPIP
+ steps: |-
+ 1. create TCP connection
+ 2. send specified pattern on both direction
+ sub module: TCP
+ summary: TCP send/recv data validation with TCPDataValidationIPv6
+ test environment: SSC_T1_6
+ test point 1: stress
+ test point 2: TCP stress test(IPv6)
+ version: v2 (2016-11-15)
- CI ready: 'No'
ID: TCPIP_TCP_6001
SDK: ESP32_IDF, 8266_NonOS, 8266_RTOS
send_delay 4. repeat step 2-3
sub module: TCP
summary: TCP send receive delay stable test
- test environment: SSC_T1_1
+ test environment: SSC_T1_6
test point 1: Stable
test point 2: TCP send receive stable test
version: v1 (2017-04-21)