You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the response times are high (15-20s), yandextank loses some of statistics. For example, tank had made 28 requests (according to logs), but only 22 are displayed in stats. Sometimes even more is lost, with 3-5 requests only displayed.
Some more info, that may be useful:
My python code for bfg:
# -*- coding: utf-8 -*-importosimportjsonimportlogginglog=logging.getLogger(__name__)
importrequestsasrclassLoadTest(object):
def__init__(self, gun):
self.gun=gunself.addr=self.gun.get_option("address")
defcase1(self, missile):
withself.gun.measure('test') asm:
try:
res=r.post(self.addr)
exceptr.exceptions.Timeout:
m['proto_code'] =601exceptException:
m['proto_code'] =602else:
m['proto_code'] =res.status_codetry:
log.info(res.content)
exceptException:
log.info('Error!!!')
defsetup(self, param):
''' this will be executed in each worker before the test starts '''passdefteardown(self):
''' this will be executed in each worker after the end of the test '''os._exit(0)
return0
When the response times are high (15-20s), yandextank loses some of statistics. For example, tank had made 28 requests (according to logs), but only 22 are displayed in stats. Sometimes even more is lost, with 3-5 requests only displayed.
Version of tank: YandexTank/1.12.6
My log:
tmp_log.txt
My config:
The text was updated successfully, but these errors were encountered: