You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Antoine Levy-Lambert <an...@gmx.de> on 2007/03/28 06:08:30 UTC

slide testsuite tp.functional

Hi,
I am trying to get tp.functional (one of the slide testuites)  to run.

Does anyone know what is meant by a secondary collection, also how does
one create that ?

I am trying to get the "multiplestores" tests to run.

They are defined here :
testsuite/testsuite/junit/xmltestcases/functional/multiplestores/code/copy.xml

One of the first tests which fail is this one :

  <executeStep>
    <method>COPY</method>
    <url>/slide/files/level1</url>
    <responseError>
      <receivedValue>Multi-Status   207</receivedValue>
      <expectedValue>Created   [201]</expectedValue>
    </responseError>
    <result>ERROR</result>
    <time>30</time>
  </executeStep>

The test definition looks like that :

 <step>
    <request>
      <command
varUsage="globalVariableCollection,globalVariableServerName">COPY
%globalVariableServerName%/%globalVariableCollection%/level1
HTTP/1.1</command>
      <header
varUsage="globalVariableCollection,globalVariableServerName">Destination:
%globalVariableServerName%/%globalVariableCollection%_2/level1</header>
      <header>Overwrite: F</header>
    </request>
    <response>
      <command>HTTP/1.0 201 Created</command>
    </response>
  </step>

Regards,
Antoine


<abstract> A Copy command is issued to copy between two different
stores. This is iterated 10 times. </abstract>
    <pre-Requisite>A collection has been created and defined in
tprocessor.cmd. A secondary collection
        has been created on the server. This should have the name
%globalVariableCollection%_2</pre-Requisite>
    <description>
   

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org