Settlement attacks seem broken in general, what with attackers spawning outside the walls and all.. Currently there seems to be only two ways to do this. A: Take down all your defenses and sleep for 24 hours at a different settlement, it will probably be under attack B: place raiders/super mutants with console commands TCAI, TAI, then player.placeatme [iD]