Below is a link to a YouTube video that shows how to use an RF Explorer spectrum analyzer and signal generator in combination to measure the VSWR / return loss of an antenna.
RF Explorer Network Analyzer — VSWR measurement
Low-Cost, Handheld, RF Spectrum Analyzers