quickjs-tart

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

test37 (520B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 FAILURE
      7 </keywords>
      8 </info>
      9 #
     10 # Server-side
     11 <reply>
     12 <data>
     13 </data>
     14 </reply>
     15 
     16 #
     17 # Client-side
     18 <client>
     19 <server>
     20 http
     21 </server>
     22 <name>
     23 HTTP GET with nothing returned from server
     24 </name>
     25 <command>
     26 http://%HOSTIP:%HTTPPORT/%TESTNUMBER
     27 </command>
     28 </client>
     29 
     30 #
     31 # Verify data after the test has been "shot"
     32 <verify>
     33 <errorcode>
     34 52
     35 </errorcode>
     36 <protocol>
     37 GET /%TESTNUMBER HTTP/1.1
     38 Host: %HOSTIP:%HTTPPORT
     39 User-Agent: curl/%VERSION
     40 Accept: */*
     41 
     42 </protocol>
     43 </verify>
     44 
     45 </testcase>