How to use upload_planned_rps method in yandex-tank

Best Python code snippet using yandex-tank

plugin.py

Source:plugin.py Github

copy

Full Screen

...189 group=group,190 host=panel,191 type='monitoring'))192 self.monitoring_metrics[metric_name].put(df)193 def upload_planned_rps(self):194 """ Uploads planned rps as a raw metric """195 df = self.parse_stpd()196 if not df.empty:197 self.rps_metrics['planned_rps_metrics_obj'] = self.data_session.new_true_metric(198 meta=dict(self.meta, name=self.PLANNED_RPS_METRICS_NAME, source='tank'),199 raw=True, aggregate=False, parent=None, case=None)200 self.rps_metrics['planned_rps_metrics_obj'].put(df)201 def upload_actual_rps(self, data, last_piece=False):202 """ Upload actual rps metric """203 if self.rps_metrics['actual_rps_metrics_obj'] is None:204 self.rps_metrics['actual_rps_metrics_obj'] = self.data_session.new_true_metric(205 meta=dict(self.meta, name=self.ACTUAL_RPS_METRICS_NAME),206 raw=True, aggregate=False, parent=None, case=None207 )...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run yandex-tank automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful