public List<Result> querySts(SiteSpec siteSpec, String query, Map<String, String> params, boolean persistResult, TestSession testSession) {
setGazelleTruststore();
String environmentName = "default";
Session mySession = new Session(Installation.instance().warHome(), testSession.toString());
mySession.setEnvironment(environmentName);
if (mySession.getTestSession() == null)
mySession.setTestSession(testSession);
mySession.setSiteSpec(siteSpec);
mySession.setTls(true);
String stsTpName = Installation.instance().propertyServiceManager().getStsTpName();
TestInstance testInstance = new TestInstance(stsTpName, TestSession.DEFAULT_TEST_SESSION);
List<String> sections = new ArrayList<String>();
sections.add(query);
XdsTestServiceManager xtsm = new XdsTestServiceManager(mySession);
List<Result> results = runTestInstance(xtsm, environmentName,testSession,siteSpec,testInstance,sections,params,true, persistResult);
return results;
}