http-request-023 (AB)

Tests p:http-request: post with html payload to a responder.

Test ab-http-request-023.xml is expected to pass.

The pipeline

      <p:declare-step xmlns:p="" version="3.0">
         <p:output port="result"/>
         <p:http-request href="" method="post">
               <p:inline content-type="text/html"><p xmlns="">HTML fragment.</p></p:inline>
MorganaXProc passing XML Calabash passing

Schematron validation

      <s:schema xmlns:s="">
         <s:ns prefix="h" uri=""/>
            <s:rule context="/">
               <s:assert test="h:html">The root element is not 'html'.</s:assert>
               <s:assert test="h:html/h:body">There is no body element.</s:assert>
               <s:assert test="h:html/h:body/h:p/text()='HTML fragment.'">There is no para with 'HTML fragment'.</s:assert>

Revision history

12 Jan 2020, Achim Berndzen

Added new tests for p:http-request (Ported from 1.0).