Example #1
0
 def is_grid_running():
     response_code = HttpActions.get_page_response_code(
         Constants.REMOTE_GRID_STATUS_PAGE)
     if response_code is not None and response_code == Constants.OK_RESPONSE_CODE:
         return True
     else:
         return False
 def TEST_http_actions(self):
     response_code = HttpActions.get_page_response_code('http://localhost:4444/grid/console/test')
     is_grid_running = GridActions.is_grid_running()
     Log.log(is_grid_running)
 def TEST_http_actions(self):
     response_code = HttpActions.get_page_response_code(
         'http://localhost:4444/grid/console/test')
     is_grid_running = GridActions.is_grid_running()
     Log.log(is_grid_running)
Example #4
0
 def is_grid_running():
     response_code = HttpActions.get_page_response_code(Constants.REMOTE_GRID_STATUS_PAGE)
     if response_code is not None and response_code == Constants.OK_RESPONSE_CODE:
         return True
     else:
         return False