quickjs-tart

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

test3025 (441B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 <data>
     13 ICY 200 OK
     14 Content-Length: 7
     15 
     16 MooMoo
     17 </data>
     18 </reply>
     19 
     20 #
     21 # Client-side
     22 <client>
     23 <server>
     24 http
     25 </server>
     26 <name>
     27 CURLOPT_HTTP200ALIASES
     28 </name>
     29 <tool>
     30 lib%TESTNUMBER
     31 </tool>
     32 <command>
     33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER
     34 </command>
     35 </client>
     36 
     37 #
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 <errorcode>
     41 0
     42 </errorcode>
     43 </verify>
     44 </testcase>