def METHOD_NAME(aggregator, instance, test_server):
    time.sleep(10)
    requests.get(test_server)
    time.sleep(5)
    check = PumaCheck('puma', {}, {}, None)
    check.check(instance)
    aggregator.assert_metric('puma.max_threads', value=10.0, tags=[])
    aggregator.assert_metric('puma.workers', value=2.0, tags=[])
    aggregator.assert_metric('puma.backlog', value=0.0, tags=[])
    aggregator.assert_metric('puma.booted_workers', value=2.0, tags=[])
    aggregator.assert_metric('puma.pool_capacity', value=10.0, tags=[])
    aggregator.assert_metric('puma.running', value=10.0, tags=[])
    aggregator.assert_metric('puma.requests_count', value=1.0, tags=[])
    aggregator.assert_service_check('puma.connection', PumaCheck.OK)