Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Num ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr Num AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad Num body Assign NameStore NameLoad orelse If CompareLt NameLoad Num body Assign NameStore Call NameLoad Call NameLoad NameLoad Num orelse If CompareLt NameLoad Num body Assign NameStore Call NameLoad Call NameLoad NameLoad Num orelse Assign NameStore Call NameLoad Call NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return BinOpDiv Call NameLoad AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body If CompareGt AttributeLoad NameLoad attr Num body Return Num orelse Return Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Return BinOpDiv Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Num Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Num Assign NameStore Call NameLoad BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num comprehension NameStore Call NameLoad NameLoad BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If BoolOpOr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Return Num Return BinOpDiv AttributeLoad NameLoad attr Call NameLoad BinOpSub AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Return BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse For NameStore Call NameLoad BinOpSub AttributeLoad NameLoad attr Num BinOpAdd AttributeLoad NameLoad attr Num body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str For NameStore ListLoad Str Str Str Str Str Str Str Str Str Str body Expr Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore BinOpMult BinOpDiv AttributeLoad NameLoad attr Call NameLoad BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad body Assign NameStore Num Return BinOpMod BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str TupleLoad BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr Num BoolOpOr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Assign NameStore Num For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body AugAssignAdd NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareLtE BinOpSub AttributeLoad NameLoad attr NameLoad NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Return BinOpMod NameLoad TupleLoad BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpDiv Call NameLoad NameLoad Num Call NameLoad Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpDiv BinOpSub NameLoad Num Num For NameStore Call NameLoad Call AttributeLoad NameLoad attr body If CompareLt NameLoad SubscriptLoad NameLoad Index NameLoad body Return NameLoad AugAssignSub NameStore SubscriptLoad NameLoad Index NameLoad decorator_list Assign NameStore Call NameLoad Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGtE BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGtE BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str ListComp Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot BoolOpAnd CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Num CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Num Assign SubscriptStore NameLoad Index Str Call NameLoad ListComp TupleLoad NameLoad Call AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad orelse AugAssignAdd AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr SubscriptLoad NameLoad Index Str decorator_list AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str TupleLoad Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr BinOpMult Str BinOpAdd Num NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore AttributeLoad NameLoad attr AugAssignAdd NameStore AttributeLoad NameLoad attr AugAssignAdd NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMult Str BinOpAdd Num NameLoad TryExcept body Assign NameStore BinOpMult BinOpDiv NameLoad Call NameLoad NameLoad Num handlers ExceptHandler type NameLoad body Assign NameStore Num Expr Call AttributeLoad NameLoad attr BinOpMod BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str TupleLoad Str NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str TupleLoad Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr BinOpMult Str BinOpAdd Num NameLoad For NameStore Call NameLoad Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMult Str BinOpAdd Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Str Str Expr Call AttributeLoad NameLoad attr BinOpMult Str BinOpAdd Num NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMult Str BinOpAdd Num NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body ImportFrom alias While NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list
N/A N/A time N/A gevent N/A hashlib N/A events exception StopLocust log console_logger N/A STATS_NAME_WIDTH 60 RequestStatsAdditionError N/A Exception N/A N/A N/A RequestStats N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self entries N/A N/A N/A self errors N/A N/A N/A self num_requests 0 N/A N/A self num_failures 0 N/A N/A self max_requests None N/A N/A self last_request_timestamp None N/A N/A self start_time None N/A get N/A N/A self name method N/A N/A N/A 
        Retrieve a StatsEntry instance by name and method
         N/A entry N/A N/A N/A self entries get N/A name method N/A N/A entry N/A N/A entry N/A StatsEntry self name method N/A N/A N/A self entries N/A N/A name method entry N/A entry N/A aggregated_stats N/A N/A self name full_request_history N/A Total False N/A N/A 
        Returns a StatsEntry which is an aggregate of all stats entries 
        within entries.
         N/A total N/A StatsEntry self name method None N/A r N/A N/A N/A self entries itervalues N/A N/A N/A N/A total extend r full_request_history full_request_history N/A total N/A reset_all N/A N/A self N/A N/A N/A 
        Go through all stats entries and reset them to zero
         N/A N/A self start_time N/A N/A time time N/A N/A self num_requests 0 N/A N/A self num_failures 0 N/A r N/A N/A N/A self entries itervalues N/A N/A N/A N/A r reset N/A clear_all N/A N/A self N/A N/A N/A 
        Remove all stats entries and errors
         N/A N/A self num_requests 0 N/A N/A self num_failures 0 N/A N/A self entries N/A N/A N/A self errors N/A N/A N/A self max_requests None N/A N/A self last_request_timestamp None N/A N/A self start_time None N/A N/A StatsEntry N/A object N/A N/A 
    Represents a single stats entry (name and method)
     N/A name None N/A  Name (URL) of this stats entry  N/A method None N/A  Method (GET, POST, PUT, etc.)  N/A num_requests None N/A  The number of requests made  N/A num_failures None N/A  Number of failed request  N/A total_response_time None N/A  Total sum of the response times  N/A min_response_time None N/A  Minimum response time  N/A max_response_time None N/A  Maximum response time  N/A num_reqs_per_sec None N/A  A {second => request_count} dict that holds the number of requests made per second  N/A response_times None N/A 
    A {response_time => count} dict that holds the response time distribution of all
    the requests.
    
    The keys (the response time in ms) are rounded to store 1, 2, ... 9, 10, 20. .. 90, 
    100, 200 .. 900, 1000, 2000 ... 9000, in order to save memory.
    
    This dict is used to calculate the median and percentile response times.
     N/A total_content_length None N/A  The sum of the content length of all the requests for this entry  N/A start_time None N/A  Time of the first request for this entry  N/A last_request_timestamp None N/A  Time of the last request for this entry  __init__ N/A N/A self stats name method N/A N/A N/A N/A self stats stats N/A N/A self name name N/A N/A self method method N/A N/A N/A self reset N/A reset N/A N/A self N/A N/A N/A N/A self start_time N/A N/A time time N/A N/A self num_requests 0 N/A N/A self num_failures 0 N/A N/A self total_response_time 0 N/A N/A self response_times N/A N/A N/A self min_response_time None N/A N/A self max_response_time 0 N/A N/A self last_request_timestamp N/A int N/A N/A time time N/A N/A self num_reqs_per_sec N/A N/A N/A self total_content_length 0 N/A log N/A N/A self response_time content_length N/A N/A N/A N/A N/A self stats num_requests 1 N/A N/A self num_requests 1 N/A N/A N/A self _log_time_of_request N/A N/A N/A self _log_response_time response_time N/A N/A self total_content_length content_length N/A _log_time_of_request N/A N/A self N/A N/A N/A t N/A int N/A N/A time time N/A N/A N/A self num_reqs_per_sec N/A t N/A N/A N/A N/A self num_reqs_per_sec setdefault t 0 1 N/A N/A self last_request_timestamp t N/A N/A N/A self stats last_request_timestamp t N/A _log_response_time N/A N/A self response_time N/A N/A N/A N/A self total_response_time response_time N/A N/A N/A self min_response_time None N/A N/A N/A self min_response_time response_time N/A N/A self min_response_time N/A min N/A self min_response_time response_time N/A N/A self max_response_time N/A max N/A self max_response_time response_time N/A N/A response_time 100 N/A N/A rounded_response_time response_time N/A N/A N/A response_time 1000 N/A N/A rounded_response_time N/A int N/A round response_time -1 N/A N/A N/A response_time 10000 N/A N/A rounded_response_time N/A int N/A round response_time -2 N/A N/A rounded_response_time N/A int N/A round response_time -3 N/A N/A N/A N/A self response_times setdefault rounded_response_time 0 N/A N/A N/A self response_times N/A rounded_response_time 1 N/A log_error N/A N/A self error N/A N/A N/A N/A self num_failures 1 N/A N/A N/A self stats num_failures 1 N/A key N/A N/A StatsError create_key N/A self method N/A self name error N/A entry N/A N/A N/A N/A self stats errors get key N/A N/A entry N/A N/A entry N/A StatsError N/A self method N/A self name error N/A N/A N/A N/A self stats errors N/A key entry N/A N/A N/A entry occured N/A fail_ratio N/A N/A self N/A N/A N/A N/A N/A N/A N/A float N/A self num_failures N/A N/A self num_requests N/A self num_failures N/A N/A N/A ZeroDivisionError N/A N/A N/A N/A self num_failures 0 N/A N/A 1.0 N/A N/A 0.0 N/A property avg_response_time N/A N/A self N/A N/A N/A N/A N/A N/A N/A float N/A self total_response_time N/A self num_requests N/A N/A N/A ZeroDivisionError N/A N/A 0 N/A property median_response_time N/A N/A self N/A N/A N/A N/A N/A self response_times N/A N/A 0 N/A N/A median_from_dict N/A self num_requests N/A self response_times N/A property current_rps N/A N/A self N/A N/A N/A N/A N/A N/A self stats last_request_timestamp None N/A N/A 0 N/A slice_start_time N/A max N/A N/A N/A self stats last_request_timestamp 12 N/A int N/A N/A N/A self stats start_time 0 N/A reqs N/A N/A N/A N/A self num_reqs_per_sec get t 0 N/A t N/A range slice_start_time N/A N/A N/A self stats last_request_timestamp 2 N/A N/A avg reqs N/A property total_rps N/A N/A self N/A N/A N/A N/A N/A N/A N/A self stats last_request_timestamp N/A N/A N/A self stats start_time N/A N/A 0.0 N/A N/A N/A self num_requests N/A max N/A N/A N/A self stats last_request_timestamp N/A N/A self stats start_time 1 N/A property avg_content_length N/A N/A self N/A N/A N/A N/A N/A N/A N/A self total_content_length N/A self num_requests N/A N/A N/A ZeroDivisionError N/A N/A 0 N/A property extend N/A N/A self other full_request_history N/A False N/A N/A 
        Extend the data fro the current StatsEntry with the stats from another
        StatsEntry instance. 
        
        If full_request_history is False, we'll only care to add the data from 
        the last 20 seconds of other's stats. The reason for this argument is that 
        extend can be used to generate an aggregate of multiple different StatsEntry 
        instances on the fly, in order to get the *total* current RPS, average 
        response time, etc.
         N/A N/A self last_request_timestamp N/A max N/A self last_request_timestamp N/A other last_request_timestamp N/A N/A self start_time N/A min N/A self start_time N/A other start_time N/A N/A self num_requests N/A N/A self num_requests N/A other num_requests N/A N/A self num_failures N/A N/A self num_failures N/A other num_failures N/A N/A self total_response_time N/A N/A self total_response_time N/A other total_response_time N/A N/A self max_response_time N/A max N/A self max_response_time N/A other max_response_time N/A N/A self min_response_time N/A N/A min N/A self min_response_time N/A other min_response_time N/A other min_response_time N/A N/A self total_content_length N/A N/A self total_content_length N/A other total_content_length N/A full_request_history N/A N/A key N/A other response_times N/A N/A N/A N/A self response_times N/A key N/A N/A N/A N/A self response_times get key 0 N/A N/A other response_times N/A key N/A key N/A other num_reqs_per_sec N/A N/A N/A N/A self num_reqs_per_sec N/A key N/A N/A N/A N/A self num_reqs_per_sec get key 0 N/A N/A other num_reqs_per_sec N/A key N/A N/A i N/A xrange N/A N/A other last_request_timestamp 20 N/A N/A other last_request_timestamp 1 N/A N/A N/A i N/A other num_reqs_per_sec N/A N/A N/A N/A self num_reqs_per_sec N/A i N/A N/A N/A N/A self num_reqs_per_sec get i 0 N/A N/A other num_reqs_per_sec N/A i N/A serialize N/A N/A self N/A N/A N/A N/A name method last_request_timestamp start_time num_requests num_failures total_response_time max_response_time min_response_time total_content_length response_times num_reqs_per_sec N/A self name N/A self method N/A self last_request_timestamp N/A self start_time N/A self num_requests N/A self num_failures N/A self total_response_time N/A self max_response_time N/A self min_response_time N/A self total_content_length N/A self response_times N/A self num_reqs_per_sec N/A unserialize N/A N/A cls data N/A N/A N/A obj N/A cls None N/A data N/A name N/A data N/A method N/A key N/A last_request_timestamp start_time num_requests num_failures total_response_time max_response_time min_response_time total_content_length response_times num_reqs_per_sec N/A N/A N/A setattr obj key N/A data N/A key N/A obj N/A classmethod get_stripped_report N/A N/A self N/A N/A N/A 
        Return the serialized version of this StatsEntry, and then clear the current stats.
         N/A report N/A N/A self serialize N/A N/A N/A self reset N/A report N/A __str__ N/A N/A self N/A N/A N/A N/A N/A fail_percent N/A N/A N/A self num_failures N/A float N/A N/A self num_requests N/A self num_failures 100 N/A N/A N/A ZeroDivisionError N/A N/A fail_percent 0 N/A N/A N/A N/A  %- N/A str STATS_NAME_WIDTH s %7d %12s %7d %7d %7d  | %7d %7.2f N/A N/A N/A N/A self method N/A self name N/A self num_requests N/A %d(%.2f%%) N/A N/A self num_failures fail_percent N/A self avg_response_time N/A N/A self min_response_time 0 N/A self max_response_time N/A N/A self median_response_time 0 N/A N/A self current_rps 0 N/A get_response_time_percentile N/A N/A self percent N/A N/A N/A 
        Get the response time that a certain number of percent of the requests
        finished within.
        
        Percent specified in range: 0.0 - 1.0
         N/A num_of_request N/A int N/A N/A self num_requests percent N/A processed_count 0 N/A response_time N/A sorted N/A N/A N/A self response_times iterkeys reverse True N/A N/A processed_count N/A N/A self response_times N/A response_time N/A N/A N/A N/A self num_requests processed_count num_of_request N/A N/A response_time N/A percentile N/A N/A self tpl N/A N/A N/A  %- N/A str STATS_NAME_WIDTH s %8d %6d %6d %6d %6d %6d %6d %6d %6d %6d N/A N/A N/A N/A self num_requests N/A N/A N/A ValueError Can't calculate percentile on url with no successful requests N/A N/A tpl N/A N/A N/A N/A str N/A self method N/A self name N/A self num_requests N/A N/A self get_response_time_percentile 0.5 N/A N/A self get_response_time_percentile 0.66 N/A N/A self get_response_time_percentile 0.75 N/A N/A self get_response_time_percentile 0.8 N/A N/A self get_response_time_percentile 0.9 N/A N/A self get_response_time_percentile 0.95 N/A N/A self get_response_time_percentile 0.98 N/A N/A self get_response_time_percentile 0.99 N/A self max_response_time N/A N/A StatsError N/A object N/A __init__ N/A N/A self method name error occurences N/A 0 N/A N/A N/A self method method N/A N/A self name name N/A N/A self error error N/A N/A self occurences occurences N/A create_key N/A N/A cls method name error N/A N/A N/A key N/A %s.%s.%r N/A method name error N/A N/A N/A N/A N/A hashlib md5 key hexdigest N/A classmethod occured N/A N/A self N/A N/A N/A N/A self occurences 1 N/A to_name N/A N/A self N/A N/A N/A N/A %s %s: %r N/A N/A self method N/A self name N/A repr N/A self error N/A to_dict N/A N/A self N/A N/A N/A N/A method name error occurences N/A self method N/A self name N/A repr N/A self error N/A self occurences N/A from_dict N/A N/A cls data N/A N/A N/A N/A cls N/A data N/A method N/A data N/A name N/A data N/A error N/A data N/A occurences N/A classmethod N/A avg N/A N/A values N/A N/A N/A N/A N/A sum values 0.0 N/A max N/A len values 1 N/A median_from_dict N/A N/A total count N/A N/A N/A 
    total is the number of requests made
    count is a dict {response_time: count}
     N/A pos N/A N/A total 1 2 N/A k N/A sorted N/A N/A count iterkeys N/A N/A N/A pos N/A count N/A k N/A N/A k N/A pos N/A count N/A k N/A N/A global_stats N/A RequestStats N/A 
