http-request-073 (AB)

Tests p:http-request: checks auth map.

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

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" auth="map{'username' : 12, 'auth-method' : 'Digest'}">
      <p:with-input>
         <p:inline>
            <doc/>
         </p:inline>
      </p:with-input>
   </p:http-request>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

14 Jan 2020, Achim Berndzen

Added new tests for p:http-request.