本文整理汇总了Python中tankcore.AbstractPlugin类的典型用法代码示例。如果您正苦于以下问题:Python AbstractPlugin类的具体用法?Python AbstractPlugin怎么用?Python AbstractPlugin使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了AbstractPlugin类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.end = None
self.poll = None
self.prepare = None
self.start = None
self.postprocess = None
开发者ID:wd5,项目名称:yandex-tank,代码行数:7,代码来源:ShellExec.py
示例2: __init__
def __init__(self, core):
''' Constructor '''
AbstractPlugin.__init__(self, core)
self.interval = "10s"
self.disk_limit = 2048 # 2 GB
self.mem_limit = 512 # 0.5 GB
self.last_check = 0
开发者ID:greggyNapalm,项目名称:yandex-tank,代码行数:7,代码来源:ResourceCheck.py
示例3: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.decoder = MonitoringDataDecoder()
self.mon_data = {}
def create_storage():
return {
'avg': defaultdict(list),
'quantiles': defaultdict(list),
'threads': {
'active_threads': []
},
'rps': {
'RPS': []
},
'http_codes': defaultdict(list),
'net_codes': defaultdict(list),
}
self.overall = create_storage()
self.cases = defaultdict(create_storage)
self.start_time = None
self.end_time = None
self.show_graph = None
self.template = None
开发者ID:sklochkov,项目名称:yandex-tank,代码行数:25,代码来源:Report.py
示例4: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.cause_criteria = None
self.criterias = []
self.custom_criterias = []
self.counting = []
self.criteria_str = ''
开发者ID:pr0n1x,项目名称:yandex-tank,代码行数:7,代码来源:Autostop.py
示例5: __init__
def __init__(self, core):
self.log = logging.getLogger(__name__)
AbstractPlugin.__init__(self, core)
module_path = self.get_option("module_path")
module_name = self.get_option("module_name")
sys.path.append(module_path)
self.module = __import__(module_name)
开发者ID:MekaGem,项目名称:yandex-tank,代码行数:7,代码来源:guns.py
示例6: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
AbstractInfoWidget.__init__(self)
lines = open(os.path.dirname(__file__) + '/tips.txt').readlines()
line = random.choice(lines)
self.section = line[:line.index(':')]
self.tip = line[line.index(':') + 1:].strip()
self.disable = 0
开发者ID:2naive,项目名称:yandex-tank,代码行数:8,代码来源:TipsAndTricks.py
示例7: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
Thread.__init__(self)
self.daemon = True # Thread auto-shutdown
self.port = 8080
self.last_sec = None
self.server = None
self.cache = DataCacher()
开发者ID:MekaGem,项目名称:yandex-tank,代码行数:8,代码来源:plugin.py
示例8: __init__
def __init__(self, core):
'''
Constructor
'''
AbstractPlugin.__init__(self, core)
self.loadosophia = LoadosophiaClient()
self.loadosophia.results_url = self.REDIR_TO
self.project_key = None
开发者ID:wd5,项目名称:yandex-tank,代码行数:8,代码来源:Loadosophia.py
示例9: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.screen = None
self.render_exception = None
self.console_markup = None
self.remote_translator = None
self.info_panel_width = '33'
self.short_only = 0
开发者ID:wd5,项目名称:yandex-tank,代码行数:8,代码来源:ConsoleOnline.py
示例10: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.out_file = None
self.process = None
self.concurrency = 0
self.options = None
self.url = None
self.requests = None
开发者ID:angelina666,项目名称:yandex-tank,代码行数:8,代码来源:ApacheBenchmark.py
示例11: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
Thread.__init__(self)
self.daemon = True # Thread auto-shutdown
self.port = 8080
self.last_sec = None
self.server = None
self.interval = 60
self.quantiles_data = []
self.redirect = ''
开发者ID:wd5,项目名称:yandex-tank,代码行数:10,代码来源:WebOnline.py
示例12: __init__
def __init__(self, core):
'''
Constructor
'''
AbstractPlugin.__init__(self, core)
self.loadosophia = LoadosophiaClient()
self.loadosophia.results_url = None
self.project_key = None
self.color = None
self.title = None
开发者ID:angelina666,项目名称:yandex-tank,代码行数:10,代码来源:Loadosophia.py
示例13: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.jmeter_process = None
self.args = None
self.original_jmx = None
self.jtl_file = None
self.jmx = None
self.user_args = None
self.jmeter_path = None
self.jmeter_log = None
开发者ID:denistimofeev,项目名称:yandex-tank,代码行数:10,代码来源:JMeter.py
示例14: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.jobno = None
self.default_target = None
self.config = None
self.process = None
self.monitoring = MonitoringCollector()
self.die_on_fail = True
self.data_file = None
self.mon_saver = None
开发者ID:denistimofeev,项目名称:yandex-tank,代码行数:10,代码来源:Monitoring.py
示例15: __init__
def __init__(self, core):
''' Constructor '''
AbstractPlugin.__init__(self, core)
self.loadosophia = LoadosophiaClient()
self.loadosophia.results_url = None
self.project_key = None
self.color = None
self.title = None
self.online_buffer = []
self.online_initiated = False
self.online_enabled = False
开发者ID:2naive,项目名称:yandex-tank,代码行数:11,代码来源:Loadosophia.py
示例16: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.jmeter_process = None
self.args = None
self.original_jmx = None
self.jtl_file = None
self.jmx = None
self.user_args = None
self.jmeter_path = None
self.jmeter_log = None
self.start_time = time.time()
self.jmeter_buffer_size = None
开发者ID:alepharchives,项目名称:yandex-tank,代码行数:12,代码来源:JMeter.py
示例17: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.process = None
self.phout_import_mode = 0
self.did_phout_import_try = False
self.phantom_path = None
self.eta_file = None
self.processed_ammo_count = 0
self.config = None
self.stepper = None
self.phantom = None
self.phantom_start_time = time.time()
开发者ID:denistimofeev,项目名称:yandex-tank,代码行数:12,代码来源:Phantom.py
示例18: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.process = None
self.second_data_listeners = []
self.preproc_out_offset = 0
self.buffer = []
self.second_data_draft = []
self.preproc_out_filename = None
self.cumulative_data = SecondAggregateDataTotalItem()
self.reader = None
self.time_periods = [ tankcore.expand_to_milliseconds(x) for x in self.default_time_periods.split(' ') ]
self.last_sample_time = 0
开发者ID:wd5,项目名称:yandex-tank,代码行数:12,代码来源:Aggregator.py
示例19: __init__
def __init__(self, core):
self.log = logging.getLogger(__name__)
AbstractPlugin.__init__(self, core)
self.gun_type = None
self.start_time = time.time()
self.stepper_wrapper = StepperWrapper(self.core, BFGPlugin.SECTION)
self.log.info("Initialized BFG")
self.gun_classes = {
'log': LogGun,
'sql': SqlGun,
'custom': CustomGun,
}
开发者ID:2naive,项目名称:yandex-tank,代码行数:13,代码来源:plugin.py
示例20: __init__
def __init__(self, core):
AbstractPlugin.__init__(self, core)
self.config = None
self.process = None
self.predefined_phout = None
self.phout_import_mode = False
self.did_phout_import_try = False
self.phantom_path = None
self.eta_file = None
self.processed_ammo_count = 0
self.phantom_start_time = time.time()
self.buffered_seconds = "2"
self.phantom = None
self.cached_info = None
开发者ID:angelina666,项目名称:yandex-tank,代码行数:17,代码来源:Phantom.py
注:本文中的tankcore.AbstractPlugin类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论