def test_service(self):
        exp_heading = "~Service Statistics~"
        exp_header = "NODE"
        exp_params = [  'batch_errors',
                        'batch_initiate',
                        'batch_queue',
                        'batch_timeout',
                        'batch_tree_count',
                        'client_connections',
                        'cluster_integrity',
                        'cluster_key',
                        'cluster_size',
                        'data-used-bytes-memory',
                        'delete_queue',
                        'err_duplicate_proxy_request',
                        'err_out_of_space',
                        'err_replica_non_null_node',
                        'err_replica_null_node',
                        'err_rw_cant_put_unique',
                        'err_rw_pending_limit',
                        'err_rw_request_not_found',
                        'err_storage_queue_full',
                        'err_sync_copy_null_master',
                        'err_tsvc_requests',
                        'err_write_fail_bin_exists',
                        'err_write_fail_bin_name',
                        'err_write_fail_bin_not_found',
                        'err_write_fail_forbidden',
                        'err_write_fail_generation',
                        'err_write_fail_incompatible_type',
                        'err_write_fail_key_exists',
                        'err_write_fail_key_mismatch',
                        'err_write_fail_not_found',
                        'err_write_fail_parameter',
                        'err_write_fail_prole_delete',
                        'err_write_fail_prole_generation',
                        'err_write_fail_prole_unknown',
                        'err_write_fail_record_too_big',
                        'err_write_fail_unknown',
                        'fabric_msgs_rcvd',
                        'fabric_msgs_sent',
                        'free-pct-disk',
                        'free-pct-memory',
                        'heartbeat_received_foreign',
                        'heartbeat_received_self',
                        'index-used-bytes-memory',
                        'info_queue',
                        'migrate_msgs_recv',
                        'migrate_msgs_sent',
                        'migrate_num_incoming_accepted',
                        'migrate_num_incoming_refused',
                        'migrate_progress_recv',
                        'migrate_progress_send',
                        'migrate_rx_objs',
                        'migrate_tx_objs',
                        'objects',
                        'ongoing_write_reqs',
                        'partition_absent',
                        'partition_actual',
                        'partition_desync',
                        'partition_object_count',
                        'partition_ref_count',
                        'partition_replica',
                        'paxos_principal',
                        'proxy_action',
                        'proxy_in_progress',
                        'proxy_initiate',
                        'proxy_retry',
                        'proxy_retry_new_dest',
                        'proxy_retry_q_full',
                        'proxy_retry_same_dest',
                        'proxy_unproxy',
                        'query_abort',
                        'query_agg',
                        'query_agg_abort',
                        'query_agg_avg_rec_count',
                        'query_agg_err',
                        'query_agg_success',
                        'query_avg_rec_count',
                        'query_fail',
                        'query_long_queue_full',
                        'query_long_running',
                        'query_lookup_abort',
                        'query_lookup_avg_rec_count',
                        'query_lookup_err',
                        'query_lookup_success',
                        'query_lookups',
                        'query_reqs',
                        'query_short_queue_full',
                        'query_short_running',
                        'query_success',
                        'queue',
                        'read_dup_prole',
                        'reaped_fds',
                        'record_locks',
                        'record_refs',
                        'rw_err_ack_badnode',
                        'rw_err_ack_internal',
                        'rw_err_ack_nomatch',
                        'rw_err_dup_cluster_key',
                        'rw_err_dup_internal',
                        'rw_err_dup_send',
                        'rw_err_write_cluster_key',
                        'rw_err_write_internal',
                        'rw_err_write_send',
                        'sindex-used-bytes-memory',
                        'sindex_gc_activity_dur',
                        'sindex_gc_garbage_cleaned',
                        'sindex_gc_garbage_found',
                        'sindex_gc_inactivity_dur',
                        'sindex_gc_list_creation_time',
                        'sindex_gc_list_deletion_time',
                        'sindex_gc_locktimedout',
                        'sindex_gc_objects_validated',
                        'sindex_ucgarbage_found',
                        'stat_cluster_key_err_ack_dup_trans_reenqueue',
                        'stat_delete_success',
                        'stat_deleted_set_objects',
                        'stat_duplicate_operation',
                        'stat_evicted_objects',
                        'stat_evicted_objects_time',
                        'stat_expired_objects',
                        'stat_ldt_proxy',
                        'stat_nsup_deletes_not_shipped',
                        'stat_proxy_errs',
                        'stat_proxy_reqs',
                        'stat_proxy_reqs_xdr',
                        'stat_proxy_success',
                        'stat_read_errs_notfound',
                        'stat_read_errs_other',
                        'stat_read_reqs',
                        'stat_read_reqs_xdr',
                        'stat_read_success',
                        'stat_rw_timeout',
                        'stat_write_errs',
                        'stat_write_errs_notfound',
                        'stat_write_errs_other',
                        'stat_write_reqs',
                        'stat_write_reqs_xdr',
                        'stat_write_success',
                        'stat_zero_bin_records',
                        'storage_defrag_corrupt_record',
                        'sub-records',
                        'system_free_mem_pct',
                        'system_swapping',
                        'total-bytes-disk',
                        'total-bytes-memory',
                        'transactions',
                        'tree_count',
                        'udf_delete_err_others',
                        'udf_delete_reqs',
                        'udf_delete_success',
                        'udf_lua_errs',
                        'udf_query_rec_reqs',
                        'udf_read_errs_other',
                        'udf_read_reqs',
                        'udf_read_success',
                        'udf_replica_writes',
                        'udf_scan_rec_reqs',
                        'udf_write_err_others',
                        'udf_write_reqs',
                        'udf_write_success',
                        'uptime',
                        'used-bytes-disk',
                        'used-bytes-memory',
                        'waiting_transactions',
                        'write_master',
                        'write_prole',  
                    ]
        
        actual_heading, actual_header, actual_params = test_util.parse_output(TestShowStatistics.service_stats)
        self.assertTrue(exp_heading in actual_heading)
        self.assertTrue(exp_header in actual_header)
        self.assertTrue(set(exp_params).issubset(set(actual_params)))
Gets the BlobStorage instance from the API proxy stub map.
dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py/TestShowStatistics.test_service--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/blob_upload.py/_get_blob_storage