~canonical-isd-hackers/openid-load-testing/staging

« back to all changes in this revision

Viewing changes to tsung/ubuntu/tsung_accounts.xml

  • Committer: Danny Tamez
  • Date: 2011-04-25 22:42:17 UTC
  • Revision ID: danny.tamez@canonical.com-20110425224217-3mo12184sf0e2y75
Changes to loadtests sripts for latest modifications to sso.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
    <!ENTITY provider_host "login.staging.ubuntu.com">
6
6
    <!ENTITY server_host "cherimoya">
7
7
    <!ENTITY client_host "gentoo">
8
 
    <!ENTITY new_accounts SYSTEM "./new_accounts.xml">
9
 
    <!ENTITY log_out SYSTEM "./log_out.xml">
10
 
    <!ENTITY log_in SYSTEM "./log_in.xml">
11
 
    <!ENTITY auth_logged_in SYSTEM "./auth_already_logged_in.xml">
12
 
    <!ENTITY auth_logged_out SYSTEM "./auth_not_logged_in.xml">
 
8
    <!ENTITY new_accounts SYSTEM "../new_accounts.xml">
 
9
    <!ENTITY log_out SYSTEM "../log_out.xml">
 
10
    <!ENTITY log_in SYSTEM "../log_in.xml">
 
11
    <!ENTITY auth_logged_in SYSTEM "../auth_already_logged_in.xml">
 
12
    <!ENTITY auth_logged_out SYSTEM "../auth_not_logged_in.xml">
13
13
]>
14
14
<tsung loglevel="debug" dumptraffic="true" version="1.0">
15
15
 
16
16
  <!-- Client side setup -->
17
17
  <clients>
18
 
      <client host="&client_host;" use_controller_vm="false" maxusers="30000"/>
 
18
    <client host="&client_host;" use_controller_vm="true" maxusers="20000"/>
19
19
  </clients>
20
20
 
21
21
  <!-- Server side setup -->
22
22
  <servers>
23
 
      <server host="&provider_host;" port="443" type="tcp"></server>
 
23
    <server host="&provider_host;" port="443" type="tcp"></server>
24
24
  </servers>
25
25
 
26
26
  <monitoring>
27
 
      <monitor host="&server_host;" type="erlang"></monitor>
 
27
    <monitor host="&server_host;" type="erlang"></monitor>
 
28
    <monitor host="&client_host;" type="erlang"></monitor>
28
29
  </monitoring>
29
30
 
30
31
  <load>
31
 
  <!-- several arrival phases can be set: for each phase, you can set
32
 
  the mean inter-arrival time between new clients and the phase
33
 
  duration -->
34
 
    <arrivalphase phase="1" duration="1000" unit="second">
35
 
       <users interarrival="1.0" unit="second"></users>
 
32
    <!-- several arrival phases can be set: for each phase, you can
 
33
         set the mean inter-arrival time between new clients and the
 
34
         phase duration -->
 
35
    <arrivalphase phase="1" duration="6" unit="minute">
 
36
      <users interarrival="1.0" unit="second"/>
 
37
    </arrivalphase>
 
38
    <arrivalphase phase="2" duration="5" unit="minute">
 
39
      <users interarrival="0.8" unit="second"/>
 
40
    </arrivalphase>
 
41
    <arrivalphase phase="3" duration="4" unit="minute">
 
42
      <users interarrival="0.6" unit="second"/>
 
43
    </arrivalphase>
 
44
    <arrivalphase phase="4" duration="3" unit="minute">
 
45
      <users interarrival="0.4" unit="second"/>
 
46
    </arrivalphase>
 
47
    <arrivalphase phase="5" duration="2" unit="minute">
 
48
      <users interarrival="0.2" unit="second"/>
 
49
    </arrivalphase>
 
50
    <arrivalphase phase="6" duration="1" unit="minute">
 
51
      <users interarrival="0.1" unit="second"/>
36
52
    </arrivalphase>
37
53
  </load>
38
54
 
39
55
    <options>
40
56
        <option name="file_server" id="accounts" value="../accounts.csv"/>
41
 
        <option type="ts_http" name="user_agent">
42
 
            <user_agent probability="80">Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21</user_agent>
43
 
            <user_agent probability="20">Mozilla/5.0 (Windows; U; Windows NT 5.2; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4</user_agent>
44
 
        </option>
45
 
        <option name="thinktime" value="10" random="false" override="true"/>
 
57
                <option type="ts_http" name="user_agent">
 
58
                  <user_agent probability="80">
 
59
                        Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21
 
60
                  </user_agent>
 
61
                  <user_agent probability="20">
 
62
                        Mozilla/5.0 (Windows; U; Windows NT 5.2; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
 
63
                  </user_agent>
 
64
                </option>
 
65
                <option name="hibernate" value="5"/>
46
66
    </options>
47
67
 
48
68
    <sessions>