You can do this with the editor, take a look at
this guide to learn how to make patrols.
Another option might be to attach the GEN_Wander script to the NPCs in your level. There are several parameters for the script that determine how far they wander, how long they wait in between sessions, etc. This does not give a specific route but can actually look better at times than a predefined patrol and good to know about.