[CalendarServer-changes] [1485] CalDAVTester/trunk/buildperformance
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 13 14:00:16 PDT 2007
Revision: 1485
http://trac.macosforge.org/projects/calendarserver/changeset/1485
Author: cdaboo at apple.com
Date: 2007-04-13 14:00:15 -0700 (Fri, 13 Apr 2007)
Log Message:
-----------
Various scripts for checking server load performance.
Added Paths:
-----------
CalDAVTester/trunk/buildperformance/client-sim/
CalDAVTester/trunk/buildperformance/client-sim/poll-nothing-new.xml
CalDAVTester/trunk/buildperformance/client-sim/poll-one-new.xml
CalDAVTester/trunk/buildperformance/client-sim/poll-ten-new.xml
CalDAVTester/trunk/buildperformance/get/get-principal.xml
Added: CalDAVTester/trunk/buildperformance/client-sim/poll-nothing-new.xml
===================================================================
--- CalDAVTester/trunk/buildperformance/client-sim/poll-nothing-new.xml (rev 0)
+++ CalDAVTester/trunk/buildperformance/client-sim/poll-nothing-new.xml 2007-04-13 21:00:15 UTC (rev 1485)
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006-2007 Apple 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='Client polling - nothing new found' ignore='no'>
+ <test name='1' count='1' stats='yes'>
+ <description>PROPFIND on calendar home</description>
+ <request>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/1.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/buildperformance/client-sim/poll-one-new.xml
===================================================================
--- CalDAVTester/trunk/buildperformance/client-sim/poll-one-new.xml (rev 0)
+++ CalDAVTester/trunk/buildperformance/client-sim/poll-one-new.xml 2007-04-13 21:00:15 UTC (rev 1485)
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006-2007 Apple 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='Client polling - nothing new found' ignore='no'>
+ <test name='1' count='1' stats='yes'>
+ <description>PROPFIND on calendar home</description>
+ <request print-response="no">
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/1.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <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/performance/client-sim/2.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/3.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/buildperformance/client-sim/poll-ten-new.xml
===================================================================
--- CalDAVTester/trunk/buildperformance/client-sim/poll-ten-new.xml (rev 0)
+++ CalDAVTester/trunk/buildperformance/client-sim/poll-ten-new.xml 2007-04-13 21:00:15 UTC (rev 1485)
@@ -0,0 +1,187 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006-2007 Apple 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='Client polling - nothing new found' ignore='no'>
+ <test name='1' count='1' stats='yes'>
+ <description>PROPFIND on calendar home</description>
+ <request print-response="no">
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <ruri>$pathprefix:/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/1.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <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/performance/client-sim/2.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/calendar.10/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/4.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/2.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/2.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/3.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/3.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/4.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/4.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/5.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/5.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/6.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/6.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/7.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/7.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/8.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/8.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/9.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/9.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix:/calendar/10.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/performance/client-sim/10.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/trunk/buildperformance/get/get-principal.xml
===================================================================
--- CalDAVTester/trunk/buildperformance/get/get-principal.xml (rev 0)
+++ CalDAVTester/trunk/buildperformance/get/get-principal.xml 2007-04-13 21:00:15 UTC (rev 1485)
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006-2007 Apple 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 - principal collection' ignore='no'>
+ <test name='1' count='1' stats='yes'>
+ <description>GET on principal collection</description>
+ <request>
+ <method>GET</method>
+ <ruri>$principal:</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070413/d3e1f588/attachment.html
More information about the calendarserver-changes
mailing list