[CalendarServer-changes] [884] CalDAVTester/trunk/performance
source_changes at macosforge.org
source_changes at macosforge.org
Thu Dec 21 19:36:38 PST 2006
Revision: 884
http://trac.macosforge.org/projects/calendarserver/changeset/884
Author: cdaboo at apple.com
Date: 2006-12-21 19:36:38 -0800 (Thu, 21 Dec 2006)
Log Message:
-----------
A bunch of performance scripts for doing multiple runs to generate comparison results.
Modified Paths:
--------------
CalDAVTester/trunk/performance/freebusy.xml
Added Paths:
-----------
CalDAVTester/trunk/performance/get/
CalDAVTester/trunk/performance/get/get-end.xml
CalDAVTester/trunk/performance/get/get-large.xml
CalDAVTester/trunk/performance/get/get-medium.xml
CalDAVTester/trunk/performance/get/get-small.xml
CalDAVTester/trunk/performance/get/get-start.xml
CalDAVTester/trunk/performance/get/get-tests.xml
CalDAVTester/trunk/performance/propfind/
CalDAVTester/trunk/performance/propfind/propfind-0.xml
CalDAVTester/trunk/performance/propfind/propfind-large.xml
CalDAVTester/trunk/performance/propfind/propfind-small.xml
CalDAVTester/trunk/performance/propfind/propfind-tests.xml
CalDAVTester/trunk/performance/propfind/propfind.xml
CalDAVTester/trunk/performance/propfind/propfindstats.xml
CalDAVTester/trunk/performance/put/
CalDAVTester/trunk/performance/put/put-end.xml
CalDAVTester/trunk/performance/put/put-large.xml
CalDAVTester/trunk/performance/put/put-small.xml
CalDAVTester/trunk/performance/put/put-tests.xml
CalDAVTester/trunk/performance/query-tests.xml
CalDAVTester/trunk/performance/schedule-freebusy/
CalDAVTester/trunk/performance/schedule-freebusy/schedule-small.xml
CalDAVTester/trunk/performance/schedule-freebusy/schedule-tests.xml
CalDAVTester/trunk/performance/schedule-invite/
CalDAVTester/trunk/performance/schedule-invite/schedule-small.xml
CalDAVTester/trunk/performance/schedule-invite/schedule-tests.xml
CalDAVTester/trunk/performance/server/
Removed Paths:
-------------
CalDAVTester/trunk/performance/propfind.xml
Modified: CalDAVTester/trunk/performance/freebusy.xml
===================================================================
--- CalDAVTester/trunk/performance/freebusy.xml 2006-12-22 03:34:35 UTC (rev 883)
+++ CalDAVTester/trunk/performance/freebusy.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -24,7 +24,7 @@
<start/>
<test-suite name='free-busy with few results' ignore='no'>
- <test name='1' details='yes' count='1' stats='yes' ignore='no'>
+ <test name='1' details='yes' count='10' stats='yes' ignore='no'>
<description>free-busy REPORT on calendar with 10 items</description>
<request>
<method>REPORT</method>
@@ -42,7 +42,7 @@
</verify>
</request>
</test>
- <test name='2' details='yes' count='1' stats='yes' ignore='no'>
+ <test name='2' details='yes' count='10' stats='yes' ignore='no'>
<description>free-busy REPORT on calendar with 100 items</description>
<request>
<method>REPORT</method>
@@ -60,7 +60,7 @@
</verify>
</request>
</test>
- <test name='3' details='yes' count='1' stats='yes' ignore='no'>
+ <test name='3' details='yes' count='10' stats='yes' ignore='no'>
<description>free-busy REPORT on calendar with 1000 items</description>
<request print-response='no'>
<method>REPORT</method>
Added: CalDAVTester/trunk/performance/get/get-end.xml
===================================================================
--- CalDAVTester/trunk/performance/get/get-end.xml (rev 0)
+++ CalDAVTester/trunk/performance/get/get-end.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Performance check GET</description>
+
+ <start>
+ <request>
+ <method>DELETE</method>
+ <ruri>1.ics</ruri>
+ </request>
+ <request>
+ <method>DELETE</method>
+ <ruri>2.ics</ruri>
+ </request>
+ <request>
+ <method>DELETE</method>
+ <ruri>3.ics</ruri>
+ </request>
+ </start>
+
+ <test-suite/>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/get/get-large.xml
===================================================================
--- CalDAVTester/trunk/performance/get/get-large.xml (rev 0)
+++ CalDAVTester/trunk/performance/get/get-large.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Performance check GET</description>
+
+ <start/>
+
+ <test-suite name='Plain GET - calendar collection' ignore='no'>
+ <test name='1' count='1' stats='yes'>
+ <description>GET on calendar collection</description>
+ <request>
+ <method>GET</method>
+ <ruri>3.ics</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/get/get-medium.xml
===================================================================
--- CalDAVTester/trunk/performance/get/get-medium.xml (rev 0)
+++ CalDAVTester/trunk/performance/get/get-medium.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Performance check GET</description>
+
+ <start/>
+
+ <test-suite name='Plain GET - calendar collection' ignore='no'>
+ <test name='1' count='1' stats='yes'>
+ <description>GET on calendar collection</description>
+ <request>
+ <method>GET</method>
+ <ruri>2.ics</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/get/get-small.xml
===================================================================
--- CalDAVTester/trunk/performance/get/get-small.xml (rev 0)
+++ CalDAVTester/trunk/performance/get/get-small.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Performance check GET</description>
+
+ <start/>
+
+ <test-suite name='Plain GET - calendar collection' ignore='no'>
+ <test name='1' count='1' stats='yes'>
+ <description>GET on calendar collection</description>
+ <request>
+ <method>GET</method>
+ <ruri>1.ics</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/get/get-start.xml
===================================================================
--- CalDAVTester/trunk/performance/get/get-start.xml (rev 0)
+++ CalDAVTester/trunk/performance/get/get-start.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Performance check GET</description>
+
+ <start>
+ <request end-delete='no'>
+ <method>PUT</method>
+ <ruri>1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/1.ics</filepath>
+ </data>
+ </request>
+ <request end-delete='no'>
+ <method>PUT</method>
+ <ruri>2.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/2.ics</filepath>
+ </data>
+ </request>
+ <request end-delete='no'>
+ <method>PUT</method>
+ <ruri>3.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/3.ics</filepath>
+ </data>
+ </request>
+ </start>
+
+ <test-suite/>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/get/get-tests.xml
===================================================================
--- CalDAVTester/trunk/performance/get/get-tests.xml (rev 0)
+++ CalDAVTester/trunk/performance/get/get-tests.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Performance check GET</description>
+
+ <start>
+ <request>
+ <method>PUT</method>
+ <ruri>1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/1.ics</filepath>
+ </data>
+ </request>
+ <request>
+ <method>PUT</method>
+ <ruri>2.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/2.ics</filepath>
+ </data>
+ </request>
+ <request>
+ <method>PUT</method>
+ <ruri>3.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/3.ics</filepath>
+ </data>
+ </request>
+ </start>
+
+ <test-suite name='Plain GET - calendar collection' ignore='no'>
+ <test name='1' count='100' stats='yes'>
+ <description>GET on calendar collection</description>
+ <request>
+ <method>GET</method>
+ <ruri>1.ics</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' count='100' stats='yes'>
+ <description>GET on calendar collection</description>
+ <request>
+ <method>GET</method>
+ <ruri>2.ics</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' count='100' stats='yes'>
+ <description>GET on calendar collection</description>
+ <request>
+ <method>GET</method>
+ <ruri>3.ics</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/propfind/propfind-0.xml
===================================================================
--- CalDAVTester/trunk/performance/propfind/propfind-0.xml (rev 0)
+++ CalDAVTester/trunk/performance/propfind/propfind-0.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start/>
+
+ <test-suite name='regular prop finds' ignore='no'>
+ <test name='1' count='1' stats='yes' ignore='no'>
+ <description>PROPFIND of basic properties on calendar with 1000 items - Depth:0</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>0</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/propfind/propfind-large.xml
===================================================================
--- CalDAVTester/trunk/performance/propfind/propfind-large.xml (rev 0)
+++ CalDAVTester/trunk/performance/propfind/propfind-large.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start/>
+
+ <test-suite name='regular prop finds' ignore='no'>
+ <test name='1' count='1' stats='yes' ignore='no'>
+ <description>PROPFIND of basic properties on calendar with 1000 items</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/propfind/propfind-small.xml
===================================================================
--- CalDAVTester/trunk/performance/propfind/propfind-small.xml (rev 0)
+++ CalDAVTester/trunk/performance/propfind/propfind-small.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start/>
+
+ <test-suite name='regular prop finds' ignore='no'>
+ <test name='1' count='1' stats='yes' ignore='no'>
+ <description>PROPFIND of basic properties on calendar with 10 items</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/propfind/propfind-tests.xml
===================================================================
--- CalDAVTester/trunk/performance/propfind/propfind-tests.xml (rev 0)
+++ CalDAVTester/trunk/performance/propfind/propfind-tests.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start/>
+
+ <test-suite name='regular prop finds' ignore='no'>
+ <test name='1' count='10' stats='yes' ignore='no'>
+ <description>PROPFIND of basic properties on calendar with 10 items</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' count='10' stats='yes' ignore='no'>
+ <description>PROPFIND of basic properties on calendar with 100 items</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.100/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' count='10' stats='yes' ignore='no'>
+ <description>PROPFIND of basic properties on calendar with 1000 items</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Copied: CalDAVTester/trunk/performance/propfind/propfind.xml (from rev 507, CalDAVTester/trunk/performance/propfind.xml)
===================================================================
--- CalDAVTester/trunk/performance/propfind/propfind.xml (rev 0)
+++ CalDAVTester/trunk/performance/propfind/propfind.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start/>
+
+ <test-suite name='regular prop finds' ignore='no'>
+ <test name='1' details='yes' count='1' stats='yes' ignore='no'>
+ <description>PROPFIND of basic properties on calendar with 10 items</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' details='yes' count='1' stats='yes' ignore='no'>
+ <description>PROPFIND of basic properties on calendar with 100 items</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.100/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' details='yes' count='1' stats='yes' ignore='no'>
+ <description>PROPFIND of basic properties on calendar with 1000 items</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/propfind/propfindstats.xml
===================================================================
--- CalDAVTester/trunk/performance/propfind/propfindstats.xml (rev 0)
+++ CalDAVTester/trunk/performance/propfind/propfindstats.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,85 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start/>
+
+ <test-suite name='regular prop finds'>
+ <test name='1' stats='yes'>
+ <description>PROPFIND of basic properties depth=0</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>0</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' stats='yes'>
+ <description>PROPFIND of basic properties depth=1</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' stats='yes'>
+ <description>PROPFIND of basic properties depth=infinity</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>infinity</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/propfinds/1.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Deleted: CalDAVTester/trunk/performance/propfind.xml
===================================================================
--- CalDAVTester/trunk/performance/propfind.xml 2006-12-22 03:34:35 UTC (rev 883)
+++ CalDAVTester/trunk/performance/propfind.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -1,85 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
-
-<!--
- Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
- DRI: Cyrus Daboo, cdaboo at apple.com
- -->
-
-<caldavtest>
- <start/>
-
- <test-suite name='regular prop finds' ignore='no'>
- <test name='1' details='yes' count='1' stats='yes' ignore='no'>
- <description>PROPFIND of basic properties on calendar with 10 items</description>
- <request>
- <method>PROPFIND</method>
- <header>
- <name>Depth</name>
- <value>1</value>
- </header>
- <ruri>$pathprefix:/calendar.10/</ruri>
- <data>
- <content-type>text/xml; charset=utf-8</content-type>
- <filepath>Resource/propfinds/1.txt</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
- </test>
- <test name='2' details='yes' count='1' stats='yes' ignore='no'>
- <description>PROPFIND of basic properties on calendar with 100 items</description>
- <request>
- <method>PROPFIND</method>
- <header>
- <name>Depth</name>
- <value>1</value>
- </header>
- <ruri>$pathprefix:/calendar.100/</ruri>
- <data>
- <content-type>text/xml; charset=utf-8</content-type>
- <filepath>Resource/propfinds/1.txt</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
- </test>
- <test name='3' details='yes' count='1' stats='yes' ignore='no'>
- <description>PROPFIND of basic properties on calendar with 1000 items</description>
- <request>
- <method>PROPFIND</method>
- <header>
- <name>Depth</name>
- <value>1</value>
- </header>
- <ruri>$pathprefix:/calendar.1000/</ruri>
- <data>
- <content-type>text/xml; charset=utf-8</content-type>
- <filepath>Resource/propfinds/1.txt</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
- </test>
- </test-suite>
-
- <end/>
-
-</caldavtest>
Added: CalDAVTester/trunk/performance/put/put-end.xml
===================================================================
--- CalDAVTester/trunk/performance/put/put-end.xml (rev 0)
+++ CalDAVTester/trunk/performance/put/put-end.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Performance check GET</description>
+
+ <start>
+ <request>
+ <method>DELETE</method>
+ <ruri>3.ics</ruri>
+ </request>
+ </start>
+
+ <test-suite/>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/put/put-large.xml
===================================================================
--- CalDAVTester/trunk/performance/put/put-large.xml (rev 0)
+++ CalDAVTester/trunk/performance/put/put-large.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Test PUT method in CalDAV with various recurrences to ensure
+ proper behaviour of server indexing</description>
+
+ <start/>
+
+ <test-suite name='Plain PUT - no recurrence' ignore='no'>
+ <test name='1' count='1' stats='yes'>
+ <description>PUT to calendar collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>3.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/3.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>2xx</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/put/put-small.xml
===================================================================
--- CalDAVTester/trunk/performance/put/put-small.xml (rev 0)
+++ CalDAVTester/trunk/performance/put/put-small.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Test PUT method in CalDAV with various recurrences to ensure
+ proper behaviour of server indexing</description>
+
+ <start/>
+
+ <test-suite name='Plain PUT - no recurrence' ignore='no'>
+ <test name='1' count='10' stats='yes'>
+ <description>PUT to calendar collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>2xx</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/put/put-tests.xml
===================================================================
--- CalDAVTester/trunk/performance/put/put-tests.xml (rev 0)
+++ CalDAVTester/trunk/performance/put/put-tests.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,144 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest ignore-all='yes'>
+ <description>Performance check PUT</description>
+
+ <start/>
+
+ <test-suite name='Plain PUT - regular collection' ignore='no'>
+ <test name='1' count='10' stats='yes'>
+ <description>PUT to collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>$pathprefix:/1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>2xx</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2' count='10' stats='yes'>
+ <description>PUT to collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>$pathprefix:/2.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/2.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>2xx</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3' count='10' stats='yes'>
+ <description>PUT to collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>$pathprefix:/3.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/3.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>2xx</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='Plain PUT - calendar collection' ignore='no'>
+ <test name='4' count='10' stats='yes'>
+ <description>PUT to calendar collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>2xx</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='5' count='10' stats='yes'>
+ <description>PUT to calendar collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>2.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/2.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>2xx</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='6' count='10' stats='yes'>
+ <description>PUT to calendar collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>3.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/put/3.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>2xx</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/query-tests.xml
===================================================================
--- CalDAVTester/trunk/performance/query-tests.xml (rev 0)
+++ CalDAVTester/trunk/performance/query-tests.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,370 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start/>
+
+ <test-suite name='query on text - without data' ignore='no'>
+ <test name='1' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 10 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/1.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 100 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.100/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/1.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 1000 items</description>
+ <request print-response='no'>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/1.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query on text - with all data' ignore='no'>
+ <test name='1' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 10 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/2.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 100 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.100/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/2.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 1000 items</description>
+ <request print-response='no'>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/2.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query on text - with partial data' ignore='no'>
+ <test name='1' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 10 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/3.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 100 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.100/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/3.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 1000 items</description>
+ <request print-response='no'>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/3.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query time-range - without data' ignore='no'>
+ <test name='1' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 10 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/4.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 100 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.100/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/4.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 1000 items</description>
+ <request print-response='no'>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/4.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query time-range - with all data' ignore='no'>
+ <test name='1' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 10 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/5.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 100 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.100/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/5.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 1000 items</description>
+ <request print-response='no'>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/5.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query time-range - with partial data' ignore='no'>
+ <test name='1' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 10 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/6.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 100 items</description>
+ <request>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.100/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/6.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' details='yes' count='10' stats='yes' ignore='no'>
+ <description>query REPORT for SUMMARY value on calendar with 1000 items</description>
+ <request print-response='no'>
+ <method>REPORT</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/calendar.1000/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/query/6.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/schedule-freebusy/schedule-small.xml
===================================================================
--- CalDAVTester/trunk/performance/schedule-freebusy/schedule-small.xml (rev 0)
+++ CalDAVTester/trunk/performance/schedule-freebusy/schedule-small.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$pathprefix:/outbox/</ruri>
+ </request>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$pathprefix:/inbox/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix2:/outbox/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix2:/inbox/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix3:/outbox/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix3:/inbox/</ruri>
+ </request>
+ </start>
+
+
+ <test-suite name='POST (invite)' ignore='no'>
+ <test name='1' count='10' stats='yes' ignore='no'>
+ <description>POST to Outbox of regular invite</description>
+ <request>
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>$principal:</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$principal2:, $principal3:</value>
+ </header>
+ <ruri>$pathprefix:/outbox/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/schedule/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ <verify>
+ <callback>header</callback>
+ <arg>
+ <name>header</name>
+ <value>Location$^$pathprefix:/outbox/[^/]+\.ics$</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/schedule-freebusy/schedule-tests.xml
===================================================================
--- CalDAVTester/trunk/performance/schedule-freebusy/schedule-tests.xml (rev 0)
+++ CalDAVTester/trunk/performance/schedule-freebusy/schedule-tests.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,122 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$pathprefix:/outbox/</ruri>
+ </request>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$pathprefix:/inbox/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix2:/outbox/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix2:/inbox/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix3:/outbox/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix3:/inbox/</ruri>
+ </request>
+ </start>
+
+ <test-suite name='POST (invite)' ignore='no'>
+ <test name='1' count='1' stats='yes' ignore='no'>
+ <description>POST to Outbox of regular invite - small</description>
+ <request print-response="yes">
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>$principal:</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$principal2:</value>
+ </header>
+ <ruri>$pathprefix:/outbox/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/schedule/4.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' count='1' stats='yes' ignore='no'>
+ <description>POST to Outbox of regular invite - small</description>
+ <request print-response="yes">
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>$principal:</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$principal2:, $principal3:, /principals/user/user04, /principals/user/user05, /principals/user/user06, /principals/user/user07, /principals/user/user08, /principals/user/user09, /principals/user/user10, /principals/user/user11</value>
+ </header>
+ <ruri>$pathprefix:/outbox/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/schedule/5.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3' count='10' stats='yes' ignore='yes'>
+ <description>POST to Outbox of regular invite - small</description>
+ <request print-response="no">
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>$principal:</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$principal2:, $principal3:, /principals/user/user04, /principals/user/user05, /principals/user/user06, /principals/user/user07, /principals/user/user08, /principals/user/user09, /principals/user/user10, /principals/user/user11, /principals/user/user12, /principals/user/user13, /principals/user/user14, /principals/user/user15, /principals/user/user16, /principals/user/user17, /principals/user/user18, /principals/user/user19, /principals/user/user20, /principals/user/user21, /principals/user/user22, /principals/user/user23, /principals/user/user24, /principals/user/user25, /principals/user/user26, /principals/user/user27, /principals/user/user28, /principals/user/user29, /principals/user/user30, /principals/user/user31, /principals/user/user32, /principals/user/user33, /principals/user/user34, /principals/user/user35, /principals/user/user36, /principals/user/user37, /principals/user/user38, /principals/user/user39, /principals/user/user40, /principals/user/user41,
/principals/user/user42, /principals/user/user43, /principals/user/user44, /principals/user/user45, /principals/user/user46, /principals/user/user47, /principals/user/user48, /principals/user/user49, /principals/user/user50, /principals/user/user51, /principals/user/user52, /principals/user/user53, /principals/user/user54, /principals/user/user55, /principals/user/user56, /principals/user/user57, /principals/user/user58, /principals/user/user59, /principals/user/user60, /principals/user/user61, /principals/user/user62, /principals/user/user63, /principals/user/user64, /principals/user/user65, /principals/user/user66, /principals/user/user67, /principals/user/user68, /principals/user/user69, /principals/user/user70, /principals/user/user71, /principals/user/user72, /principals/user/user73, /principals/user/user74, /principals/user/user75, /principals/user/user76, /principals/user/user77, /principals/user/user78, /principals/user/user79, /principals/user/user80, /principals/u
ser/user81, /principals/user/user82, /principals/user/user83, /principals/user/user84, /principals/user/user85, /principals/user/user86, /principals/user/user87, /principals/user/user88, /principals/user/user89, /principals/user/user90, /principals/user/user91, /principals/user/user92, /principals/user/user93, /principals/user/user94, /principals/user/user95, /principals/user/user96, /principals/user/user97, /principals/user/user98, /principals/user/user99</value>
+ </header>
+ <ruri>$pathprefix:/outbox/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/schedule/6.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/schedule-invite/schedule-small.xml
===================================================================
--- CalDAVTester/trunk/performance/schedule-invite/schedule-small.xml (rev 0)
+++ CalDAVTester/trunk/performance/schedule-invite/schedule-small.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$pathprefix:/outbox/</ruri>
+ </request>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$pathprefix:/inbox/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix2:/outbox/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix2:/inbox/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix3:/outbox/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix3:/inbox/</ruri>
+ </request>
+ </start>
+
+
+ <test-suite name='POST (invite)' ignore='no'>
+ <test name='1' count='10' stats='yes' ignore='no'>
+ <description>POST to Outbox of regular invite</description>
+ <request>
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>$principal:</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$principal2:, $principal3:</value>
+ </header>
+ <ruri>$pathprefix:/outbox/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/schedule/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ <verify>
+ <callback>header</callback>
+ <arg>
+ <name>header</name>
+ <value>Location$^$pathprefix:/outbox/[^/]+\.ics$</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/performance/schedule-invite/schedule-tests.xml
===================================================================
--- CalDAVTester/trunk/performance/schedule-invite/schedule-tests.xml (rev 0)
+++ CalDAVTester/trunk/performance/schedule-invite/schedule-tests.xml 2006-12-22 03:36:38 UTC (rev 884)
@@ -0,0 +1,144 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+ <start>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$pathprefix:/outbox/</ruri>
+ </request>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$pathprefix:/inbox/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix2:/outbox/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix2:/inbox/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix3:/outbox/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix3:/inbox/</ruri>
+ </request>
+ </start>
+
+
+ <test-suite name='POST (invite)' ignore='no'>
+ <test name='1' count='10' stats='yes' ignore='no'>
+ <description>POST to Outbox of regular invite - small</description>
+ <request>
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>$principal:</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$principal2:, $principal3:</value>
+ </header>
+ <ruri>$pathprefix:/outbox/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/schedule/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ <verify>
+ <callback>header</callback>
+ <arg>
+ <name>header</name>
+ <value>Location$^$pathprefix:/outbox/[^/]+\.ics$</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2' count='10' stats='yes' ignore='no'>
+ <description>POST to Outbox of regular invite - medium</description>
+ <request>
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>$principal:</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$principal2:, $principal3:</value>
+ </header>
+ <ruri>$pathprefix:/outbox/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/schedule/2.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ <verify>
+ <callback>header</callback>
+ <arg>
+ <name>header</name>
+ <value>Location$^$pathprefix:/outbox/[^/]+\.ics$</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3' count='10' stats='yes' ignore='no'>
+ <description>POST to Outbox of regular invite - large</description>
+ <request>
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>$principal:</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$principal2:, $principal3:</value>
+ </header>
+ <ruri>$pathprefix:/outbox/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/schedule/3.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ <verify>
+ <callback>header</callback>
+ <arg>
+ <name>header</name>
+ <value>Location$^$pathprefix:/outbox/[^/]+\.ics$</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061221/e4e39d4c/attachment.html
More information about the calendarserver-changes
mailing list