return p.getDeltas().size();
}
public static HarEntry copyHarEntry(HarEntry entry) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException {
Cloner cloner = new Cloner();
return cloner.deepClone(entry);
}
public static HarRequest replaceCookies(HarRequest request, Map<String, String> cookieMap) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException {
for (String name : cookieMap.keySet()) {
request = changeCookieValue(request, name, cookieMap.get(name));