first commit
This commit is contained in:
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>
|
||||
Reference in New Issue
Block a user