http-request-109 (AB)

Tests p:http-request: Error needs to be raised if value of header content-type is not correct.

Test ab-http-request-109.xml is expected to fail with error code err:XD0079 [Core steps, XProc].

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

The pipeline

<p:declare-step xmlns:err="" xmlns:p="" version="3.0">
   <p:output port="result"/>
   <p:http-request href="http://localhost:8246/service/fixed-xml" headers="map{'content-type' : 'surely-not-correct'}">
MorganaXProc passing XML Calabash passing

Revision history

09 Apr 2020, Achim Berndzen

Changed error code.

02 Feb 2020, Achim Berndzen

Added new tests for p:http-request.