testName = testName + ".xml";
}
String gadgetUrl = EndToEndServer.SERVER_URL + '/' + testName;
String url = EndToEndServer.GADGET_BASEURL + "?url=" + URLEncoder.encode(gadgetUrl, "UTF-8");
BasicSecurityTokenDecoder decoder = new BasicSecurityTokenDecoder();
url += "&st=" + URLEncoder.encode(decoder.encodeToken(token), "UTF-8");
if (testMethod != null) {
url += "&testMethod=" + URLEncoder.encode(testMethod, "UTF-8");
}
if (caja) {
url += "&caja=1&libs=caja";