#NEWLINE# def test_full_execution( self ) : #NEWLINE# #INDENT# obj = SiegeExecutor ( ) #NEWLINE# obj . engine = EngineEmul ( ) #NEWLINE# obj . settings . merge ( { #NEWLINE# #INDENT# 'path' : get_res_path ( TOOL_NAME ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# obj . execution . merge ( { #NEWLINE# #INDENT# 'concurrency' : 2 , #NEWLINE# 'iterations' : 3 , #NEWLINE# 'scenario' : { #NEWLINE# #INDENT# 'requests' : [ 'http://blazedemo.com' , 'http://ya.ru' ] , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# obj . prepare ( ) #NEWLINE# try : #NEWLINE# #INDENT# obj . startup ( ) #NEWLINE# while ( not obj . check ( ) ) : #NEWLINE# #INDENT# time . sleep ( obj . engine . check_interval ) #NEWLINE# #UNINDENT# #UNINDENT# finally : #NEWLINE# #INDENT# obj . shutdown ( ) #NEWLINE# #UNINDENT# obj . post_process ( ) #NEWLINE# self . assertNotEquals ( self . process , None )