quickjs-tart

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

test504 (594B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 HTTP proxy
      7 multi
      8 FAILURE
      9 connect to non-listen
     10 </keywords>
     11 </info>
     12 
     13 # Server-side
     14 <reply>
     15 </reply>
     16 
     17 # Client-side
     18 <client>
     19 <server>
     20 none
     21 </server>
     22 <features>
     23 http
     24 proxy
     25 </features>
     26 # tool is what to use instead of 'curl'
     27 <tool>
     28 lib%TESTNUMBER
     29 </tool>
     30 
     31 <name>
     32 simple multi through local proxy without listener
     33 </name>
     34 <command>
     35 http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER %HOSTIP:%NOLISTENPORT
     36 </command>
     37 </client>
     38 
     39 # Verify data after the test has been "shot"
     40 # TEST_ERR_SUCCESS is errorcode 41
     41 <verify>
     42 <errorcode>
     43 41
     44 </errorcode>
     45 </verify>
     46 </testcase>