| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874 |
- test cases:
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0101
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 C BIND:ERROR
- - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
- - - R SSC1 RE BIND:(\d+),OK
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.ERROR
- 4.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4.target1上创建TCP socket3, target_udp_port1
- sub module: UDP
- summary: STA mode, udp bind test. use different ip, port
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0102
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 2/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 10
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 10
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip2> -p <test_udp_port2> -l 10
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC2 UL 10
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
- 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据
- sub module: UDP
- summary: STA mode, sendto test. use different ip, port
- test environment: SSC_T1_9
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0103
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 1
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 1472
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC_COM NC SOC_RECVFROM
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472 -n 10 -j 20
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 14720
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK,没有到UDP包
- 6.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
- 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据
- sub module: UDP
- summary: STA mode, sendto test with different length
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0103
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 1
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 1472
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC_COM NC SOC_RECVFROM
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
- sub module: UDP
- summary: STA mode, sendto test with different length
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0104
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SOC SOC1 SENDTO 1 <test_udp_port1> <target_ip>
- - - R SSC1 SL <sock1>+1
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip>,<test_udp_port1>)
- - - SOC SOC1 SENDTO 1473 <test_udp_port1> <target_ip>
- - - P SSC1 NC +RECVFROM
- - P SOC_COM C OK
- - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
- - - R SOC_COM L OK
- - - SOC SOC2 SENDTO 1472 <test_udp_port1> <target_ip>
- - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip2>,<test_udp_port2>)
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK,没收到UDP包
- 6.OK
- 7.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.PC往8266上发送1字节数据
- 4.PC往8266上发送1472字节数据
- 5.PC往8266上发送1473字节数据
- 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 7.PC往8266上发送1472字节数据
- sub module: UDP
- summary: STA mode, recvfrom basic test
- test environment: SSC_T1_9
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0105
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -T -s <sock1>
- - - R SSC1 RE CLOSE:\d+
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.关闭socket1
- sub module: UDP
- summary: STA mode, close UDP sockets test
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0106
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
- - - R SSC1 RE BIND:(\d+),OK
- execution time: 0.0
- expected result: |-
- 1.ok
- 2.ok
- 3.ok
- 4.ok
- 5.ok
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
- 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
- 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
- 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5
- sub module: UDP
- summary: STA mode, create max udp socket test
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0107
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -I
- - - P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上查询创建socket信息
- sub module: UDP
- summary: STA mode, UDP get active socket info test
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0108
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 C BIND:ERROR
- - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
- - - R SSC1 RE BIND:(\d+),OK
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.ERROR
- 4.OK
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4.target1上创建TCP socket3, target_udp_port1
- sub module: UDP
- summary: AP mode, udp bind test. use different ip, port
- test environment: SSC_T1_8
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0109
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - - R SSC1 C +SAP:OK
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - - R PC_COM NC ERROR C +WIFICONN:OK
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - - R SOC_COM L OK
- - - SSC SSC2 ip
- - - R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
- - - R SSC2 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock2> -i <pc_ip_wifi> -p <test_udp_port1> -l 5
- - - R SOC1 UL 5
- - - SSC SSC1 soc -S -s <sock2> -i <ssc2_ip> -p <test_udp_port2> -l 5
- - - R SSC2 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock1>,<target_ap_ip>,<test_udp_port1>)
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- initial condition: T2O_1
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
- 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据
- sub module: UDP
- summary: AP mode, sendto test. use different ip, port
- test environment: SSC_T2_2
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0110
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <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
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 1
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 1472
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC_COM NC SOC_RECVFROM
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472 -n 10
- -j 20
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 14720
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK,没收到UDP包
- 6.OK
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
- 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据
- sub module: UDP
- summary: AP mode, sendto test with different length
- test environment: SSC_T1_7
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0110
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <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
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 1
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 1472
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC_COM C SOC_RECVFROM
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
- sub module: UDP
- summary: AP mode, sendto test with different length
- test environment: SSC_T1_7
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0111
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - - R SSC1 C +SAP:OK
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - - R PC_COM NC ERROR C +WIFICONN:OK
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - - R SOC_COM L OK
- - - SSC SSC2 ip
- - - R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
- - - R SSC2 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock2>:BIND:(\d+),OK
- - - SOC SOC1 SENDTO 5 <test_udp_port1> <target_ap_ip>
- - - R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<pc_ip_wifi>,<test_udp_port1>)
- - - SSC SSC2 soc -S -s <sock1> -i <target_ap_ip> -p <test_udp_port1> -l 5
- - - R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<ssc2_ip>,<test_udp_port2>)
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK,没收到UDP包
- 6.OK
- 7.OK
- initial condition: T2O_1
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.PC往8266上发送1字节数据
- 4.PC往8266上发送1472字节数据
- 5.PC往8266上发送1473字节数据
- 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 7.PC往8266上发送1472字节数据
- sub module: UDP
- summary: AP mode, recvfrom basic test
- test environment: SSC_T2_2
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0112
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -T -s <sock1>
- - - R SSC1 RE CLOSE:\d+
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.关闭socket1
- sub module: UDP
- summary: AP mode, close UDP sockets test
- test environment: SSC_T1_8
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0113
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
- - - R SSC1 RE BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
- - - R SSC1 RE BIND:(\d+),OK
- execution time: 0.0
- expected result: |-
- 1.ok
- 2.ok
- 3.ok
- 4.ok
- 5.ok
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
- 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
- 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
- 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5
- sub module: UDP
- summary: AP mode, create max udp socket test
- test environment: SSC_T1_8
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0114
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -I
- - - P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上查询创建socket信息
- sub module: UDP
- summary: AP mode, UDP get active socket info test
- test environment: SSC_T1_8
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0201
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1> -w 0
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - - ''
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - - ''
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - - ''
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - - ''
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - - ''
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.PC OK
- 5.PC OK
- 6.PC OK
- 7.PC OK
- 8.PC OK SOC_CLOSE=SOC1
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上关闭工作线程
- 4.PC往8266上发送1472字节数据
- 5.PC往8266上发送1472字节数据
- 6.PC往8266上发送1472字节数据
- 7.PC往8266上发送1472字节数据
- 8.PC往8266上发送1472字节数据
- sub module: UDP
- summary: STA mode, UDP recv buffer test
- test environment: SSC_T1_6
- test point 1: abnormal/special use
- test point 2: use UDP SAP (socket/espconn API) in different state
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0202
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <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
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - - ''
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - - ''
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - - ''
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - - ''
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - - ''
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - - ''
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.PC OK
- 5.PC OK
- 6.PC OK
- 7.PC OK
- 8.PC OK SOC_CLOSE=SOC1
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上关闭工作线程
- 4.PC往8266上发送1472字节数据
- 5.PC往8266上发送1472字节数据
- 6.PC往8266上发送1472字节数据
- 7.PC往8266上发送1472字节数据
- 8.PC往8266上发送1472字节数据
- sub module: UDP
- summary: AP mode, UDP recv buffer test
- test environment: SSC_T1_7
- test point 1: abnormal/special use
- test point 2: use UDP SAP (socket/espconn API) in different state
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0301
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -i <target_ip> -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 5
- - - SSC SSC1 sta -D
- - - P SSC1 C +QAP:OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - - P SSC1 RE SEND:\d+,ERROR
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.ERROR
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
- 4.断开与AP 连接
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
- sub module: UDP
- summary: do UDP send after WIFI disconnected
- test environment: SSC_T1_6
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0302
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 2/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 5
- - - SSC SSC1 sta -D
- - - P SSC1 C +QAP:OK
- - - SSC SSC1 soc -T -s <sock1>
- - - R SSC1 RE CLOSE:\d+,OK
- execution time: 0.0
- expected result: |
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
- 4.断开与AP 连接
- 5.关闭建立的socket1连接
- sub module: UDP
- summary: "close UDP socket after WIFI \ndisconnected"
- test environment: SSC_T1_6
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0303
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 5
- - - SSC SSC1 op -S -o 2
- - - P SSC1 C +MODE:OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - - P SSC1 RE SEND:(\d+),OK
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.ERROR
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
- target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.修改8266的Mode为softAP
- mode \n5.8266往PC上发送5字节数据"
- sub module: UDP
- summary: do UDP send after mode changed
- test environment: SSC_T1_6
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0304
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 5
- - - SSC SSC1 op -S -o 2
- - - P SSC1 C +MODE:OK
- - - SSC SSC1 soc -T -s <sock1>
- - - R SSC1 RE CLOSE:\d+,OK
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
- target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.修改8266的Mode为softAP
- mode \n5.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after mode changed
- test environment: SSC_T1_6
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0305
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 5
- - - NIC <pc_nic> DISABLED
- - - R PC_COM C OK
- - - SSC SSC1 soc -T -s <sock1>
- - - R SSC1 RE CLOSE:\d+,OK
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
- target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.PC上网卡禁止掉
- \n5.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after PC NIC disabled
- test environment: SSC_T1_6
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0306
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 5
- - - SSC SSC1 dhcp -E -o 1
- - - R SSC1 C +DHCP:STA,OK
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - - P SSC1 C +IP:OK
- - - SSC SSC1 ip -Q -o 1
- - - R SSC1 C +STAIP:192.168.111.210
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
- - - P SSC1 RE SEND:\d+,OK
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK
- 7.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
- target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.关闭8266的DHCP
- 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.8266往PC上发送5字节数据"
- sub module: UDP
- summary: do UDP send after IP changed
- test environment: SSC_T1_6
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0307
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: 1/3
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - - R SOC_COM L OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - - P SSC1 RE SEND:(\d+),OK
- - P SOC1 UL 5
- - - SSC SSC1 dhcp -E -o 1
- - - R SSC1 C +DHCP:STA,OK
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - - P SSC1 C +IP:OK
- - - SSC SSC1 ip -Q -o 1
- - - R SSC1 C +STAIP:192.168.111.210
- - - SSC SSC1 soc -T -s <sock1>
- - - R SSC1 RE CLOSE:\d+,OK
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK
- 7.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
- target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.关闭8266的DHCP
- 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after IP changed
- test environment: SSC_T1_6
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0401
- SDK: |-
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 C +BIND:ERROR
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.ERROR
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1.target1上创建UDP socket,bind test_udp_port1
- 2.target1上创建UDP socket,bind test_udp_port1
- sub module: UDP
- summary: Test socket with so_reuseaddr option closed on UDP submodule
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: socket test with different option
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0402
- SDK: ESP32_IDF
- Test App: SSC_OPTION
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock2>:BIND:(\d+),OK
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- initial condition: STAM2
- 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上创建UDP socket,bind test_udp_port1
- 4.target1上创建UDP socket,bind test_udp_port1
- sub module: UDP
- summary: Test socket with so_reuseaddr option opened that build two udp sockets
- by binding same port on ESP32
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: socket test with different option
- version: v1 (2016-8-15)
- - CI ready: 'No'
- ID: TCPIP_UDP_0403
- SDK: 8266_RTOS
- Test App: SSC
- allow fail: ''
- auto test: 'No'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:BIND:(\d+),OK
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock2>:BIND:(\d+),OK
- execution time: 0.0
- expected result: |-
- 1.OK
- 2.OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 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上创建UDP socket,bind test_udp_port1
- 5.target1上创建UDP socket,bind test_udp_port1
- sub module: UDP
- summary: Test socket with so_reuseaddr option opened that build two udp sockets
- by binding same port on 8266_RTOS
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: socket test with different option
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_5001
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/UDPSendRecv
- - - 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. succeed
- initial condition: T2_1
- level: Integration
- module: TCPIP
- steps: |-
- 1. sta connect to softap
- 2. create multiple udp
- 3. do send/recv on all udp
- sub module: UDP
- summary: UDP send/recv stress test
- test environment: SSC_T2_5
- test point 1: stress
- test point 2: UDP stress test
- version: v2 (2016-11-15)
- - CI ready: 'No'
- ID: TCPIP_UDP_5002
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/UDPPacketLose
- - - test_time = 5
- - - dummy
- - - send_len = 1460
- - - ''
- - - pc_send = True
- - - ''
- - - target_send = False
- - - ''
- - - delay = 10
- - - ''
- execution time: 1.0
- expected result: |-
- 1. succeed
- 2. succeed
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1. scan AP to get AP RSSI
- 2. create UDP and recv data for several seconds
- sub module: UDP
- summary: UDP loss rate on DUT Rx
- test environment: SSC_T1_6
- test point 1: Performance test
- test point 2: UDP stress test
- version: v1 (2016-10-18)
- - CI ready: 'No'
- ID: TCPIP_UDP_5003
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/UDPPacketLose
- - - test_time = 5
- - - dummy
- - - send_len = 1460
- - - ''
- - - pc_send = False
- - - ''
- - - target_send = True
- - - ''
- - - delay = 10
- - - ''
- execution time: 1.0
- expected result: |-
- 1. succeed
- 2. succeed
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1. scan AP to get AP RSSI
- 2. create UDP and recv data for several seconds
- sub module: UDP
- summary: UDP loss rate on DUT Tx
- test environment: SSC_T1_6
- test point 1: Performance test
- test point 2: UDP stress test
- version: v1 (2016-10-18)
- - CI ready: 'No'
- ID: TCPIP_UDP_5004
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/UDPBroadcast
- - - test_time = 30
- - - dummy
- - - send_len = 20
- - - ''
- - - pc_send = True
- - - ''
- - - target_send = False
- - - ''
- - - delay = 10
- - - ''
- execution time: 1.0
- expected result: |-
- 1. succeed
- 2. succeed
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1. scan AP to get AP RSSI
- 2. create UDP and recv data for several seconds
- sub module: UDP
- summary: UDP broadcase loss rate on DUT Rx
- test environment: SSC_T1_6
- test point 1: Performance test
- test point 2: UDP stress test
- version: v1 (2016-10-18)
- - CI ready: 'No'
- ID: TCPIP_UDP_5005
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/UDPMultiSTASendRecv
- - - send_len = 1460
- - - dummy
- - - test_time = 300
- - - ''
- - - server_echo = True
- - - ''
- - - sta_number = 5
- - - ''
- - - send_delay = 500
- - - ''
- execution time: 5.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- initial condition: None
- level: Integration
- module: TCPIP
- steps: |-
- 1. 5 sta connect to softap
- 2. create udp socket on all sta
- 3. all sta do udp send/recv
- sub module: UDP
- summary: 1 SoftAP 5 STA, create UDP server on one STA, create UDP client on other
- STA, do UDP send/recv
- test environment: SSC_T6_1
- test point 1: stress
- test point 2: UDP stress test
- version: v1 (2016-8-15)
- - CI ready: 'No'
- ID: TCPIP_UDP_5006
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/UDPSTAMultiSocketSendRecv
- - - send_len = 1460
- - - dummy
- - - test_time = 300
- - - ''
- - - server_echo = True
- - - ''
- - - sta_number = 2
- - - ''
- - - conn_number = 6
- - - ''
- - - send_delay = 500
- - - ''
- execution time: 5.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- initial condition: None
- level: Integration
- module: TCPIP
- steps: |-
- 1. 2 sta connect to softap
- 2. create multi udp socket on all sta
- 3. all sta do udp send/recv
- sub module: UDP
- summary: 1 SoftAP 2 STA, create multi UDP socket on STA, do UDP send/recv
- test environment: SSC_T3_1
- test point 1: stress
- test point 2: UDP stress test
- version: v1 (2016-8-15)
- - CI ready: 'No'
- ID: TCPIP_UDP_5007
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/SoftAPSTAUDPLose
- - - test_time = 60
- - - dummy
- - - send_len = 1460
- - - ''
- - - softap_send = False
- - - ''
- - - sta_send = True
- - - ''
- - - delay = 10
- - - ''
- execution time: 1.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- initial condition: T2_1
- level: Integration
- module: TCPIP
- steps: |-
- 1.sta connect to softAP
- 2.sta softAP bind UPD socket
- 3.sta send UDP to softAP, softAP calculate the packet lose
- sub module: UDP
- summary: STA connect to softAP, STA send UDP to softAP, calculate the UDP lose on
- softAP
- test environment: SSC_T2_5
- test point 1: Performance test
- test point 2: UDP stress test
- version: v1 (2016-10-18)
- - CI ready: 'No'
- ID: TCPIP_UDP_5008
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/SoftAPSTAUDPLose
- - - test_time = 60
- - - dummy
- - - send_len = 1460
- - - ''
- - - softap_send = True
- - - ''
- - - sta_send = False
- - - ''
- - - delay = 10
- - - ''
- execution time: 1.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- initial condition: T2_1
- level: Integration
- module: TCPIP
- steps: |-
- 1.sta connect to softAP
- 2.sta softAP bind UPD socket
- 3.softAP send UDP to STA, STA calculate the packet lose
- sub module: UDP
- summary: STA connect to softAP, softAP send UDP to STA, calculate the UDP lose on
- STA
- test environment: SSC_T2_5
- test point 1: Performance test
- test point 2: UDP stress test
- version: v1 (2016-10-18)
- - CI ready: 'No'
- ID: TCPIP_UDP_5101
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Performance
- cmd set:
- - UDPStress/UDPThroughput
- - - send_len = 1460
- - - dummy
- - - tx_enable = True
- - - ''
- - - rx_enable = False
- - - ''
- - - measure_period = 30
- - - ''
- execution time: 2.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- initial condition: STAM1
- level: Integration
- module: TCPIP
- steps: |-
- 1. config attenuator (0-59)
- 2. scan AP to get AP RSSI
- 3. create UDP and send data for several seconds
- Loop step 1 - 3
- sub module: UDP
- summary: UDP throughput Tx in shield box
- test environment: SSC_T1_ShieldBox
- test point 1: performance
- test point 2: UDP throughput
- version: v1 (2016-8-15)
- - CI ready: 'No'
- ID: TCPIP_UDP_5102
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Performance
- cmd set:
- - UDPStress/UDPThroughput
- - - send_len = 1460
- - - dummy
- - - tx_enable = False
- - - ''
- - - rx_enable = True
- - - ''
- - - measure_period = 30
- - - ''
- execution time: 2.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- initial condition: STAM1
- level: Integration
- module: TCPIP
- steps: |-
- 1. config attenuator (0-59)
- 2. scan AP to get AP RSSI
- 3. create UDP and recv data for several seconds
- Loop step 1 - 3
- sub module: UDP
- summary: UDP throughput Rx in shield box
- test environment: SSC_T1_ShieldBox
- test point 1: performance
- test point 2: UDP throughput
- version: v1 (2016-8-15)
- - CI ready: 'No'
- ID: TCPIP_UDP_5201
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/EthUDPThroughput
- - - send_len = 1460
- - - dummy
- - - tx_enable = True
- - - ''
- - - rx_enable = False
- - - ''
- - - measure_period = 30
- - - ''
- - - test_count = 5
- - - ''
- execution time: 0.5
- expected result: |-
- 1. succeed
- 2. succeed
- initial condition: T1_ETH
- level: Integration
- module: TCPIP
- steps: |-
- 1. DUT open eth and get ip
- 2. DUT band socket and send packet to PC for several secends
- Loop for step 1-2
- sub module: UDP
- summary: UDP throughput Tx for Ethernet
- test environment: ETH_T1_1
- test point 1: stress
- test point 2: UDP stress test
- version: v1 (2016-8-15)
- - CI ready: 'No'
- ID: TCPIP_UDP_5202
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/EthUDPThroughput
- - - send_len = 1460
- - - dummy
- - - tx_enable = False
- - - ''
- - - rx_enable = True
- - - ''
- - - measure_period = 30
- - - ''
- - - test_count = 5
- - - ''
- execution time: 0.5
- expected result: |-
- 1. succeed
- 2. succeed
- initial condition: T1_ETH
- level: Integration
- module: TCPIP
- steps: |-
- 1. DUT open eth and get ip
- 2. DUT band socket and PC send packet to DUT for several secends
- Loop for step 1-2
- sub module: UDP
- summary: UDP throughput Rx for Ethernet
- test environment: ETH_T1_1
- test point 1: stress
- test point 2: UDP stress test
- version: v1 (2016-8-15)
- - CI ready: 'No'
- ID: TCPIP_UDP_5301
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/EthUDPPacketLose
- - - test_time = 30
- - - dummy
- - - send_len = 1460
- - - ''
- - - pc_send = True
- - - ''
- - - target_send = False
- - - ''
- - - delay = 10
- - - ''
- execution time: 0.5
- expected result: |-
- 1. succeed
- 2. succeed
- initial condition: T1_ETH
- level: Integration
- module: TCPIP
- steps: |-
- 1. DUT open eth and get ip
- 2. DUT band socket,PC send packet to DUT for several secends
- 3. DUT calculate the packet lose rate
- sub module: UDP
- summary: UDP loss rate on DUT Rx for Eth
- test environment: ETH_T1_1
- test point 1: Performance test
- test point 2: UDP stress test
- version: v1 (2016-10-18)
- - CI ready: 'No'
- ID: TCPIP_UDP_5401
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/UDPSoftAPSTAThroughput
- - - send_len = 1460
- - - dummy
- - - sta_rx_enable = False
- - - ''
- - - sta_tx_enable = True
- - - ''
- - - measure_period = 15
- - - ''
- execution time: 1.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- 4. succeed
- initial condition: T2_1
- level: Integration
- module: TCPIP
- steps: |-
- 1. STA connect softAP
- 2. bind UDP socket
- 3. send UDP packet
- 4. calculate the troughput
- sub module: UDP
- summary: STA UDP throughput Tx while connected with softAP
- test environment: SSC_T2_ShieldBox2
- test point 1: Performance test
- test point 2: UDP throughput
- version: v1 (2016-10-18)
- - CI ready: 'No'
- ID: TCPIP_UDP_5402
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/UDPSoftAPSTAThroughput
- - - send_len = 1460
- - - dummy
- - - sta_rx_enable = True
- - - ''
- - - sta_tx_enable = False
- - - ''
- - - measure_period = 15
- - - ''
- execution time: 1.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- 4. succeed
- initial condition: T2_1
- level: Integration
- module: TCPIP
- steps: |-
- 1. STA connect softAP
- 2. bind UDP socket
- 3. send UDP packet
- 4. calculate the troughput
- sub module: UDP
- summary: STA UDP throughput Rx while connected with softAP
- test environment: SSC_T2_ShieldBox2
- test point 1: Performance test
- test point 2: UDP throughput
- version: v1 (2016-10-18)
- - CI ready: 'No'
- ID: TCPIP_UDP_9901
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: IOT
- cmd set:
- - UDPStress/UDPThroughputCompatibility
- - - send_len = 1460
- - - dummy
- - - test_times = 10
- - - ''
- - - tx_enable = True
- - - ''
- - - rx_enable = False
- - - ''
- - - measure_period = 30
- - - ''
- execution time: 2.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- initial condition: STAM1
- level: Integration
- module: TCPIP
- steps: |-
- 1. scan AP to get AP RSSI
- 2. create TCP connection and send data for several seconds
- 3. calculate the throughput
- Loop step 1 - 3
- sub module: UDP
- summary: UDP throughput Tx Compatibility test in shield box
- test environment: SSC_T1_ShieldBox
- test point 1: performance
- test point 2: UDP throughput Compatibility test
- version: v1 (2016-8-15)
- - CI ready: 'No'
- ID: TCPIP_UDP_9902
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- ESP32_IDF
- Test App: SSC
- auto test: 'Yes'
- category: IOT
- cmd set:
- - UDPStress/UDPThroughputCompatibility
- - - send_len = 1460
- - - dummy
- - - test_times = 10
- - - ''
- - - tx_enable = False
- - - ''
- - - rx_enable = True
- - - ''
- - - measure_period = 30
- - - ''
- execution time: 2.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- initial condition: STAM1
- level: Integration
- module: TCPIP
- steps: |-
- 1. scan AP to get AP RSSI
- 2. create TCP connection and send data for several seconds
- 3. calculate the throughput
- Loop step 1 - 3
- sub module: UDP
- summary: UDP throughput Rx Compatibility test in shield box
- test environment: SSC_T1_ShieldBox
- test point 1: performance
- test point 2: UDP throughput Compatibility test
- version: v1 (2016-8-15)
|