quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test390 (765B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 FTP
      6 parallel
      7 </keywords>
      8 </info>
      9 
     10 #
     11 # Server-side
     12 <reply>
     13 <data nocheck="yes">
     14 HTTP/1.1 200 OK
     15 Content-Length: 10001
     16 Content-Type: text/html
     17 
     18 %repeat[1000 x hellohttp!]%
     19 </data>
     20 
     21 <data2 nocheck="yes">
     22 %repeat[1000 x hello ftp!]%
     23 </data2>
     24 
     25 </reply>
     26 
     27 #
     28 # Client-side
     29 <client>
     30 <file name="%LOGDIR/test%TESTNUMBER.txt">
     31 %repeat[1000 x hellofile!]%
     32 </file>
     33 <server>
     34 http
     35 ftp
     36 </server>
     37 <name>
     38 curl HTTP, FILE and FTP in parallel
     39 </name>
     40 <command option="no-output">
     41 http://%HOSTIP:%HTTPPORT/%TESTNUMBER file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 --parallel -o %LOGDIR/%TESTNUMBER.a -o %LOGDIR/%TESTNUMBER.b -o %LOGDIR/%TESTNUMBER.c
     42 </command>
     43 </client>
     44 
     45 #
     46 <verify>
     47 </verify>
     48 </testcase>