When testing electrical systems, I like to work in an orderly progression; The guide I linked earlier does that. However, given the fact your charging system failed the first test and the History of the XS, I'd suggest skipping right to the rotor testing.
With the key on - but bike not running, you should be able to detect magnetism at the rotor nut on the left end of the crank. If you can detect no magnetic difference key on or off, then it's time to remove the stator housing (2 screws under left cover at 3 & 9 O'clock on the housing). With the rotor now exposed, set multimeter to Ohms and measure between each copper slip ring - we're looking for a value of moe than 5 ohms - I suspect yours will measure ~ 1 Ohm (and that is your charging problem and also why your battery drains quickly). Prepare the bad rotor for shipment to
@Jim