def get_widget(self): if not self.widget: if self.get_load().hold: label = "Siege Benchmark" else: label = None self.widget = ExecutorWidget(self, label) return self.widget
def get_widget(self): if not self.widget: if self.script is not None: label = "Script: %s" % os.path.basename(self.script) else: label = None self.widget = ExecutorWidget(self, label) return self.widget
def get_widget(self): if not self.widget: simulation = self.get_scenario().get('simulation', None) if simulation == "TaurusSimulation_%s" % id(self): simulation = 'generated script' if simulation is None: simulation = os.path.basename(self.script) self.widget = ExecutorWidget(self, 'Gatling: %s' % simulation) return self.widget
def get_widget(self): """ Add progress widget to console screen sidebar :return: """ if not self.widget: label = "%s" % self self.widget = ExecutorWidget(self, "ab: " + label.split('/')[1]) return self.widget
def get_widget(self): if not self.widget: if self.script is not None: label = "Grinder: %s" % os.path.basename(self.script) else: label = None self.widget = ExecutorWidget(self, label) if self.get_load().ramp_up: self.widget.duration += self.get_load().ramp_up # because we have ramp-down equal to rampup return self.widget
def get_widget(self): """ Add progress widget to console screen sidebar :rtype: ExecutorWidget """ if not self.widget: label = "%s" % self self.widget = ExecutorWidget(self, label) return self.widget
def get_widget(self): """ Add progress widget to console screen sidebar :return: """ if not self.widget: proto = "https" if self.pbench.use_ssl else 'http' label = "Target: %s://%s:%s" % (proto, self.pbench.hostname, self.pbench.port) self.widget = ExecutorWidget(self, label) return self.widget
def get_widget(self): """ Add progress widget to console screen sidebar :rtype: ExecutorWidget """ if not self.widget: if self.locustfile is not None: label = "Script: %s" % os.path.basename(self.locustfile) else: label = None self.widget = ExecutorWidget(self, label) return self.widget
def get_widget(self): if not self.widget: label = "%s" % self self.widget = ExecutorWidget(self, "Molotov: " + label.split('/')[1]) return self.widget
def get_widget(self): if not self.widget: self.widget = ExecutorWidget(self, self.tsung_controller_id) return self.widget