http-request-011 (AB)

Tests p:http-request: Tests post for text document.

Test ab-http-request-011.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:with-input><c:body xmlns:c=""/></p:with-input>
         <p:wrap-sequence wrapper="result"/>
MorganaXProc passing XML Calabash passing

Schematron validation

      <s:schema xmlns:s="">
            <s:rule context="/">
               <s:assert test="result">The root element is not 'result'.</s:assert>
               <s:assert test="normalize-space(result/text())='Hello world!'">Text is not "Hello world."</s:assert>

Revision history

12 Jan 2020, Achim Berndzen

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