public static void end(HttpServletRequest req) { if (!allowed) return; if (req == null) return; if (tld.getBoolean()) { String c = getCookie(req); if (c != null) { synchronized (loadtestClients) { loadtestClients.put(c, tld.getMap()); } } } tld.remove(); }
public static boolean isLoadPerformanceMode() { return allowed && tld.getBoolean(); }