Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-15664

httpcall_multiheader.ecl and soapcall_multihttpheader.ecl result doesn't match to the expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.0
    • Fix Version/s: 6.2.0
    • Component/s: Regression Test Engine
    • Labels:
      None

      Description

      The output of both test cases contains some extra or changed information which is doesn't exists in the key file e.g.:

      <Header>Accept-Encoding: gzip, deflate</Header>
      

      The command to reproduce the problem is:

      ./ecl-test query httpcall* soap*
      

      and the result is:

      [Action] Suite: hthor
      [Action] Queries: 2
      [Action]   1. Test: httpcall_multiheader.ecl
      [Failure]   1. Fail W20160602-155155 (1 sec)
      [Failure]   1. URL http://127.0.0.1:8010/?Widget=WUDetailsWidget&Wuid=W20160602-155155
      [Failure]   1. Zipped Analysis Package: /home/ati/HPCCSystems-regression/zap/ZAPReport_W20160602-155155_.zip created.
      [Action]   2. Test: soapcall_multihttpheader.ecl
      [Failure]   2. Fail W20160602-155157 (1 sec)
      [Failure]   2. URL http://127.0.0.1:8010/?Widget=WUDetailsWidget&Wuid=W20160602-155157
      [Failure]   2. Zipped Analysis Package: /home/ati/HPCCSystems-regression/zap/ZAPReport_W20160602-155157_.zip created.
      [Action] 
          -------------------------------------------------
          Result:
          Passing: 0
          Failure: 2
          -------------------------------------------------
          Error:
            1. Test: httpcall_multiheader.ecl
          --- httpcall_multiheader.xml
          +++ httpcall_multiheader.xml
          @@ -1,3 +1,3 @@
           <Dataset name='Result 1'>
          - <Row><Method>GET</Method><UrlPath>/WsSmc/HttpEcho</UrlPath><UrlParameters>name=doe,joe&amp;number=1</UrlParameters><Headers><Header>Accept: text/xml</Header><Header>constHeader: constHeaderValue</Header><Header>literalHeader: literalValue</Header><Header>storedHeader: StoredHeaderDefault</Header></Headers><Content></Content></Row>
          + <Row><Method>GET</Method><UrlPath>/WsSmc/HttpEcho</UrlPath><UrlParameters>name=doe,joe&amp;number=1</UrlParameters><Headers><Header>Accept-Encoding: gzip, deflate</Header><Header>Accept: text/xml</Header><Header>constHeader: constHeaderValue</Header><Header>literalHeader: literalValue</Header><Header>storedHeader: StoredHeaderDefault</Header></Headers><Content></Content></Row>
           </Dataset>
          
            2. Test: soapcall_multihttpheader.ecl
          --- soapcall_multihttpheader.xml
          +++ soapcall_multihttpheader.xml
          @@ -1,5 +1,5 @@
           <Dataset name='Result 1'>
          - <Row><Method>POST</Method><UrlPath>/WsSmc/HttpEcho</UrlPath><UrlParameters>name=doe,joe&amp;number=1</UrlParameters><Headers><Header>StoredHeader: StoredHeaderDefault</Header><Header>constHeader: constHeaderValue</Header><Header>literalHeader: literalHeaderValue</Header></Headers><Content>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;&lt;soap:Body&gt;&lt;HttpEcho&gt;&lt;Name&gt;Doe, Joe&lt;/Name&gt;
          + <Row><Method>POST</Method><UrlPath>/WsSmc/HttpEcho</UrlPath><UrlParameters>name=doe,joe&amp;number=1</UrlParameters><Headers><Header>Accept-Encoding: gzip, deflate</Header><Header>StoredHeader: StoredHeaderDefault</Header><Header>constHeader: constHeaderValue</Header><Header>literalHeader: literalHeaderValue</Header></Headers><Content>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;&lt;soap:Body&gt;&lt;HttpEcho&gt;&lt;Name&gt;Doe, Joe&lt;/Name&gt;
           &lt;ADL&gt;999999&lt;/ADL&gt;
           &lt;score&gt;88.88&lt;/score&gt;
           &lt;/HttpEcho&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;</Content></Row>
          
          -------------------------------------------------
          Log: /home/ati/HPCCSystems-regression/log/hthor.16-06-02-15-51-55.log
          -------------------------------------------------
          Elapsed time: 4 sec  (00:00:04) 
          -------------------------------------------------
      

        Attachments

          Activity

            People

            • Assignee:
              wangkx Kevin Wang
              Reporter:
              attilavamos Attila Vamos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: