http-request-112 (AB)

Tests p:http-request: Error needs to be raised more than one doc appears and content-type is not multipart.

Test ab-http-request-112.xml is expected to fail with error code err:XC0133.

It requires the following features: p:http-request.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:http-request href="http://localhost:8246/service/echo" method="post" headers="map{'content-type' : 'application/xml'}">
      <p:with-input>
         <doc1/>
         <doc2/>
      </p:with-input>
   </p:http-request>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

02 Feb 2020, Achim Berndzen

Added new tests for p:http-request.