[bknr-cvs] ksprotte changed trunk/projects/bos/test/tsung
BKNR Commits
bknr at bknr.net
Thu Sep 11 10:33:22 UTC 2008
Revision: 3889
Author: ksprotte
URL: http://bknr.net/trac/changeset/3889
tsung whitespace / indent
U trunk/projects/bos/test/tsung.xml
U trunk/projects/bos/test/tsung2.xml
Modified: trunk/projects/bos/test/tsung.xml
===================================================================
--- trunk/projects/bos/test/tsung.xml 2008-09-11 05:12:53 UTC (rev 3888)
+++ trunk/projects/bos/test/tsung.xml 2008-09-11 10:33:22 UTC (rev 3889)
@@ -6,18 +6,18 @@
<clients>
<client host="localhost" use_controller_vm="true" maxusers="15000"/>
</clients>
-
+
<!-- Server side setup -->
<servers>
<server host="prod.headcraft.de" port="80" type="tcp"></server>
</servers>
<!-- to start os monitoring (cpu, network, memory). Use an erlang
- agent on the remote machine or SNMP. erlang is the default -->
+ agent on the remote machine or SNMP. erlang is the default -->
<!-- <monitoring> -->
<!-- <monitor host="myserver" type="snmp"></monitor> -->
<!-- </monitoring> -->
-
+
<!-- several arrival phases can be set: for each phase, you can set
the mean inter-arrival time between new clients and the phase
duration -->
@@ -26,7 +26,7 @@
<arrivalphase phase="1" duration="30" unit="second">
<users interarrival="2" unit="second" maxnumber="500"></users>
</arrivalphase>
-
+
<arrivalphase phase="2" duration="2" unit="minute">
<users interarrival="0.1" unit="second" maxnumber="500"></users>
</arrivalphase>
@@ -494,46 +494,46 @@
<request><http url='/images/step1.gif' version='1.1' method='GET'></http></request>
<thinktime random='true' value='7'/>
-
- <transaction name='buy_sqm'>
- <request>
- <!-- <dyn_variable name="contract_id" -->
- <!-- regexp='input +value="([0-9]+)" +name="contract-id" +type="hidden"'/> -->
- <dyn_variable name="contract_id" regexp='cartId=\([0-9]*\)'></dyn_variable>
- <dyn_variable name="sponsor_id" regexp='MC_sponsorid=\([0-9]*\)'></dyn_variable>
- <dyn_variable name="master_code" regexp='MC_password=\([0-9]*\)'></dyn_variable>
- <http url='/de/buy-sqm'
- version='1.1'
- contents='numsqm=1&numsqm1=&disclaimer_read=1'
- content_type='application/x-www-form-urlencoded' method='POST'></http>
- </request>
- <request><http url='/images/step3.gif' version='1.1' method='GET'></http></request>
+
+ <transaction name='buy_sqm'>
+ <request>
+ <!-- <dyn_variable name="contract_id" -->
+ <!-- regexp='input +value="([0-9]+)" +name="contract-id" +type="hidden"'/> -->
+ <dyn_variable name="contract_id" regexp='cartId=\([0-9]*\)'></dyn_variable>
+ <dyn_variable name="sponsor_id" regexp='MC_sponsorid=\([0-9]*\)'></dyn_variable>
+ <dyn_variable name="master_code" regexp='MC_password=\([0-9]*\)'></dyn_variable>
+ <http url='/de/buy-sqm'
+ version='1.1'
+ contents='numsqm=1&numsqm1=&disclaimer_read=1'
+ content_type='application/x-www-form-urlencoded' method='POST'></http>
+ </request>
+ <request><http url='/images/step3.gif' version='1.1' method='GET'></http></request>
</transaction>
<!-- https://select.worldpay.com -->
-
+
<thinktime random='false' value='10'/>
-
+
<request subst="true">
- <http url='/handle-sale?transStatus=P&name=TestSponsor&address=abc&instId=103530&cartId=%%_contract_id%%&amount=3¤cy=EUR&lang=de&desc=3%20qm%20Regenwald%20in%20Samboja%20Lestari&MC_sponsorid=%%_sponsor_id%%&MC_password=%%_master_code%%&MC_donationcert-yearly=0&MC_gift=0&testMode=100'
- version='1.1' method='GET'></http>
+ <http url='/handle-sale?transStatus=P&name=TestSponsor&address=abc&instId=103530&cartId=%%_contract_id%%&amount=3¤cy=EUR&lang=de&desc=3%20qm%20Regenwald%20in%20Samboja%20Lestari&MC_sponsorid=%%_sponsor_id%%&MC_password=%%_master_code%%&MC_donationcert-yearly=0&MC_gift=0&testMode=100'
+ version='1.1' method='GET'></http>
</request>
-
+
<thinktime random='true' value='5'/>
<request subst="true">
- <http url='/de/versand_quittung' version='1.1'
- contents='sponsor-id=%%_sponsor_id%%&master-code=%%_master_code%%&contract-id=%%_contract_id%%&email=&next-step-name=weiter&name=TestSponsor&want-print=no&address=TestSponsor%0D%0Aabc%0D%0A&Button=speichern+und+weiter'
- content_type='application/x-www-form-urlencoded'
- method='POST'></http>
+ <http url='/de/versand_quittung' version='1.1'
+ contents='sponsor-id=%%_sponsor_id%%&master-code=%%_master_code%%&contract-id=%%_contract_id%%&email=&next-step-name=weiter&name=TestSponsor&want-print=no&address=TestSponsor%0D%0Aabc%0D%0A&Button=speichern+und+weiter'
+ content_type='application/x-www-form-urlencoded'
+ method='POST'></http>
</request>
<thinktime random='true' value='2'/>
<request subst="true">
- <http url='/de/generate-cert' version='1.1'
- contents='sponsor-id=%%_sponsor_id%%&__sponsorid=%%_sponsor_id%%&__password=%%_master_code%%&contract-id=%%_contract_id%%&want-print=no&name=TestSponsor&address=TestSponsor%0D%0Aabc%0D%0A&email=&gift=&Button=weiter'
- content_type='application/x-www-form-urlencoded'
- method='POST'></http>
+ <http url='/de/generate-cert' version='1.1'
+ contents='sponsor-id=%%_sponsor_id%%&__sponsorid=%%_sponsor_id%%&__password=%%_master_code%%&contract-id=%%_contract_id%%&want-print=no&name=TestSponsor&address=TestSponsor%0D%0Aabc%0D%0A&email=&gift=&Button=weiter'
+ content_type='application/x-www-form-urlencoded'
+ method='POST'></http>
</request>
<request subst="true"><http url='/de/profil_setup?name=TestSponsor&email=&sponsor-id=%%_sponsor_id%%' version='1.1' method='GET'></http></request>
@@ -1069,5 +1069,3 @@
</session>
</sessions>
</tsung>
-
-
Modified: trunk/projects/bos/test/tsung2.xml
===================================================================
--- trunk/projects/bos/test/tsung2.xml 2008-09-11 05:12:53 UTC (rev 3888)
+++ trunk/projects/bos/test/tsung2.xml 2008-09-11 10:33:22 UTC (rev 3889)
@@ -6,18 +6,18 @@
<clients>
<client host="localhost" use_controller_vm="true" maxusers="15000"/>
</clients>
-
+
<!-- Server side setup -->
<servers>
<server host="prod.headcraft.de" port="80" type="tcp"></server>
</servers>
<!-- to start os monitoring (cpu, network, memory). Use an erlang
- agent on the remote machine or SNMP. erlang is the default -->
+ agent on the remote machine or SNMP. erlang is the default -->
<!-- <monitoring> -->
<!-- <monitor host="myserver" type="snmp"></monitor> -->
<!-- </monitoring> -->
-
+
<!-- several arrival phases can be set: for each phase, you can set
the mean inter-arrival time between new clients and the phase
duration -->
@@ -2150,5 +2150,3 @@
</sessions>
</tsung>
-
-
More information about the Bknr-cvs
mailing list