Skip to content
Permalink
Browse files

Various scripts for checking server load performance.

  • Loading branch information...
cyrusdaboo committed Apr 13, 2007
1 parent 9aa6229 commit 88cc963abdbed0221c4fef55a3425d53b5218aef
@@ -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@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>
@@ -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@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>
@@ -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@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>
@@ -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@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>

0 comments on commit 88cc963

Please sign in to comment.
You can’t perform that action at this time.