Changeset 8657
- Timestamp:
- 8 Jun 2012, 15:23:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.stress/trunk/kofa01/test_scripts/config.py
r8654 r8657 1 import time 1 2 import waeup.stress 2 3 #register_url = 'http://localhost:8080/uniben/applicants/putme2012/register' 3 4 register_url = 'http://localhost:8080/stress_app/@@index' 4 5 print "RUN SETUP" 5 waeup.stress.do_foo()6 6 7 7 instance = 'kofa' … … 13 13 waeup.stress.install_app(instance) 14 14 15 ## starts an instance as daemon 15 16 waeup.stress.start_instance(instance) 17 waeup.stress.wait_for_startup('localhost', 8080) # wait until daemon is up 18 ## after starting an instance, we have to wait for the instance to come up 19 #time.sleep(3) 20 21 ## we need a running instance, so leave this commented out. 16 22 #waeup.stress.stop_instance(instance) 17
Note: See TracChangeset for help on using the changeset viewer.