Index: /main/waeup.sirp/branches/ulif-stress-multimech/multi-mechanize/projects/sirp1/test_scripts/get_application.py
===================================================================
--- /main/waeup.sirp/branches/ulif-stress-multimech/multi-mechanize/projects/sirp1/test_scripts/get_application.py	(revision 7485)
+++ /main/waeup.sirp/branches/ulif-stress-multimech/multi-mechanize/projects/sirp1/test_scripts/get_application.py	(revision 7486)
@@ -1,25 +1,31 @@
 import mechanize
 import time
-from mechanize import Browser
+#from mechanize import Browser
+from zope.testbrowser.browser import Browser
+from helpers import BASE_URL
 
 class Transaction(object):
     def __init__(self):
         self.custom_timers = {}
+        self.base_url = BASE_URL + 'applicants'
 
     def run(self):
         browser = Browser()
-        browser.set_handle_robots(False)
+        #browser.set_handle_robots(False)
+
 
         start_timer = time.time()
-        resp = browser.open('http://localhost:8080/app-stress/applicants')
-        resp.read()
+        resp = browser.open(self.base_url)#'http://localhost:8080/app-stress/applicants')
+        #resp.read()
         latency = time.time() - start_timer
 
         self.custom_timers['SIRP Applicant Section'] = latency
 
-        assert (resp.code == 200), 'Bad HTTP Response'
-        assert (
-            'Application Section' in resp.get_data()
-            ),'Failed Content Verification'
+        #assert (resp.code == 200), 'Bad HTTP Response'
+        assert ('Application Section' in browser.contents),'Failed Content Verification'
+        time.sleep(2.0)
+        #assert (
+        #    'Application Section' in resp.get_data()
+        #    ),'Failed Content Verification'
 
 
