TC_IT_TCPIP_UDP.yml 56 KB

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