Module Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print Call AttributeLoad Str attr NameLoad Print Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult BinOpMult ListLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A os N/A sys N/A urllib2 N/A argparse N/A time N/A multiprocessing mp N/A pdb N/A 

  A simple test which reads a random sized file hosted on the webserver. 

 FetchFile N/A N/A result N/A N/A N/A url N/A N/A http://{}/kunal_test/{} format N/A result host N/A result filename N/A N/A N/A response N/A N/A urllib2 urlopen url N/A Success N/A N/A mp current_process N/A N/A N/A N/A urllib2 URLError N/A e N/A N/A N/A N/A Failed URL {} format url N/A N/A N/A Error {} format e N/A main N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser description Run the simple test N/A N/A N/A parser add_argument host action store help Target HostName N/A N/A N/A parser add_argument filename action store help FileName N/A N/A N/A parser add_argument process action store type int help Processes N/A N/A N/A parser add_argument jobsize action store type int help Processes N/A N/A N/A parser add_argument iterations action store type int help Number of iterations N/A result N/A N/A parser parse_args N/A N/A N/A pdb set_trace N/A i N/A range N/A result iterations N/A N/A pool N/A N/A mp Pool N/A result process N/A N/A N/A pool map FetchFile N/A N/A N/A result N/A result process N/A result jobsize N/A N/A N/A pool close N/A N/A N/A pool join N/A N/A N/A __name__ __main__ N/A N/A N/A main