first commit
This commit is contained in:
8
CS4210/Project 1/client/tests/CVS/Entries
Normal file
8
CS4210/Project 1/client/tests/CVS/Entries
Normal file
@@ -0,0 +1,8 @@
|
||||
/fileList.txt/1.1/Sun Feb 19 07:35:48 2006//
|
||||
/singleFileTestLong.xml/1.1/Sun Feb 19 07:40:39 2006//
|
||||
/singleFileTestMT32.xml/1.1/Sun Feb 19 07:39:18 2006//
|
||||
D/flood////
|
||||
/singleFileTest.xml/1.3/Tue Feb 21 00:27:18 2006//
|
||||
/singleFileTestMT10.xml/1.2/Tue Feb 21 00:27:18 2006//
|
||||
/advancedTest.xml/1.3/Tue Feb 21 03:42:46 2006//
|
||||
/simpleTest.xml/1.3/Tue Mar 28 00:07:51 2006//
|
||||
8
CS4210/Project 1/client/tests/CVS/Entries.Extra
Normal file
8
CS4210/Project 1/client/tests/CVS/Entries.Extra
Normal file
@@ -0,0 +1,8 @@
|
||||
/fileList.txt////*///
|
||||
/singleFileTestLong.xml////*///
|
||||
/singleFileTestMT32.xml////*///
|
||||
D/flood///////
|
||||
/singleFileTest.xml////*///
|
||||
/singleFileTestMT10.xml////*///
|
||||
/advancedTest.xml////*///
|
||||
/simpleTest.xml////*///
|
||||
8
CS4210/Project 1/client/tests/CVS/Entries.Extra.Old
Normal file
8
CS4210/Project 1/client/tests/CVS/Entries.Extra.Old
Normal file
@@ -0,0 +1,8 @@
|
||||
/simpleTest.xml////*///
|
||||
/fileList.txt////*///
|
||||
/singleFileTestLong.xml////*///
|
||||
/singleFileTestMT32.xml////*///
|
||||
D/flood///////
|
||||
/singleFileTest.xml////*///
|
||||
/singleFileTestMT10.xml////*///
|
||||
/advancedTest.xml////*///
|
||||
8
CS4210/Project 1/client/tests/CVS/Entries.Old
Normal file
8
CS4210/Project 1/client/tests/CVS/Entries.Old
Normal file
@@ -0,0 +1,8 @@
|
||||
/simpleTest.xml/1.2/Sun Feb 19 07:35:44 2006//
|
||||
/fileList.txt/1.1/Sun Feb 19 07:35:48 2006//
|
||||
/singleFileTestLong.xml/1.1/Sun Feb 19 07:40:39 2006//
|
||||
/singleFileTestMT32.xml/1.1/Sun Feb 19 07:39:18 2006//
|
||||
D/flood////
|
||||
/singleFileTest.xml/1.3/Tue Feb 21 00:27:18 2006//
|
||||
/singleFileTestMT10.xml/1.2/Tue Feb 21 00:27:18 2006//
|
||||
/advancedTest.xml/1.3/Tue Feb 21 03:42:46 2006//
|
||||
1
CS4210/Project 1/client/tests/CVS/Repository
Normal file
1
CS4210/Project 1/client/tests/CVS/Repository
Normal file
@@ -0,0 +1 @@
|
||||
CS4210/Project 1/client/tests
|
||||
1
CS4210/Project 1/client/tests/CVS/Root
Normal file
1
CS4210/Project 1/client/tests/CVS/Root
Normal file
@@ -0,0 +1 @@
|
||||
:ext:asskoala@192.168.0.3:/usr/_CVS
|
||||
15
CS4210/Project 1/client/tests/advancedTest.xml
Normal file
15
CS4210/Project 1/client/tests/advancedTest.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- XML File for test execution-->
|
||||
|
||||
<Tests>
|
||||
<advancedTest>
|
||||
<numthreads>128</numthreads>
|
||||
<iterations>32</iterations>
|
||||
<filesToRetrieve>
|
||||
<file>/index.html</file>
|
||||
<file>/pwner.jpg</file>
|
||||
<file>/makefile</file>
|
||||
<file>/special.zip</file>
|
||||
</filesToRetrieve>
|
||||
</advancedTest>
|
||||
</Tests>
|
||||
4
CS4210/Project 1/client/tests/fileList.txt
Normal file
4
CS4210/Project 1/client/tests/fileList.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
/pwner.jpg
|
||||
/index.html
|
||||
/makefile
|
||||
/special.zip
|
||||
2
CS4210/Project 1/client/tests/flood/CVS/Entries
Normal file
2
CS4210/Project 1/client/tests/flood/CVS/Entries
Normal file
@@ -0,0 +1,2 @@
|
||||
/stay_alive.xml/1.1/Mon Feb 20 22:59:25 2006//
|
||||
D/Linux////
|
||||
2
CS4210/Project 1/client/tests/flood/CVS/Entries.Extra
Normal file
2
CS4210/Project 1/client/tests/flood/CVS/Entries.Extra
Normal file
@@ -0,0 +1,2 @@
|
||||
/stay_alive.xml////*///
|
||||
D/Linux///////
|
||||
@@ -0,0 +1 @@
|
||||
/stay_alive.xml////*///
|
||||
2
CS4210/Project 1/client/tests/flood/CVS/Entries.Old
Normal file
2
CS4210/Project 1/client/tests/flood/CVS/Entries.Old
Normal file
@@ -0,0 +1,2 @@
|
||||
/stay_alive.xml/1.1/Mon Feb 20 22:59:25 2006//
|
||||
D
|
||||
1
CS4210/Project 1/client/tests/flood/CVS/Repository
Normal file
1
CS4210/Project 1/client/tests/flood/CVS/Repository
Normal file
@@ -0,0 +1 @@
|
||||
CS4210/Project 1/client/tests/flood
|
||||
1
CS4210/Project 1/client/tests/flood/CVS/Root
Normal file
1
CS4210/Project 1/client/tests/flood/CVS/Root
Normal file
@@ -0,0 +1 @@
|
||||
:ext:asskoala@192.168.0.3:/usr/_CVS
|
||||
2
CS4210/Project 1/client/tests/flood/Linux/CVS/Entries
Normal file
2
CS4210/Project 1/client/tests/flood/Linux/CVS/Entries
Normal file
@@ -0,0 +1,2 @@
|
||||
/flood/1.1/Mon Feb 20 22:59:25 2006/-kb/
|
||||
D
|
||||
@@ -0,0 +1 @@
|
||||
/flood////*///
|
||||
1
CS4210/Project 1/client/tests/flood/Linux/CVS/Repository
Normal file
1
CS4210/Project 1/client/tests/flood/Linux/CVS/Repository
Normal file
@@ -0,0 +1 @@
|
||||
CS4210/Project 1/client/tests/flood/Linux
|
||||
1
CS4210/Project 1/client/tests/flood/Linux/CVS/Root
Normal file
1
CS4210/Project 1/client/tests/flood/Linux/CVS/Root
Normal file
@@ -0,0 +1 @@
|
||||
:ext:asskoala@192.168.0.3:/usr/_CVS
|
||||
BIN
CS4210/Project 1/client/tests/flood/Linux/flood
Normal file
BIN
CS4210/Project 1/client/tests/flood/Linux/flood
Normal file
Binary file not shown.
68
CS4210/Project 1/client/tests/flood/stay_alive.xml
Normal file
68
CS4210/Project 1/client/tests/flood/stay_alive.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE flood SYSTEM "flood.dtd">
|
||||
<!-- Hi, I'm a flood config file.
|
||||
This is a keepalive-enabled profile. -->
|
||||
<flood configversion="1">
|
||||
<!-- A urllist describes which hosts and which methods we want to hit. -->
|
||||
<urllist>
|
||||
<name>Test Hosts</name>
|
||||
<description>A bunch of hosts we want to hit</description>
|
||||
<!-- change element below to point to default Apache 2.0 installation -->
|
||||
<baseurl>http://localhost:1337</baseurl>
|
||||
<url>/testFiles/index.html</url>
|
||||
<url>/testFiles/makefile</url>
|
||||
<url>/testFiles/pwner.jpg</url>
|
||||
</urllist>
|
||||
|
||||
<!-- The profile describes how we will hit the urllists.
|
||||
Round robin runs all of the URLs in the urllist in order once. -->
|
||||
<profile>
|
||||
<name>RoundRobinProfile</name>
|
||||
<description>Round Robin Configuration</description>
|
||||
|
||||
<useurllist>Test Hosts</useurllist>
|
||||
|
||||
<!-- Profile Events -->
|
||||
<profile_init>round_robin_profile_init</profile_init>
|
||||
<create_req>round_robin_create_req</create_req>
|
||||
<get_next_url>round_robin_get_next_url</get_next_url>
|
||||
<loop_condition>round_robin_loop_condition</loop_condition>
|
||||
<profile_destroy>round_robin_profile_destroy</profile_destroy>
|
||||
|
||||
<!-- Socket Events -->
|
||||
<socket_init>keepalive_socket_init</socket_init>
|
||||
<begin_conn>keepalive_begin_conn</begin_conn>
|
||||
<send_req>keepalive_send_req</send_req>
|
||||
<recv_resp>keepalive_recv_resp</recv_resp>
|
||||
<end_conn>keepalive_end_conn</end_conn>
|
||||
<socket_destroy>keepalive_socket_destroy</socket_destroy>
|
||||
|
||||
<!-- Verification Events -->
|
||||
<verify_resp>verify_200</verify_resp>
|
||||
|
||||
<!-- Reporting Events -->
|
||||
<report_init>easy_report_init</report_init>
|
||||
<process_stats>easy_process_stats</process_stats>
|
||||
<report_stats>easy_report_stats</report_stats>
|
||||
<destroy_report>easy_destroy_report</destroy_report>
|
||||
</profile>
|
||||
|
||||
<!-- A farmer runs one profile a certain number of times. -->
|
||||
<farmer>
|
||||
<name>Joe</name>
|
||||
<!-- run the Joe farmer 1000 times -->
|
||||
<count>1000</count>
|
||||
<!-- Joe uses this profile -->
|
||||
<useprofile>RoundRobinProfile</useprofile>
|
||||
</farmer>
|
||||
|
||||
<!-- A farm contains a bunch of farmers - each farmer is a thread. -->
|
||||
<farm>
|
||||
<name>Bingo</name>
|
||||
<!-- Create 10 identical Joe farmers executing in parallel. -->
|
||||
<usefarmer count="10">Joe</usefarmer>
|
||||
</farm>
|
||||
|
||||
<!-- Set the seed to a known value so we can reproduce the same tests -->
|
||||
<seed>23</seed>
|
||||
</flood>
|
||||
23
CS4210/Project 1/client/tests/simpleTest.xml
Normal file
23
CS4210/Project 1/client/tests/simpleTest.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- XML File for test execution-->
|
||||
|
||||
<Tests>
|
||||
<simpleTest>
|
||||
<!-- The number of threads to spawn to make requests -->
|
||||
<numthreads>32</numthreads>
|
||||
|
||||
<!-- The number of times the request will be made per threads -->
|
||||
<iterations>10</iterations>
|
||||
|
||||
<!-- The files to retrieve -->
|
||||
<filesToRetrieve>
|
||||
|
||||
<!-- The file names, use / for directories -->
|
||||
<file>/test_small0</file>
|
||||
<file>/test_small0</file>
|
||||
<file>/test_small0</file>
|
||||
<file>/test_small0</file>
|
||||
|
||||
</filesToRetrieve>
|
||||
</simpleTest>
|
||||
</Tests>
|
||||
20
CS4210/Project 1/client/tests/singleFileTest.xml
Normal file
20
CS4210/Project 1/client/tests/singleFileTest.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- XML File for test execution-->
|
||||
|
||||
<Tests>
|
||||
<singleFileTest>
|
||||
<!-- The number of threads to spawn to make requests -->
|
||||
<numthreads>1</numthreads>
|
||||
|
||||
<!-- The number of times the request will be made per threads -->
|
||||
<iterations>10</iterations>
|
||||
|
||||
<!-- The files to retrieve -->
|
||||
<filesToRetrieve>
|
||||
|
||||
<!-- The file names, use / for directories -->
|
||||
<file>/testFiles/1MB.txt</file>
|
||||
|
||||
</filesToRetrieve>
|
||||
</singleFileTest>
|
||||
</Tests>
|
||||
20
CS4210/Project 1/client/tests/singleFileTestLong.xml
Normal file
20
CS4210/Project 1/client/tests/singleFileTestLong.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- XML File for test execution-->
|
||||
|
||||
<Tests>
|
||||
<singleFileTest>
|
||||
<!-- The number of threads to spawn to make requests -->
|
||||
<numthreads>1</numthreads>
|
||||
|
||||
<!-- The number of times the request will be made per threads -->
|
||||
<iterations>500</iterations>
|
||||
|
||||
<!-- The files to retrieve -->
|
||||
<filesToRetrieve>
|
||||
|
||||
<!-- The file names, use / for directories -->
|
||||
<file>/pwner.jpg</file>
|
||||
|
||||
</filesToRetrieve>
|
||||
</singleFileTest>
|
||||
</Tests>
|
||||
20
CS4210/Project 1/client/tests/singleFileTestMT10.xml
Normal file
20
CS4210/Project 1/client/tests/singleFileTestMT10.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- XML File for test execution-->
|
||||
|
||||
<Tests>
|
||||
<singleFileTest>
|
||||
<!-- The number of threads to spawn to make requests -->
|
||||
<numthreads>10</numthreads>
|
||||
|
||||
<!-- The number of times the request will be made per threads -->
|
||||
<iterations>10</iterations>
|
||||
|
||||
<!-- The files to retrieve -->
|
||||
<filesToRetrieve>
|
||||
|
||||
<!-- The file names, use / for directories -->
|
||||
<file>/testFiles/1MB.txt</file>
|
||||
|
||||
</filesToRetrieve>
|
||||
</singleFileTest>
|
||||
</Tests>
|
||||
20
CS4210/Project 1/client/tests/singleFileTestMT32.xml
Normal file
20
CS4210/Project 1/client/tests/singleFileTestMT32.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- XML File for test execution-->
|
||||
|
||||
<Tests>
|
||||
<singleFileTest>
|
||||
<!-- The number of threads to spawn to make requests -->
|
||||
<numthreads>32</numthreads>
|
||||
|
||||
<!-- The number of times the request will be made per threads -->
|
||||
<iterations>10</iterations>
|
||||
|
||||
<!-- The files to retrieve -->
|
||||
<filesToRetrieve>
|
||||
|
||||
<!-- The file names, use / for directories -->
|
||||
<file>/pwner.jpg</file>
|
||||
|
||||
</filesToRetrieve>
|
||||
</singleFileTest>
|
||||
</Tests>
|
||||
Reference in New Issue
Block a user