http-request-084 (AB)

Tests p:http-request: Test correct answer on wrong authentication.

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

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         
         <p:http-request href="http://tests.xproc.org/docs/basic-auth/" auth="map{'username' : 'unknown',                        'password' : 'testpassword',                       'auth-method' : 'Basic'}">
            <p:with-input><p:empty/></p:with-input>
         </p:http-request>
         
      </p:declare-step>
   
MorganaXProc passing XML Calabash passing

Revision history

15 Jan 2020, Achim Berndzen

Added new tests for p:http-request.