Index: /main/waeup.stress/trunk/kofa01/test_scripts/config.py
===================================================================
--- /main/waeup.stress/trunk/kofa01/test_scripts/config.py	(revision 8656)
+++ /main/waeup.stress/trunk/kofa01/test_scripts/config.py	(revision 8657)
@@ -1,7 +1,7 @@
+import time
 import waeup.stress
 #register_url = 'http://localhost:8080/uniben/applicants/putme2012/register'
 register_url = 'http://localhost:8080/stress_app/@@index'
 print "RUN SETUP"
-waeup.stress.do_foo()
 
 instance = 'kofa'
@@ -13,5 +13,10 @@
 waeup.stress.install_app(instance)
 
+## starts an instance as daemon
 waeup.stress.start_instance(instance)
+waeup.stress.wait_for_startup('localhost', 8080) # wait until daemon is up
+## after starting an instance, we have to wait for the instance to come up
+#time.sleep(3)
+
+## we need a running instance, so leave this commented out.
 #waeup.stress.stop_instance(instance)
-
