TestUtils.endSession(true);
// remove by weblog/target
testWeblog = TestUtils.getManagedWebsite(testWeblog);
pingTarget = ptmgr.getPingTarget(pingTarget.getId());
mgr.removeAutoPing(pingTarget, testWeblog);
TestUtils.endSession(true);
// make sure remove succeeded
testAutoPing = null;
testAutoPing = mgr.getAutoPing(autoPing.getId());