TC_IT_TCPIP_UDP.yml 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874
  1. test cases:
  2. - CI ready: 'Yes'
  3. ID: TCPIP_UDP_0101
  4. SDK: |-
  5. 8266_NonOS
  6. 8266_RTOS
  7. ESP32_IDF
  8. Test App: SSC
  9. allow fail: ''
  10. auto test: 'Yes'
  11. category: Function
  12. cmd set:
  13. - ''
  14. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  15. - - R SSC1 RE BIND:(\d+),OK
  16. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
  17. - - R SSC1 RE BIND:(\d+),OK
  18. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  19. - - R SSC1 C BIND:ERROR
  20. - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
  21. - - R SSC1 RE BIND:(\d+),OK
  22. execution time: 0.0
  23. expected result: |-
  24. 1.OK
  25. 2.OK
  26. 3.ERROR
  27. 4.OK
  28. initial condition: STAM2
  29. level: Integration
  30. module: TCPIP
  31. steps: |-
  32. 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  33. 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
  34. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  35. 4.target1上创建TCP socket3, target_udp_port1
  36. sub module: UDP
  37. summary: STA mode, udp bind test. use different ip, port
  38. test environment: SSC_T1_6
  39. test point 1: basic function
  40. test point 2: use UDP SAP (socket/espconn API) with different parameter
  41. version: v1 (2016-8-15)
  42. - CI ready: 'Yes'
  43. ID: TCPIP_UDP_0102
  44. SDK: |-
  45. 8266_NonOS
  46. 8266_RTOS
  47. ESP32_IDF
  48. Test App: SSC
  49. allow fail: 2/3
  50. auto test: 'Yes'
  51. category: Function
  52. cmd set:
  53. - ''
  54. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  55. - - R SOC_COM L OK
  56. - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
  57. - - R SOC_COM L OK
  58. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  59. - - R SSC1 A <sock1>:BIND:(\d+),OK
  60. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 10
  61. - - P SSC1 RE SEND:(\d+),OK
  62. - P SOC1 UL 10
  63. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip2> -p <test_udp_port2> -l 10
  64. - - P SSC1 RE SEND:(\d+),OK
  65. - P SOC2 UL 10
  66. execution time: 0.0
  67. expected result: |-
  68. 1.OK
  69. 2.OK
  70. 3.OK
  71. 4.OK
  72. 5.OK
  73. initial condition: STAM2
  74. level: Integration
  75. module: TCPIP
  76. steps: |-
  77. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  78. 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  79. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  80. 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
  81. 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据
  82. sub module: UDP
  83. summary: STA mode, sendto test. use different ip, port
  84. test environment: SSC_T1_9
  85. test point 1: basic function
  86. test point 2: use UDP SAP (socket/espconn API) with different parameter
  87. version: v1 (2016-8-15)
  88. - CI ready: 'Yes'
  89. ID: TCPIP_UDP_0103
  90. SDK: |-
  91. 8266_NonOS
  92. 8266_RTOS
  93. Test App: SSC
  94. allow fail: 1/3
  95. auto test: 'Yes'
  96. category: Function
  97. cmd set:
  98. - ''
  99. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  100. - - R SOC_COM L OK
  101. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  102. - - R SSC1 A <sock1>:BIND:(\d+),OK
  103. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
  104. - - P SSC1 RE SEND:(\d+),OK
  105. - P SOC1 UL 1
  106. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
  107. - - P SSC1 RE SEND:(\d+),OK
  108. - P SOC1 UL 1472
  109. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
  110. - - P SSC1 RE SEND:(\d+),OK
  111. - P SOC_COM NC SOC_RECVFROM
  112. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472 -n 10 -j 20
  113. - - P SSC1 RE SEND:(\d+),OK
  114. - P SOC1 UL 14720
  115. execution time: 0.0
  116. expected result: |-
  117. 1.OK
  118. 2.OK
  119. 3.OK
  120. 4.OK
  121. 5.OK,没有到UDP包
  122. 6.OK
  123. initial condition: STAM2
  124. level: Integration
  125. module: TCPIP
  126. steps: |-
  127. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  128. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  129. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
  130. 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
  131. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
  132. 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据
  133. sub module: UDP
  134. summary: STA mode, sendto test with different length
  135. test environment: SSC_T1_6
  136. test point 1: basic function
  137. test point 2: use UDP SAP (socket/espconn API) with different parameter
  138. version: v1 (2016-8-15)
  139. - CI ready: 'Yes'
  140. ID: TCPIP_UDP_0103
  141. SDK: ESP32_IDF
  142. Test App: SSC
  143. allow fail: 1/3
  144. auto test: 'Yes'
  145. category: Function
  146. cmd set:
  147. - ''
  148. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  149. - - R SOC_COM L OK
  150. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  151. - - R SSC1 A <sock1>:BIND:(\d+),OK
  152. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
  153. - - P SSC1 RE SEND:(\d+),OK
  154. - P SOC1 UL 1
  155. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
  156. - - P SSC1 RE SEND:(\d+),OK
  157. - P SOC1 UL 1472
  158. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
  159. - - P SSC1 RE SEND:(\d+),OK
  160. - P SOC_COM NC SOC_RECVFROM
  161. execution time: 0.0
  162. expected result: |-
  163. 1.OK
  164. 2.OK
  165. 3.OK
  166. 4.OK
  167. 5.OK
  168. initial condition: STAM2
  169. level: Integration
  170. module: TCPIP
  171. steps: |-
  172. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  173. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  174. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
  175. 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
  176. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
  177. sub module: UDP
  178. summary: STA mode, sendto test with different length
  179. test environment: SSC_T1_6
  180. test point 1: basic function
  181. test point 2: use UDP SAP (socket/espconn API) with different parameter
  182. version: v1 (2016-8-15)
  183. - CI ready: 'Yes'
  184. ID: TCPIP_UDP_0104
  185. SDK: |-
  186. 8266_NonOS
  187. 8266_RTOS
  188. ESP32_IDF
  189. Test App: SSC
  190. allow fail: 1/3
  191. auto test: 'Yes'
  192. category: Function
  193. cmd set:
  194. - ''
  195. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  196. - - R SOC_COM L OK
  197. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  198. - - R SSC1 A <sock1>:BIND:(\d+),OK
  199. - - SOC SOC1 SENDTO 1 <test_udp_port1> <target_ip>
  200. - - R SSC1 SL <sock1>+1
  201. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  202. - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip>,<test_udp_port1>)
  203. - - SOC SOC1 SENDTO 1473 <test_udp_port1> <target_ip>
  204. - - P SSC1 NC +RECVFROM
  205. - P SOC_COM C OK
  206. - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
  207. - - R SOC_COM L OK
  208. - - SOC SOC2 SENDTO 1472 <test_udp_port1> <target_ip>
  209. - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip2>,<test_udp_port2>)
  210. execution time: 0.0
  211. expected result: |-
  212. 1.OK
  213. 2.OK
  214. 3.OK
  215. 4.OK
  216. 5.OK,没收到UDP包
  217. 6.OK
  218. 7.OK
  219. initial condition: STAM2
  220. level: Integration
  221. module: TCPIP
  222. steps: |-
  223. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  224. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  225. 3.PC往8266上发送1字节数据
  226. 4.PC往8266上发送1472字节数据
  227. 5.PC往8266上发送1473字节数据
  228. 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  229. 7.PC往8266上发送1472字节数据
  230. sub module: UDP
  231. summary: STA mode, recvfrom basic test
  232. test environment: SSC_T1_9
  233. test point 1: basic function
  234. test point 2: use UDP SAP (socket/espconn API) with different parameter
  235. version: v1 (2016-8-15)
  236. - CI ready: 'Yes'
  237. ID: TCPIP_UDP_0105
  238. SDK: |-
  239. 8266_NonOS
  240. 8266_RTOS
  241. ESP32_IDF
  242. Test App: SSC
  243. allow fail: ''
  244. auto test: 'Yes'
  245. category: Function
  246. cmd set:
  247. - ''
  248. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  249. - - R SSC1 A <sock1>:BIND:(\d+),OK
  250. - - SSC SSC1 soc -T -s <sock1>
  251. - - R SSC1 RE CLOSE:\d+
  252. execution time: 0.0
  253. expected result: |-
  254. 1.OK
  255. 2.OK
  256. initial condition: STAM2
  257. level: Integration
  258. module: TCPIP
  259. steps: |-
  260. 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  261. 2.关闭socket1
  262. sub module: UDP
  263. summary: STA mode, close UDP sockets test
  264. test environment: SSC_T1_6
  265. test point 1: basic function
  266. test point 2: use UDP SAP (socket/espconn API) with different parameter
  267. version: v1 (2016-8-15)
  268. - CI ready: 'Yes'
  269. ID: TCPIP_UDP_0106
  270. SDK: |-
  271. 8266_NonOS
  272. 8266_RTOS
  273. ESP32_IDF
  274. Test App: SSC
  275. allow fail: ''
  276. auto test: 'Yes'
  277. category: Function
  278. cmd set:
  279. - ''
  280. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  281. - - R SSC1 RE BIND:(\d+),OK
  282. - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
  283. - - R SSC1 RE BIND:(\d+),OK
  284. - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
  285. - - R SSC1 RE BIND:(\d+),OK
  286. - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
  287. - - R SSC1 RE BIND:(\d+),OK
  288. - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
  289. - - R SSC1 RE BIND:(\d+),OK
  290. execution time: 0.0
  291. expected result: |-
  292. 1.ok
  293. 2.ok
  294. 3.ok
  295. 4.ok
  296. 5.ok
  297. initial condition: STAM2
  298. level: Integration
  299. module: TCPIP
  300. steps: |-
  301. 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  302. 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
  303. 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
  304. 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
  305. 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5
  306. sub module: UDP
  307. summary: STA mode, create max udp socket test
  308. test environment: SSC_T1_6
  309. test point 1: basic function
  310. test point 2: use UDP SAP (socket/espconn API) with different parameter
  311. version: v1 (2016-8-15)
  312. - CI ready: 'Yes'
  313. ID: TCPIP_UDP_0107
  314. SDK: |-
  315. 8266_NonOS
  316. 8266_RTOS
  317. ESP32_IDF
  318. Test App: SSC
  319. allow fail: ''
  320. auto test: 'Yes'
  321. category: Function
  322. cmd set:
  323. - ''
  324. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  325. - - R SSC1 A <sock1>:BIND:(\d+),OK
  326. - - SSC SSC1 soc -I
  327. - - P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)
  328. execution time: 0.0
  329. expected result: |-
  330. 1.OK
  331. 2.OK
  332. initial condition: STAM2
  333. level: Integration
  334. module: TCPIP
  335. steps: |-
  336. 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  337. 2.target1上查询创建socket信息
  338. sub module: UDP
  339. summary: STA mode, UDP get active socket info test
  340. test environment: SSC_T1_6
  341. test point 1: basic function
  342. test point 2: use UDP SAP (socket/espconn API) with different parameter
  343. version: v1 (2016-8-15)
  344. - CI ready: 'Yes'
  345. ID: TCPIP_UDP_0108
  346. SDK: |-
  347. 8266_NonOS
  348. 8266_RTOS
  349. ESP32_IDF
  350. Test App: SSC
  351. allow fail: ''
  352. auto test: 'Yes'
  353. category: Function
  354. cmd set:
  355. - ''
  356. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  357. - - R SSC1 RE BIND:(\d+),OK
  358. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
  359. - - R SSC1 RE BIND:(\d+),OK
  360. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  361. - - R SSC1 C BIND:ERROR
  362. - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
  363. - - R SSC1 RE BIND:(\d+),OK
  364. execution time: 0.0
  365. expected result: |-
  366. 1.OK
  367. 2.OK
  368. 3.ERROR
  369. 4.OK
  370. initial condition: APM2
  371. level: Integration
  372. module: TCPIP
  373. steps: |-
  374. 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  375. 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
  376. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  377. 4.target1上创建TCP socket3, target_udp_port1
  378. sub module: UDP
  379. summary: AP mode, udp bind test. use different ip, port
  380. test environment: SSC_T1_8
  381. test point 1: basic function
  382. test point 2: use UDP SAP (socket/espconn API) with different parameter
  383. version: v1 (2016-8-15)
  384. - CI ready: 'Yes'
  385. ID: TCPIP_UDP_0109
  386. SDK: |-
  387. 8266_NonOS
  388. 8266_RTOS
  389. ESP32_IDF
  390. Test App: SSC
  391. allow fail: 1/3
  392. auto test: 'Yes'
  393. category: Function
  394. cmd set:
  395. - ''
  396. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  397. - - R SSC1 C +SAP:OK
  398. - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
  399. <target_encryption>
  400. - - R PC_COM NC ERROR C +WIFICONN:OK
  401. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  402. - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
  403. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  404. - - R SOC_COM L OK
  405. - - SSC SSC2 ip
  406. - - R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n
  407. - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
  408. - - R SSC2 A <sock1>:BIND:(\d+),OK
  409. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  410. - - R SSC1 A <sock2>:BIND:(\d+),OK
  411. - - SSC SSC1 soc -S -s <sock2> -i <pc_ip_wifi> -p <test_udp_port1> -l 5
  412. - - R SOC1 UL 5
  413. - - SSC SSC1 soc -S -s <sock2> -i <ssc2_ip> -p <test_udp_port2> -l 5
  414. - - R SSC2 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock1>,<target_ap_ip>,<test_udp_port1>)
  415. execution time: 0.0
  416. expected result: |-
  417. 1.OK
  418. 2.OK
  419. 3.OK
  420. 4.OK
  421. 5.OK
  422. initial condition: T2O_1
  423. level: Integration
  424. module: TCPIP
  425. steps: |-
  426. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  427. 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  428. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  429. 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
  430. 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据
  431. sub module: UDP
  432. summary: AP mode, sendto test. use different ip, port
  433. test environment: SSC_T2_2
  434. test point 1: basic function
  435. test point 2: use UDP SAP (socket/espconn API) with different parameter
  436. version: v1 (2016-8-15)
  437. - CI ready: 'Yes'
  438. ID: TCPIP_UDP_0110
  439. SDK: |-
  440. 8266_NonOS
  441. 8266_RTOS
  442. Test App: SSC
  443. allow fail: 1/3
  444. auto test: 'Yes'
  445. category: Function
  446. cmd set:
  447. - ''
  448. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  449. - - R SOC_COM L OK
  450. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  451. - - R SSC1 A <sock1>:BIND:(\d+),OK
  452. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
  453. - - P SSC1 RE SEND:(\d+),OK
  454. - P SOC1 UL 1
  455. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
  456. - - P SSC1 RE SEND:(\d+),OK
  457. - P SOC1 UL 1472
  458. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
  459. - - P SSC1 RE SEND:(\d+),OK
  460. - P SOC_COM NC SOC_RECVFROM
  461. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472 -n 10
  462. -j 20
  463. - - P SSC1 RE SEND:(\d+),OK
  464. - P SOC1 UL 14720
  465. execution time: 0.0
  466. expected result: |-
  467. 1.OK
  468. 2.OK
  469. 3.OK
  470. 4.OK
  471. 5.OK,没收到UDP包
  472. 6.OK
  473. initial condition: APM2
  474. level: Integration
  475. module: TCPIP
  476. steps: |-
  477. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  478. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  479. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
  480. 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
  481. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
  482. 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据
  483. sub module: UDP
  484. summary: AP mode, sendto test with different length
  485. test environment: SSC_T1_7
  486. test point 1: basic function
  487. test point 2: use UDP SAP (socket/espconn API) with different parameter
  488. version: v1 (2016-8-15)
  489. - CI ready: 'Yes'
  490. ID: TCPIP_UDP_0110
  491. SDK: ESP32_IDF
  492. Test App: SSC
  493. allow fail: 1/3
  494. auto test: 'Yes'
  495. category: Function
  496. cmd set:
  497. - ''
  498. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  499. - - R SOC_COM L OK
  500. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  501. - - R SSC1 A <sock1>:BIND:(\d+),OK
  502. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
  503. - - P SSC1 RE SEND:(\d+),OK
  504. - P SOC1 UL 1
  505. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
  506. - - P SSC1 RE SEND:(\d+),OK
  507. - P SOC1 UL 1472
  508. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
  509. - - P SSC1 RE SEND:(\d+),OK
  510. - P SOC_COM C SOC_RECVFROM
  511. execution time: 0.0
  512. expected result: |-
  513. 1.OK
  514. 2.OK
  515. 3.OK
  516. 4.OK
  517. 5.OK
  518. initial condition: APM2
  519. level: Integration
  520. module: TCPIP
  521. steps: |-
  522. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  523. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  524. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
  525. 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
  526. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
  527. sub module: UDP
  528. summary: AP mode, sendto test with different length
  529. test environment: SSC_T1_7
  530. test point 1: basic function
  531. test point 2: use UDP SAP (socket/espconn API) with different parameter
  532. version: v1 (2016-8-15)
  533. - CI ready: 'Yes'
  534. ID: TCPIP_UDP_0111
  535. SDK: |-
  536. 8266_NonOS
  537. 8266_RTOS
  538. ESP32_IDF
  539. Test App: SSC
  540. allow fail: 1/3
  541. auto test: 'Yes'
  542. category: Function
  543. cmd set:
  544. - ''
  545. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  546. - - R SSC1 C +SAP:OK
  547. - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
  548. <target_encryption>
  549. - - R PC_COM NC ERROR C +WIFICONN:OK
  550. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  551. - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
  552. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  553. - - R SOC_COM L OK
  554. - - SSC SSC2 ip
  555. - - R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n
  556. - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
  557. - - R SSC2 A <sock1>:BIND:(\d+),OK
  558. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  559. - - R SSC1 A <sock2>:BIND:(\d+),OK
  560. - - SOC SOC1 SENDTO 5 <test_udp_port1> <target_ap_ip>
  561. - - R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<pc_ip_wifi>,<test_udp_port1>)
  562. - - SSC SSC2 soc -S -s <sock1> -i <target_ap_ip> -p <test_udp_port1> -l 5
  563. - - R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<ssc2_ip>,<test_udp_port2>)
  564. execution time: 0.0
  565. expected result: |-
  566. 1.OK
  567. 2.OK
  568. 3.OK
  569. 4.OK
  570. 5.OK,没收到UDP包
  571. 6.OK
  572. 7.OK
  573. initial condition: T2O_1
  574. level: Integration
  575. module: TCPIP
  576. steps: |-
  577. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  578. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  579. 3.PC往8266上发送1字节数据
  580. 4.PC往8266上发送1472字节数据
  581. 5.PC往8266上发送1473字节数据
  582. 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  583. 7.PC往8266上发送1472字节数据
  584. sub module: UDP
  585. summary: AP mode, recvfrom basic test
  586. test environment: SSC_T2_2
  587. test point 1: basic function
  588. test point 2: use UDP SAP (socket/espconn API) with different parameter
  589. version: v1 (2016-8-15)
  590. - CI ready: 'Yes'
  591. ID: TCPIP_UDP_0112
  592. SDK: |-
  593. 8266_NonOS
  594. 8266_RTOS
  595. ESP32_IDF
  596. Test App: SSC
  597. allow fail: ''
  598. auto test: 'Yes'
  599. category: Function
  600. cmd set:
  601. - ''
  602. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  603. - - R SSC1 A <sock1>:BIND:(\d+),OK
  604. - - SSC SSC1 soc -T -s <sock1>
  605. - - R SSC1 RE CLOSE:\d+
  606. execution time: 0.0
  607. expected result: |-
  608. 1.OK
  609. 2.OK
  610. initial condition: APM2
  611. level: Integration
  612. module: TCPIP
  613. steps: |-
  614. 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  615. 2.关闭socket1
  616. sub module: UDP
  617. summary: AP mode, close UDP sockets test
  618. test environment: SSC_T1_8
  619. test point 1: basic function
  620. test point 2: use UDP SAP (socket/espconn API) with different parameter
  621. version: v1 (2016-8-15)
  622. - CI ready: 'Yes'
  623. ID: TCPIP_UDP_0113
  624. SDK: |-
  625. 8266_NonOS
  626. 8266_RTOS
  627. ESP32_IDF
  628. Test App: SSC
  629. allow fail: ''
  630. auto test: 'Yes'
  631. category: Function
  632. cmd set:
  633. - ''
  634. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  635. - - R SSC1 RE BIND:(\d+),OK
  636. - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
  637. - - R SSC1 RE BIND:(\d+),OK
  638. - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
  639. - - R SSC1 RE BIND:(\d+),OK
  640. - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
  641. - - R SSC1 RE BIND:(\d+),OK
  642. - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
  643. - - R SSC1 RE BIND:(\d+),OK
  644. execution time: 0.0
  645. expected result: |-
  646. 1.ok
  647. 2.ok
  648. 3.ok
  649. 4.ok
  650. 5.ok
  651. initial condition: APM2
  652. level: Integration
  653. module: TCPIP
  654. steps: |-
  655. 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  656. 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
  657. 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
  658. 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
  659. 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5
  660. sub module: UDP
  661. summary: AP mode, create max udp socket test
  662. test environment: SSC_T1_8
  663. test point 1: basic function
  664. test point 2: use UDP SAP (socket/espconn API) with different parameter
  665. version: v1 (2016-8-15)
  666. - CI ready: 'Yes'
  667. ID: TCPIP_UDP_0114
  668. SDK: |-
  669. 8266_NonOS
  670. 8266_RTOS
  671. ESP32_IDF
  672. Test App: SSC
  673. allow fail: ''
  674. auto test: 'Yes'
  675. category: Function
  676. cmd set:
  677. - ''
  678. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  679. - - R SSC1 A <sock1>:BIND:(\d+),OK
  680. - - SSC SSC1 soc -I
  681. - - P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)
  682. execution time: 0.0
  683. expected result: |-
  684. 1.OK
  685. 2.OK
  686. initial condition: APM2
  687. level: Integration
  688. module: TCPIP
  689. steps: |-
  690. 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  691. 2.target1上查询创建socket信息
  692. sub module: UDP
  693. summary: AP mode, UDP get active socket info test
  694. test environment: SSC_T1_8
  695. test point 1: basic function
  696. test point 2: use UDP SAP (socket/espconn API) with different parameter
  697. version: v1 (2016-8-15)
  698. - CI ready: 'Yes'
  699. ID: TCPIP_UDP_0201
  700. SDK: |-
  701. 8266_NonOS
  702. 8266_RTOS
  703. ESP32_IDF
  704. Test App: SSC
  705. allow fail: ''
  706. auto test: 'Yes'
  707. category: Function
  708. cmd set:
  709. - ''
  710. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  711. - - R SOC_COM L OK
  712. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1> -w 0
  713. - - R SSC1 A <sock1>:BIND:(\d+),OK
  714. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  715. - - ''
  716. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  717. - - ''
  718. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  719. - - ''
  720. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  721. - - ''
  722. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  723. - - ''
  724. execution time: 0.0
  725. expected result: |-
  726. 1.OK
  727. 2.OK
  728. 3.OK
  729. 4.PC OK
  730. 5.PC OK
  731. 6.PC OK
  732. 7.PC OK
  733. 8.PC OK SOC_CLOSE=SOC1
  734. initial condition: STAM2
  735. level: Integration
  736. module: TCPIP
  737. steps: |-
  738. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  739. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  740. 3.target1上关闭工作线程
  741. 4.PC往8266上发送1472字节数据
  742. 5.PC往8266上发送1472字节数据
  743. 6.PC往8266上发送1472字节数据
  744. 7.PC往8266上发送1472字节数据
  745. 8.PC往8266上发送1472字节数据
  746. sub module: UDP
  747. summary: STA mode, UDP recv buffer test
  748. test environment: SSC_T1_6
  749. test point 1: abnormal/special use
  750. test point 2: use UDP SAP (socket/espconn API) in different state
  751. version: v2 (2016-10-19)
  752. - CI ready: 'Yes'
  753. ID: TCPIP_UDP_0202
  754. SDK: |-
  755. 8266_NonOS
  756. 8266_RTOS
  757. ESP32_IDF
  758. Test App: SSC
  759. allow fail: ''
  760. auto test: 'Yes'
  761. category: Function
  762. cmd set:
  763. - ''
  764. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  765. - - R SOC_COM L OK
  766. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  767. - - R SSC1 A <sock1>:BIND:(\d+),OK
  768. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  769. - - ''
  770. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  771. - - ''
  772. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  773. - - ''
  774. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  775. - - ''
  776. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  777. - - ''
  778. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  779. - - ''
  780. execution time: 0.0
  781. expected result: |-
  782. 1.OK
  783. 2.OK
  784. 3.OK
  785. 4.PC OK
  786. 5.PC OK
  787. 6.PC OK
  788. 7.PC OK
  789. 8.PC OK SOC_CLOSE=SOC1
  790. initial condition: APM2
  791. level: Integration
  792. module: TCPIP
  793. steps: |-
  794. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  795. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  796. 3.target1上关闭工作线程
  797. 4.PC往8266上发送1472字节数据
  798. 5.PC往8266上发送1472字节数据
  799. 6.PC往8266上发送1472字节数据
  800. 7.PC往8266上发送1472字节数据
  801. 8.PC往8266上发送1472字节数据
  802. sub module: UDP
  803. summary: AP mode, UDP recv buffer test
  804. test environment: SSC_T1_7
  805. test point 1: abnormal/special use
  806. test point 2: use UDP SAP (socket/espconn API) in different state
  807. version: v2 (2016-10-19)
  808. - CI ready: 'Yes'
  809. ID: TCPIP_UDP_0301
  810. SDK: |-
  811. 8266_NonOS
  812. 8266_RTOS
  813. ESP32_IDF
  814. Test App: SSC
  815. allow fail: 1/3
  816. auto test: 'Yes'
  817. category: Function
  818. cmd set:
  819. - ''
  820. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  821. - - R SOC_COM L OK
  822. - - SSC SSC1 soc -B -t UDP -i <target_ip> -p <test_udp_port1>
  823. - - R SSC1 A <sock1>:BIND:(\d+),OK
  824. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  825. - - P SSC1 RE SEND:(\d+),OK
  826. - P SOC1 UL 5
  827. - - SSC SSC1 sta -D
  828. - - P SSC1 C +QAP:OK
  829. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  830. - - P SSC1 RE SEND:\d+,ERROR
  831. execution time: 0.0
  832. expected result: |-
  833. 1.OK
  834. 2.OK
  835. 3.OK
  836. 4.OK
  837. 5.ERROR
  838. initial condition: STAM2
  839. level: Integration
  840. module: TCPIP
  841. steps: |-
  842. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  843. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  844. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
  845. 4.断开与AP 连接
  846. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
  847. sub module: UDP
  848. summary: do UDP send after WIFI disconnected
  849. test environment: SSC_T1_6
  850. test point 1: abnormal/special use
  851. test point 2: UDP handling abnormal event
  852. version: v1 (2016-8-15)
  853. - CI ready: 'Yes'
  854. ID: TCPIP_UDP_0302
  855. SDK: |-
  856. 8266_NonOS
  857. 8266_RTOS
  858. ESP32_IDF
  859. Test App: SSC
  860. allow fail: 2/3
  861. auto test: 'Yes'
  862. category: Function
  863. cmd set:
  864. - ''
  865. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  866. - - R SOC_COM L OK
  867. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  868. - - R SSC1 A <sock1>:BIND:(\d+),OK
  869. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  870. - - P SSC1 RE SEND:(\d+),OK
  871. - P SOC1 UL 5
  872. - - SSC SSC1 sta -D
  873. - - P SSC1 C +QAP:OK
  874. - - SSC SSC1 soc -T -s <sock1>
  875. - - R SSC1 RE CLOSE:\d+,OK
  876. execution time: 0.0
  877. expected result: |
  878. 1.OK
  879. 2.OK
  880. 3.OK
  881. 4.OK
  882. 5.OK
  883. initial condition: STAM2
  884. level: Integration
  885. module: TCPIP
  886. steps: |-
  887. 1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  888. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  889. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
  890. 4.断开与AP 连接
  891. 5.关闭建立的socket1连接
  892. sub module: UDP
  893. summary: "close UDP socket after WIFI \ndisconnected"
  894. test environment: SSC_T1_6
  895. test point 1: abnormal/special use
  896. test point 2: UDP handling abnormal event
  897. version: v1 (2016-8-15)
  898. - CI ready: 'Yes'
  899. ID: TCPIP_UDP_0303
  900. SDK: |-
  901. 8266_NonOS
  902. 8266_RTOS
  903. ESP32_IDF
  904. Test App: SSC
  905. allow fail: 1/3
  906. auto test: 'Yes'
  907. category: Function
  908. cmd set:
  909. - ''
  910. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  911. - - R SOC_COM L OK
  912. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  913. - - R SSC1 A <sock1>:BIND:(\d+),OK
  914. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  915. - - P SSC1 RE SEND:(\d+),OK
  916. - P SOC1 UL 5
  917. - - SSC SSC1 op -S -o 2
  918. - - P SSC1 C +MODE:OK
  919. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  920. - - P SSC1 RE SEND:(\d+),OK
  921. execution time: 0.0
  922. expected result: |-
  923. 1.OK
  924. 2.OK
  925. 3.OK
  926. 4.OK
  927. 5.ERROR
  928. initial condition: STAM2
  929. level: Integration
  930. module: TCPIP
  931. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
  932. target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.修改8266的Mode为softAP
  933. mode \n5.8266往PC上发送5字节数据"
  934. sub module: UDP
  935. summary: do UDP send after mode changed
  936. test environment: SSC_T1_6
  937. test point 1: abnormal/special use
  938. test point 2: UDP handling abnormal event
  939. version: v1 (2016-8-15)
  940. - CI ready: 'Yes'
  941. ID: TCPIP_UDP_0304
  942. SDK: |-
  943. 8266_NonOS
  944. 8266_RTOS
  945. ESP32_IDF
  946. Test App: SSC
  947. allow fail: 1/3
  948. auto test: 'Yes'
  949. category: Function
  950. cmd set:
  951. - ''
  952. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  953. - - R SOC_COM L OK
  954. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  955. - - R SSC1 A <sock1>:BIND:(\d+),OK
  956. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  957. - - P SSC1 RE SEND:(\d+),OK
  958. - P SOC1 UL 5
  959. - - SSC SSC1 op -S -o 2
  960. - - P SSC1 C +MODE:OK
  961. - - SSC SSC1 soc -T -s <sock1>
  962. - - R SSC1 RE CLOSE:\d+,OK
  963. execution time: 0.0
  964. expected result: |-
  965. 1.OK
  966. 2.OK
  967. 3.OK
  968. 4.OK
  969. 5.OK
  970. initial condition: STAM2
  971. level: Integration
  972. module: TCPIP
  973. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
  974. target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.修改8266的Mode为softAP
  975. mode \n5.关闭建立的socket1连接"
  976. sub module: UDP
  977. summary: close UDP socket after mode changed
  978. test environment: SSC_T1_6
  979. test point 1: abnormal/special use
  980. test point 2: UDP handling abnormal event
  981. version: v1 (2016-8-15)
  982. - CI ready: 'Yes'
  983. ID: TCPIP_UDP_0305
  984. SDK: |-
  985. 8266_NonOS
  986. 8266_RTOS
  987. ESP32_IDF
  988. Test App: SSC
  989. allow fail: 1/3
  990. auto test: 'Yes'
  991. category: Function
  992. cmd set:
  993. - ''
  994. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  995. - - R SOC_COM L OK
  996. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  997. - - R SSC1 A <sock1>:BIND:(\d+),OK
  998. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  999. - - P SSC1 RE SEND:(\d+),OK
  1000. - P SOC1 UL 5
  1001. - - NIC <pc_nic> DISABLED
  1002. - - R PC_COM C OK
  1003. - - SSC SSC1 soc -T -s <sock1>
  1004. - - R SSC1 RE CLOSE:\d+,OK
  1005. execution time: 0.0
  1006. expected result: |-
  1007. 1.OK
  1008. 2.OK
  1009. 3.OK
  1010. 4.OK
  1011. 5.OK
  1012. initial condition: STAM2
  1013. level: Integration
  1014. module: TCPIP
  1015. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
  1016. target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.PC上网卡禁止掉
  1017. \n5.关闭建立的socket1连接"
  1018. sub module: UDP
  1019. summary: close UDP socket after PC NIC disabled
  1020. test environment: SSC_T1_6
  1021. test point 1: abnormal/special use
  1022. test point 2: UDP handling abnormal event
  1023. version: v1 (2016-8-15)
  1024. - CI ready: 'Yes'
  1025. ID: TCPIP_UDP_0306
  1026. SDK: |-
  1027. 8266_NonOS
  1028. 8266_RTOS
  1029. ESP32_IDF
  1030. Test App: SSC
  1031. allow fail: 1/3
  1032. auto test: 'Yes'
  1033. category: Function
  1034. cmd set:
  1035. - ''
  1036. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  1037. - - R SOC_COM L OK
  1038. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  1039. - - R SSC1 A <sock1>:BIND:(\d+),OK
  1040. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  1041. - - P SSC1 RE SEND:(\d+),OK
  1042. - P SOC1 UL 5
  1043. - - SSC SSC1 dhcp -E -o 1
  1044. - - R SSC1 C +DHCP:STA,OK
  1045. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  1046. - - P SSC1 C +IP:OK
  1047. - - SSC SSC1 ip -Q -o 1
  1048. - - R SSC1 C +STAIP:192.168.111.210
  1049. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
  1050. - - P SSC1 RE SEND:\d+,OK
  1051. execution time: 0.0
  1052. expected result: |-
  1053. 1.OK
  1054. 2.OK
  1055. 3.OK; PC TCP server accept 成功
  1056. 4.OK
  1057. 5.OK
  1058. 6.OK
  1059. 7.OK
  1060. initial condition: STAM2
  1061. level: Integration
  1062. module: TCPIP
  1063. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
  1064. target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.关闭8266的DHCP
  1065. 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.8266往PC上发送5字节数据"
  1066. sub module: UDP
  1067. summary: do UDP send after IP changed
  1068. test environment: SSC_T1_6
  1069. test point 1: abnormal/special use
  1070. test point 2: UDP handling abnormal event
  1071. version: v1 (2016-8-15)
  1072. - CI ready: 'Yes'
  1073. ID: TCPIP_UDP_0307
  1074. SDK: |-
  1075. 8266_NonOS
  1076. 8266_RTOS
  1077. ESP32_IDF
  1078. Test App: SSC
  1079. allow fail: 1/3
  1080. auto test: 'Yes'
  1081. category: Function
  1082. cmd set:
  1083. - ''
  1084. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  1085. - - R SOC_COM L OK
  1086. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  1087. - - R SSC1 A <sock1>:BIND:(\d+),OK
  1088. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  1089. - - P SSC1 RE SEND:(\d+),OK
  1090. - P SOC1 UL 5
  1091. - - SSC SSC1 dhcp -E -o 1
  1092. - - R SSC1 C +DHCP:STA,OK
  1093. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  1094. - - P SSC1 C +IP:OK
  1095. - - SSC SSC1 ip -Q -o 1
  1096. - - R SSC1 C +STAIP:192.168.111.210
  1097. - - SSC SSC1 soc -T -s <sock1>
  1098. - - R SSC1 RE CLOSE:\d+,OK
  1099. execution time: 0.0
  1100. expected result: |-
  1101. 1.OK
  1102. 2.OK
  1103. 3.OK; PC TCP server accept 成功
  1104. 4.OK
  1105. 5.OK
  1106. 6.OK
  1107. 7.OK
  1108. initial condition: STAM2
  1109. level: Integration
  1110. module: TCPIP
  1111. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip
  1112. target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.关闭8266的DHCP
  1113. 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.关闭建立的socket1连接"
  1114. sub module: UDP
  1115. summary: close UDP socket after IP changed
  1116. test environment: SSC_T1_6
  1117. test point 1: abnormal/special use
  1118. test point 2: UDP handling abnormal event
  1119. version: v1 (2016-8-15)
  1120. - CI ready: 'Yes'
  1121. ID: TCPIP_UDP_0401
  1122. SDK: |-
  1123. 8266_RTOS
  1124. ESP32_IDF
  1125. Test App: SSC
  1126. allow fail: ''
  1127. auto test: 'Yes'
  1128. category: Function
  1129. cmd set:
  1130. - ''
  1131. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  1132. - - R SSC1 A <sock1>:BIND:(\d+),OK
  1133. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  1134. - - R SSC1 C +BIND:ERROR
  1135. execution time: 0.0
  1136. expected result: |-
  1137. 1.OK
  1138. 2.ERROR
  1139. initial condition: STAM2
  1140. level: Integration
  1141. module: TCPIP
  1142. steps: |-
  1143. 1.target1上创建UDP socket,bind test_udp_port1
  1144. 2.target1上创建UDP socket,bind test_udp_port1
  1145. sub module: UDP
  1146. summary: Test socket with so_reuseaddr option closed on UDP submodule
  1147. test environment: SSC_T1_6
  1148. test point 1: basic function
  1149. test point 2: socket test with different option
  1150. version: v1 (2016-8-15)
  1151. - CI ready: 'Yes'
  1152. ID: TCPIP_UDP_0402
  1153. SDK: ESP32_IDF
  1154. Test App: SSC_OPTION
  1155. allow fail: ''
  1156. auto test: 'Yes'
  1157. category: Function
  1158. cmd set:
  1159. - ''
  1160. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  1161. - - R SSC1 A <sock1>:BIND:(\d+),OK
  1162. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  1163. - - R SSC1 A <sock2>:BIND:(\d+),OK
  1164. execution time: 0.0
  1165. expected result: |-
  1166. 1.OK
  1167. 2.OK
  1168. initial condition: STAM2
  1169. level: Integration
  1170. module: TCPIP
  1171. steps: |-
  1172. 1.find esp-idf/components/lwip/include/lwip/lwip/opt.h file, make "#define SO_REUSE 1" instead of "#define SO_REUSE 0"
  1173. 2.switch to esp-idf/SSC, run "./gen_misc_ng.sh SSC_OPTION" and "make flash", then run the test case normally
  1174. 3.target1上创建UDP socket,bind test_udp_port1
  1175. 4.target1上创建UDP socket,bind test_udp_port1
  1176. sub module: UDP
  1177. summary: Test socket with so_reuseaddr option opened that build two udp sockets
  1178. by binding same port on ESP32
  1179. test environment: SSC_T1_6
  1180. test point 1: basic function
  1181. test point 2: socket test with different option
  1182. version: v1 (2016-8-15)
  1183. - CI ready: 'No'
  1184. ID: TCPIP_UDP_0403
  1185. SDK: 8266_RTOS
  1186. Test App: SSC
  1187. allow fail: ''
  1188. auto test: 'No'
  1189. category: Function
  1190. cmd set:
  1191. - ''
  1192. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  1193. - - R SSC1 A <sock1>:BIND:(\d+),OK
  1194. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  1195. - - R SSC1 A <sock2>:BIND:(\d+),OK
  1196. execution time: 0.0
  1197. expected result: |-
  1198. 1.OK
  1199. 2.OK
  1200. initial condition: STAM2
  1201. level: Integration
  1202. module: TCPIP
  1203. steps: |-
  1204. 1.find ESP8266_RTOS_SDK/include/lwip/lwip/opt.h file, make "#define SO_REUSE 1" instead of "#define SO_REUSE 0"
  1205. 2.switch to ESP8266_RTOS_SDK/third_party, run "./make_lib.sh lwip" risc,then continuely run "ll ../lib"
  1206. 3.switch to ESP8266_RTOS_SDK/SSC, run "./gen_misc_rtos.sh SSC", then run the test case normally
  1207. 4.target1上创建UDP socket,bind test_udp_port1
  1208. 5.target1上创建UDP socket,bind test_udp_port1
  1209. sub module: UDP
  1210. summary: Test socket with so_reuseaddr option opened that build two udp sockets
  1211. by binding same port on 8266_RTOS
  1212. test environment: SSC_T1_6
  1213. test point 1: basic function
  1214. test point 2: socket test with different option
  1215. version: v1 (2016-8-15)
  1216. - CI ready: 'Yes'
  1217. ID: TCPIP_UDP_5001
  1218. SDK: |-
  1219. 8266_NonOS
  1220. 8266_RTOS
  1221. ESP32_IDF
  1222. Test App: SSC
  1223. auto test: 'Yes'
  1224. category: Stress
  1225. cmd set:
  1226. - UDPStress/UDPSendRecv
  1227. - - send_len = 1460
  1228. - - dummy
  1229. - - test_time = 300
  1230. - - ''
  1231. - - duplex = True
  1232. - - ''
  1233. - - conn_num = 5
  1234. - - ''
  1235. - - send_delay = 20
  1236. - - ''
  1237. execution time: 12.0
  1238. expected result: |-
  1239. 1. succeed
  1240. 2. succeed
  1241. 3. succeed
  1242. initial condition: T2_1
  1243. level: Integration
  1244. module: TCPIP
  1245. steps: |-
  1246. 1. sta connect to softap
  1247. 2. create multiple udp
  1248. 3. do send/recv on all udp
  1249. sub module: UDP
  1250. summary: UDP send/recv stress test
  1251. test environment: SSC_T2_5
  1252. test point 1: stress
  1253. test point 2: UDP stress test
  1254. version: v2 (2016-11-15)
  1255. - CI ready: 'No'
  1256. ID: TCPIP_UDP_5002
  1257. SDK: |-
  1258. 8266_NonOS
  1259. 8266_RTOS
  1260. ESP32_IDF
  1261. Test App: SSC
  1262. auto test: 'Yes'
  1263. category: Stress
  1264. cmd set:
  1265. - UDPStress/UDPPacketLose
  1266. - - test_time = 5
  1267. - - dummy
  1268. - - send_len = 1460
  1269. - - ''
  1270. - - pc_send = True
  1271. - - ''
  1272. - - target_send = False
  1273. - - ''
  1274. - - delay = 10
  1275. - - ''
  1276. execution time: 1.0
  1277. expected result: |-
  1278. 1. succeed
  1279. 2. succeed
  1280. initial condition: STAM2
  1281. level: Integration
  1282. module: TCPIP
  1283. steps: |-
  1284. 1. scan AP to get AP RSSI
  1285. 2. create UDP and recv data for several seconds
  1286. sub module: UDP
  1287. summary: UDP loss rate on DUT Rx
  1288. test environment: SSC_T1_6
  1289. test point 1: Performance test
  1290. test point 2: UDP stress test
  1291. version: v1 (2016-10-18)
  1292. - CI ready: 'No'
  1293. ID: TCPIP_UDP_5003
  1294. SDK: |-
  1295. 8266_NonOS
  1296. 8266_RTOS
  1297. ESP32_IDF
  1298. Test App: SSC
  1299. auto test: 'Yes'
  1300. category: Stress
  1301. cmd set:
  1302. - UDPStress/UDPPacketLose
  1303. - - test_time = 5
  1304. - - dummy
  1305. - - send_len = 1460
  1306. - - ''
  1307. - - pc_send = False
  1308. - - ''
  1309. - - target_send = True
  1310. - - ''
  1311. - - delay = 10
  1312. - - ''
  1313. execution time: 1.0
  1314. expected result: |-
  1315. 1. succeed
  1316. 2. succeed
  1317. initial condition: STAM2
  1318. level: Integration
  1319. module: TCPIP
  1320. steps: |-
  1321. 1. scan AP to get AP RSSI
  1322. 2. create UDP and recv data for several seconds
  1323. sub module: UDP
  1324. summary: UDP loss rate on DUT Tx
  1325. test environment: SSC_T1_6
  1326. test point 1: Performance test
  1327. test point 2: UDP stress test
  1328. version: v1 (2016-10-18)
  1329. - CI ready: 'No'
  1330. ID: TCPIP_UDP_5004
  1331. SDK: |-
  1332. 8266_NonOS
  1333. 8266_RTOS
  1334. ESP32_IDF
  1335. Test App: SSC
  1336. auto test: 'Yes'
  1337. category: Stress
  1338. cmd set:
  1339. - UDPStress/UDPBroadcast
  1340. - - test_time = 30
  1341. - - dummy
  1342. - - send_len = 20
  1343. - - ''
  1344. - - pc_send = True
  1345. - - ''
  1346. - - target_send = False
  1347. - - ''
  1348. - - delay = 10
  1349. - - ''
  1350. execution time: 1.0
  1351. expected result: |-
  1352. 1. succeed
  1353. 2. succeed
  1354. initial condition: STAM2
  1355. level: Integration
  1356. module: TCPIP
  1357. steps: |-
  1358. 1. scan AP to get AP RSSI
  1359. 2. create UDP and recv data for several seconds
  1360. sub module: UDP
  1361. summary: UDP broadcase loss rate on DUT Rx
  1362. test environment: SSC_T1_6
  1363. test point 1: Performance test
  1364. test point 2: UDP stress test
  1365. version: v1 (2016-10-18)
  1366. - CI ready: 'No'
  1367. ID: TCPIP_UDP_5005
  1368. SDK: |-
  1369. 8266_NonOS
  1370. 8266_RTOS
  1371. ESP32_IDF
  1372. Test App: SSC
  1373. auto test: 'Yes'
  1374. category: Stress
  1375. cmd set:
  1376. - UDPStress/UDPMultiSTASendRecv
  1377. - - send_len = 1460
  1378. - - dummy
  1379. - - test_time = 300
  1380. - - ''
  1381. - - server_echo = True
  1382. - - ''
  1383. - - sta_number = 5
  1384. - - ''
  1385. - - send_delay = 500
  1386. - - ''
  1387. execution time: 5.0
  1388. expected result: |-
  1389. 1. succeed
  1390. 2. succeed
  1391. 3. succeed
  1392. initial condition: None
  1393. level: Integration
  1394. module: TCPIP
  1395. steps: |-
  1396. 1. 5 sta connect to softap
  1397. 2. create udp socket on all sta
  1398. 3. all sta do udp send/recv
  1399. sub module: UDP
  1400. summary: 1 SoftAP 5 STA, create UDP server on one STA, create UDP client on other
  1401. STA, do UDP send/recv
  1402. test environment: SSC_T6_1
  1403. test point 1: stress
  1404. test point 2: UDP stress test
  1405. version: v1 (2016-8-15)
  1406. - CI ready: 'No'
  1407. ID: TCPIP_UDP_5006
  1408. SDK: |-
  1409. 8266_NonOS
  1410. 8266_RTOS
  1411. ESP32_IDF
  1412. Test App: SSC
  1413. auto test: 'Yes'
  1414. category: Stress
  1415. cmd set:
  1416. - UDPStress/UDPSTAMultiSocketSendRecv
  1417. - - send_len = 1460
  1418. - - dummy
  1419. - - test_time = 300
  1420. - - ''
  1421. - - server_echo = True
  1422. - - ''
  1423. - - sta_number = 2
  1424. - - ''
  1425. - - conn_number = 6
  1426. - - ''
  1427. - - send_delay = 500
  1428. - - ''
  1429. execution time: 5.0
  1430. expected result: |-
  1431. 1. succeed
  1432. 2. succeed
  1433. 3. succeed
  1434. initial condition: None
  1435. level: Integration
  1436. module: TCPIP
  1437. steps: |-
  1438. 1. 2 sta connect to softap
  1439. 2. create multi udp socket on all sta
  1440. 3. all sta do udp send/recv
  1441. sub module: UDP
  1442. summary: 1 SoftAP 2 STA, create multi UDP socket on STA, do UDP send/recv
  1443. test environment: SSC_T3_1
  1444. test point 1: stress
  1445. test point 2: UDP stress test
  1446. version: v1 (2016-8-15)
  1447. - CI ready: 'No'
  1448. ID: TCPIP_UDP_5007
  1449. SDK: |-
  1450. 8266_NonOS
  1451. 8266_RTOS
  1452. ESP32_IDF
  1453. Test App: SSC
  1454. auto test: 'Yes'
  1455. category: Stress
  1456. cmd set:
  1457. - UDPStress/SoftAPSTAUDPLose
  1458. - - test_time = 60
  1459. - - dummy
  1460. - - send_len = 1460
  1461. - - ''
  1462. - - softap_send = False
  1463. - - ''
  1464. - - sta_send = True
  1465. - - ''
  1466. - - delay = 10
  1467. - - ''
  1468. execution time: 1.0
  1469. expected result: |-
  1470. 1. succeed
  1471. 2. succeed
  1472. 3. succeed
  1473. initial condition: T2_1
  1474. level: Integration
  1475. module: TCPIP
  1476. steps: |-
  1477. 1.sta connect to softAP
  1478. 2.sta softAP bind UPD socket
  1479. 3.sta send UDP to softAP, softAP calculate the packet lose
  1480. sub module: UDP
  1481. summary: STA connect to softAP, STA send UDP to softAP, calculate the UDP lose on
  1482. softAP
  1483. test environment: SSC_T2_5
  1484. test point 1: Performance test
  1485. test point 2: UDP stress test
  1486. version: v1 (2016-10-18)
  1487. - CI ready: 'No'
  1488. ID: TCPIP_UDP_5008
  1489. SDK: |-
  1490. 8266_NonOS
  1491. 8266_RTOS
  1492. ESP32_IDF
  1493. Test App: SSC
  1494. auto test: 'Yes'
  1495. category: Stress
  1496. cmd set:
  1497. - UDPStress/SoftAPSTAUDPLose
  1498. - - test_time = 60
  1499. - - dummy
  1500. - - send_len = 1460
  1501. - - ''
  1502. - - softap_send = True
  1503. - - ''
  1504. - - sta_send = False
  1505. - - ''
  1506. - - delay = 10
  1507. - - ''
  1508. execution time: 1.0
  1509. expected result: |-
  1510. 1. succeed
  1511. 2. succeed
  1512. 3. succeed
  1513. initial condition: T2_1
  1514. level: Integration
  1515. module: TCPIP
  1516. steps: |-
  1517. 1.sta connect to softAP
  1518. 2.sta softAP bind UPD socket
  1519. 3.softAP send UDP to STA, STA calculate the packet lose
  1520. sub module: UDP
  1521. summary: STA connect to softAP, softAP send UDP to STA, calculate the UDP lose on
  1522. STA
  1523. test environment: SSC_T2_5
  1524. test point 1: Performance test
  1525. test point 2: UDP stress test
  1526. version: v1 (2016-10-18)
  1527. - CI ready: 'No'
  1528. ID: TCPIP_UDP_5101
  1529. SDK: |-
  1530. 8266_NonOS
  1531. 8266_RTOS
  1532. ESP32_IDF
  1533. Test App: SSC
  1534. auto test: 'Yes'
  1535. category: Performance
  1536. cmd set:
  1537. - UDPStress/UDPThroughput
  1538. - - send_len = 1460
  1539. - - dummy
  1540. - - tx_enable = True
  1541. - - ''
  1542. - - rx_enable = False
  1543. - - ''
  1544. - - measure_period = 30
  1545. - - ''
  1546. execution time: 2.0
  1547. expected result: |-
  1548. 1. succeed
  1549. 2. succeed
  1550. 3. succeed
  1551. initial condition: STAM1
  1552. level: Integration
  1553. module: TCPIP
  1554. steps: |-
  1555. 1. config attenuator (0-59)
  1556. 2. scan AP to get AP RSSI
  1557. 3. create UDP and send data for several seconds
  1558. Loop step 1 - 3
  1559. sub module: UDP
  1560. summary: UDP throughput Tx in shield box
  1561. test environment: SSC_T1_ShieldBox
  1562. test point 1: performance
  1563. test point 2: UDP throughput
  1564. version: v1 (2016-8-15)
  1565. - CI ready: 'No'
  1566. ID: TCPIP_UDP_5102
  1567. SDK: |-
  1568. 8266_NonOS
  1569. 8266_RTOS
  1570. ESP32_IDF
  1571. Test App: SSC
  1572. auto test: 'Yes'
  1573. category: Performance
  1574. cmd set:
  1575. - UDPStress/UDPThroughput
  1576. - - send_len = 1460
  1577. - - dummy
  1578. - - tx_enable = False
  1579. - - ''
  1580. - - rx_enable = True
  1581. - - ''
  1582. - - measure_period = 30
  1583. - - ''
  1584. execution time: 2.0
  1585. expected result: |-
  1586. 1. succeed
  1587. 2. succeed
  1588. 3. succeed
  1589. initial condition: STAM1
  1590. level: Integration
  1591. module: TCPIP
  1592. steps: |-
  1593. 1. config attenuator (0-59)
  1594. 2. scan AP to get AP RSSI
  1595. 3. create UDP and recv data for several seconds
  1596. Loop step 1 - 3
  1597. sub module: UDP
  1598. summary: UDP throughput Rx in shield box
  1599. test environment: SSC_T1_ShieldBox
  1600. test point 1: performance
  1601. test point 2: UDP throughput
  1602. version: v1 (2016-8-15)
  1603. - CI ready: 'No'
  1604. ID: TCPIP_UDP_5201
  1605. SDK: |-
  1606. 8266_NonOS
  1607. 8266_RTOS
  1608. ESP32_IDF
  1609. Test App: SSC
  1610. auto test: 'Yes'
  1611. category: Stress
  1612. cmd set:
  1613. - UDPStress/EthUDPThroughput
  1614. - - send_len = 1460
  1615. - - dummy
  1616. - - tx_enable = True
  1617. - - ''
  1618. - - rx_enable = False
  1619. - - ''
  1620. - - measure_period = 30
  1621. - - ''
  1622. - - test_count = 5
  1623. - - ''
  1624. execution time: 0.5
  1625. expected result: |-
  1626. 1. succeed
  1627. 2. succeed
  1628. initial condition: T1_ETH
  1629. level: Integration
  1630. module: TCPIP
  1631. steps: |-
  1632. 1. DUT open eth and get ip
  1633. 2. DUT band socket and send packet to PC for several secends
  1634. Loop for step 1-2
  1635. sub module: UDP
  1636. summary: UDP throughput Tx for Ethernet
  1637. test environment: ETH_T1_1
  1638. test point 1: stress
  1639. test point 2: UDP stress test
  1640. version: v1 (2016-8-15)
  1641. - CI ready: 'No'
  1642. ID: TCPIP_UDP_5202
  1643. SDK: |-
  1644. 8266_NonOS
  1645. 8266_RTOS
  1646. ESP32_IDF
  1647. Test App: SSC
  1648. auto test: 'Yes'
  1649. category: Stress
  1650. cmd set:
  1651. - UDPStress/EthUDPThroughput
  1652. - - send_len = 1460
  1653. - - dummy
  1654. - - tx_enable = False
  1655. - - ''
  1656. - - rx_enable = True
  1657. - - ''
  1658. - - measure_period = 30
  1659. - - ''
  1660. - - test_count = 5
  1661. - - ''
  1662. execution time: 0.5
  1663. expected result: |-
  1664. 1. succeed
  1665. 2. succeed
  1666. initial condition: T1_ETH
  1667. level: Integration
  1668. module: TCPIP
  1669. steps: |-
  1670. 1. DUT open eth and get ip
  1671. 2. DUT band socket and PC send packet to DUT for several secends
  1672. Loop for step 1-2
  1673. sub module: UDP
  1674. summary: UDP throughput Rx for Ethernet
  1675. test environment: ETH_T1_1
  1676. test point 1: stress
  1677. test point 2: UDP stress test
  1678. version: v1 (2016-8-15)
  1679. - CI ready: 'No'
  1680. ID: TCPIP_UDP_5301
  1681. SDK: |-
  1682. 8266_NonOS
  1683. 8266_RTOS
  1684. ESP32_IDF
  1685. Test App: SSC
  1686. auto test: 'Yes'
  1687. category: Stress
  1688. cmd set:
  1689. - UDPStress/EthUDPPacketLose
  1690. - - test_time = 30
  1691. - - dummy
  1692. - - send_len = 1460
  1693. - - ''
  1694. - - pc_send = True
  1695. - - ''
  1696. - - target_send = False
  1697. - - ''
  1698. - - delay = 10
  1699. - - ''
  1700. execution time: 0.5
  1701. expected result: |-
  1702. 1. succeed
  1703. 2. succeed
  1704. initial condition: T1_ETH
  1705. level: Integration
  1706. module: TCPIP
  1707. steps: |-
  1708. 1. DUT open eth and get ip
  1709. 2. DUT band socket,PC send packet to DUT for several secends
  1710. 3. DUT calculate the packet lose rate
  1711. sub module: UDP
  1712. summary: UDP loss rate on DUT Rx for Eth
  1713. test environment: ETH_T1_1
  1714. test point 1: Performance test
  1715. test point 2: UDP stress test
  1716. version: v1 (2016-10-18)
  1717. - CI ready: 'No'
  1718. ID: TCPIP_UDP_5401
  1719. SDK: |-
  1720. 8266_NonOS
  1721. 8266_RTOS
  1722. ESP32_IDF
  1723. Test App: SSC
  1724. auto test: 'Yes'
  1725. category: Stress
  1726. cmd set:
  1727. - UDPStress/UDPSoftAPSTAThroughput
  1728. - - send_len = 1460
  1729. - - dummy
  1730. - - sta_rx_enable = False
  1731. - - ''
  1732. - - sta_tx_enable = True
  1733. - - ''
  1734. - - measure_period = 15
  1735. - - ''
  1736. execution time: 1.0
  1737. expected result: |-
  1738. 1. succeed
  1739. 2. succeed
  1740. 3. succeed
  1741. 4. succeed
  1742. initial condition: T2_1
  1743. level: Integration
  1744. module: TCPIP
  1745. steps: |-
  1746. 1. STA connect softAP
  1747. 2. bind UDP socket
  1748. 3. send UDP packet
  1749. 4. calculate the troughput
  1750. sub module: UDP
  1751. summary: STA UDP throughput Tx while connected with softAP
  1752. test environment: SSC_T2_ShieldBox2
  1753. test point 1: Performance test
  1754. test point 2: UDP throughput
  1755. version: v1 (2016-10-18)
  1756. - CI ready: 'No'
  1757. ID: TCPIP_UDP_5402
  1758. SDK: |-
  1759. 8266_NonOS
  1760. 8266_RTOS
  1761. ESP32_IDF
  1762. Test App: SSC
  1763. auto test: 'Yes'
  1764. category: Stress
  1765. cmd set:
  1766. - UDPStress/UDPSoftAPSTAThroughput
  1767. - - send_len = 1460
  1768. - - dummy
  1769. - - sta_rx_enable = True
  1770. - - ''
  1771. - - sta_tx_enable = False
  1772. - - ''
  1773. - - measure_period = 15
  1774. - - ''
  1775. execution time: 1.0
  1776. expected result: |-
  1777. 1. succeed
  1778. 2. succeed
  1779. 3. succeed
  1780. 4. succeed
  1781. initial condition: T2_1
  1782. level: Integration
  1783. module: TCPIP
  1784. steps: |-
  1785. 1. STA connect softAP
  1786. 2. bind UDP socket
  1787. 3. send UDP packet
  1788. 4. calculate the troughput
  1789. sub module: UDP
  1790. summary: STA UDP throughput Rx while connected with softAP
  1791. test environment: SSC_T2_ShieldBox2
  1792. test point 1: Performance test
  1793. test point 2: UDP throughput
  1794. version: v1 (2016-10-18)
  1795. - CI ready: 'No'
  1796. ID: TCPIP_UDP_9901
  1797. SDK: |-
  1798. 8266_NonOS
  1799. 8266_RTOS
  1800. ESP32_IDF
  1801. Test App: SSC
  1802. auto test: 'Yes'
  1803. category: IOT
  1804. cmd set:
  1805. - UDPStress/UDPThroughputCompatibility
  1806. - - send_len = 1460
  1807. - - dummy
  1808. - - test_times = 10
  1809. - - ''
  1810. - - tx_enable = True
  1811. - - ''
  1812. - - rx_enable = False
  1813. - - ''
  1814. - - measure_period = 30
  1815. - - ''
  1816. execution time: 2.0
  1817. expected result: |-
  1818. 1. succeed
  1819. 2. succeed
  1820. 3. succeed
  1821. initial condition: STAM1
  1822. level: Integration
  1823. module: TCPIP
  1824. steps: |-
  1825. 1. scan AP to get AP RSSI
  1826. 2. create TCP connection and send data for several seconds
  1827. 3. calculate the throughput
  1828. Loop step 1 - 3
  1829. sub module: UDP
  1830. summary: UDP throughput Tx Compatibility test in shield box
  1831. test environment: SSC_T1_ShieldBox
  1832. test point 1: performance
  1833. test point 2: UDP throughput Compatibility test
  1834. version: v1 (2016-8-15)
  1835. - CI ready: 'No'
  1836. ID: TCPIP_UDP_9902
  1837. SDK: |-
  1838. 8266_NonOS
  1839. 8266_RTOS
  1840. ESP32_IDF
  1841. Test App: SSC
  1842. auto test: 'Yes'
  1843. category: IOT
  1844. cmd set:
  1845. - UDPStress/UDPThroughputCompatibility
  1846. - - send_len = 1460
  1847. - - dummy
  1848. - - test_times = 10
  1849. - - ''
  1850. - - tx_enable = False
  1851. - - ''
  1852. - - rx_enable = True
  1853. - - ''
  1854. - - measure_period = 30
  1855. - - ''
  1856. execution time: 2.0
  1857. expected result: |-
  1858. 1. succeed
  1859. 2. succeed
  1860. 3. succeed
  1861. initial condition: STAM1
  1862. level: Integration
  1863. module: TCPIP
  1864. steps: |-
  1865. 1. scan AP to get AP RSSI
  1866. 2. create TCP connection and send data for several seconds
  1867. 3. calculate the throughput
  1868. Loop step 1 - 3
  1869. sub module: UDP
  1870. summary: UDP throughput Rx Compatibility test in shield box
  1871. test environment: SSC_T1_ShieldBox
  1872. test point 1: performance
  1873. test point 2: UDP throughput Compatibility test
  1874. version: v1 (2016-8-15)