quickjs-tart

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

test696 (928B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 </keywords>
      7 </info>
      8 
      9 <reply>
     10 <data nocheck="yes">
     11 HTTP/1.1 200 OK swsclose
     12 Server: test-server/fake
     13 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
     14 Content-Length: 6
     15 Connection: close
     16 
     17 -foo-
     18 </data>
     19 </reply>
     20 
     21 #
     22 # Client-side
     23 <client>
     24 <server>
     25 http
     26 </server>
     27 <tool>
     28 lib556
     29 </tool>
     30 <name>
     31 CONNECT_ONLY and doing a second curl_easy_perform
     32 </name>
     33 <command>
     34 http://%HOSTIP:%HTTPPORT
     35 </command>
     36 </client>
     37 
     38 #
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <stdout>
     42 HTTP/1.1 200 OK swsclose
     43 Server: test-server/fake
     44 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
     45 Content-Length: 6
     46 Connection: close
     47 
     48 -foo-
     49 HTTP/1.1 200 OK swsclose
     50 Server: test-server/fake
     51 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
     52 Content-Length: 6
     53 Connection: close
     54 
     55 -foo-
     56 </stdout>
     57 <protocol>
     58 GET /556 HTTP/1.1
     59 Host: ninja
     60 
     61 GET /556 HTTP/1.1
     62 Host: ninja
     63 
     64 </protocol>
     65 
     66 <errorcode>
     67 0
     68 </errorcode>
     69 </verify>
     70 </testcase>