A global instance for holding the statistics. Should be removed eventually.
 on_request_success N/A N/A request_type name response_time response_length N/A N/A N/A N/A N/A N/A global_stats max_requests None N/A N/A N/A global_stats num_requests N/A global_stats num_failures N/A global_stats max_requests N/A N/A N/A StopLocust Maximum number of requests reached N/A N/A N/A N/A N/A global_stats get name request_type log response_time response_length N/A on_request_failure N/A N/A request_type name response_time exception N/A N/A N/A N/A N/A N/A global_stats max_requests None N/A N/A N/A global_stats num_requests N/A global_stats num_failures N/A global_stats max_requests N/A N/A N/A StopLocust Maximum number of requests reached N/A N/A N/A N/A N/A global_stats get name request_type log_error exception N/A on_report_to_master N/A N/A client_id data N/A N/A N/A N/A data N/A stats N/A N/A N/A N/A N/A global_stats entries N/A key get_stripped_report N/A key N/A N/A N/A global_stats entries iterkeys N/A N/A N/A N/A N/A N/A global_stats entries N/A key num_requests 0 N/A N/A N/A N/A global_stats entries N/A key num_failures 0 N/A N/A data N/A errors N/A dict N/A N/A k N/A N/A e to_dict N/A N/A k e N/A N/A N/A global_stats errors iteritems N/A N/A global_stats errors N/A N/A on_slave_report N/A N/A client_id data N/A N/A N/A stats_data N/A data N/A stats N/A N/A entry N/A N/A StatsEntry unserialize stats_data N/A request_key N/A N/A entry name N/A entry method N/A N/A N/A request_key N/A global_stats entries N/A N/A N/A N/A global_stats entries N/A request_key N/A StatsEntry global_stats N/A entry name N/A entry method N/A N/A N/A N/A N/A global_stats entries N/A request_key extend entry full_request_history True N/A N/A global_stats last_request_timestamp N/A max N/A global_stats last_request_timestamp N/A entry last_request_timestamp N/A N/A error_key error N/A N/A N/A data N/A errors iteritems N/A N/A N/A error_key N/A global_stats errors N/A N/A N/A N/A global_stats errors N/A error_key N/A N/A StatsError from_dict error N/A N/A N/A N/A N/A global_stats errors N/A error_key occurences N/A error N/A occurences N/A N/A N/A events request_success on_request_success N/A N/A events request_failure on_request_failure N/A N/A events report_to_master on_report_to_master N/A N/A events slave_report on_slave_report print_stats N/A N/A stats N/A N/A N/A N/A N/A console_logger info N/A N/A N/A  %- N/A str STATS_NAME_WIDTH s %7s %12s %7s %7s %7s  | %7s %7s N/A Name # reqs # fails Avg Min Max Median req/s N/A N/A N/A console_logger info N/A - N/A 80 STATS_NAME_WIDTH N/A total_rps 0 N/A total_reqs 0 N/A total_failures 0 N/A key N/A sorted N/A N/A stats iterkeys N/A N/A r N/A stats N/A key N/A total_rps N/A r current_rps N/A total_reqs N/A r num_requests N/A total_failures N/A r num_failures N/A N/A N/A console_logger info r N/A N/A N/A console_logger info N/A - N/A 80 STATS_NAME_WIDTH N/A N/A N/A fail_percent N/A N/A total_failures N/A float total_reqs 100 N/A N/A N/A ZeroDivisionError N/A N/A fail_percent 0 N/A N/A N/A console_logger info N/A N/A N/A  %- N/A str STATS_NAME_WIDTH s %7d %12s %42.2f N/A Total total_reqs N/A %d(%.2f%%) N/A total_failures fail_percent total_rps N/A N/A N/A console_logger info N/A print_percentile_stats N/A N/A stats N/A N/A N/A N/A N/A console_logger info Percentage of the requests completed within given times N/A N/A N/A console_logger info N/A N/A N/A  %- N/A str STATS_NAME_WIDTH s %8s %6s %6s %6s %6s %6s %6s %6s %6s %6s N/A Name # reqs 50% 66% 75% 80% 90% 95% 98% 99% 100% N/A N/A N/A console_logger info N/A - N/A 80 STATS_NAME_WIDTH N/A key N/A sorted N/A N/A stats iterkeys N/A N/A r N/A stats N/A key N/A N/A r response_times N/A N/A N/A N/A console_logger info N/A N/A r percentile N/A N/A N/A console_logger info N/A - N/A 80 STATS_NAME_WIDTH N/A total_stats N/A N/A global_stats aggregated_stats N/A N/A total_stats response_times N/A N/A N/A N/A console_logger info N/A N/A total_stats percentile N/A N/A N/A console_logger info N/A print_error_report N/A N/A N/A N/A N/A N/A N/A len N/A global_stats errors N/A N/A N/A N/A N/A console_logger info Error report N/A N/A N/A console_logger info N/A  %-18s %-100s N/A # occurences Error N/A N/A N/A console_logger info N/A - N/A 80 STATS_NAME_WIDTH N/A error N/A N/A N/A global_stats errors itervalues N/A N/A N/A N/A console_logger info N/A  %-18i %-100s N/A N/A error occurences N/A N/A error to_name N/A N/A N/A console_logger info N/A - N/A 80 STATS_NAME_WIDTH N/A N/A N/A console_logger info N/A stats_printer N/A N/A N/A N/A runners locust_runner N/A True N/A N/A N/A print_stats N/A locust_runner request_stats N/A N/A N/A gevent sleep 2 N/A