http-request-103 (AB)

Tests multipart request: Two xml documents, content-type: multipart/fixed.

Test ab-http-request-103.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" headers="map{'content-type' : 'multipart/fixed'}">
               <doc1 xmlns=""/>
               <doc2 xmlns=""/>
         <p:wrap-sequence wrapper="response"/>
MorganaXProc passing XML Calabash failing

Schematron validation

      <s:schema xmlns:s="">
            <s:rule context="/">
               <s:assert test="response">The document root is not response.</s:assert>
               <s:assert test="response/doc1">There is no doc1 in response.</s:assert>
               <s:assert test="response/doc2">There is no doc2 in response.</s:assert>

Revision history

18 Jan 2020, Achim Berndzen

Added new tests for p:http-request.