question: public static String JQ ( String request ) throws Exception { int queryStartPos = request . indexOf ( '?' ) ; String query ; String path ; if ( - 1 == queryStartPos ) { query = "" ; path = request ; } else { query = request . substring ( queryStartPos + 1 ) ; path = request . substring ( 0 , queryStartPos ) ; } query = setParam ( query , "wt" , "json" ) ; request = path + '?' + setParam ( query , "indent" , "on" ) ; String response ; boolean failed = true ; try { response = restTestHarness . query ( request ) ; failed = false ; } finally { if ( failed ) { log . error ( "REQUEST FAILED: " + request ) ; } } return response ; }
target:  Makes a query request and returns the JSON string response 