set query string as testcase is query is empty