def __get_datapoint(self, n):
        point = DataPoint(n)
        overall = point[DataPoint.CURRENT].get('', KPISet())
        overall[KPISet.CONCURRENCY] = r(100)
        overall[KPISet.SAMPLE_COUNT] = int(100 * r(1000))
        overall[KPISet.FAILURES] = overall[KPISet.SAMPLE_COUNT] / 2.0
        overall[KPISet.AVG_RESP_TIME] = r(100)
        overall[KPISet.AVG_CONN_TIME] = overall[KPISet.AVG_RESP_TIME] / 3.0
        overall[KPISet.AVG_LATENCY] = 2.0 * overall[
            KPISet.AVG_RESP_TIME] / 3.0
        overall[KPISet.PERCENTILES]['25'] = r(10)
        overall[KPISet.PERCENTILES]['50'] = r(20)
        overall[KPISet.PERCENTILES]['75'] = r(30)
        overall[KPISet.PERCENTILES]['90'] = r(40)
        overall[KPISet.PERCENTILES]['99'] = r(50)
        overall[KPISet.PERCENTILES]['100'] = r(100)
        overall[KPISet.RESP_CODES][rc()] = 1
        return point
dataset/ETHPy150Open Blazemeter/taurus/tests/modules/test_consoleStatusReporter.py/TestConsoleStatusReporter.__get_datapoint/original