More likely to be an inductor, with the green body coat. It will have some DC resistance as well, you would have to connect it up to something other than a simple resistance check to be sure.
Break it apart and you will see the wire. Trying a magnet will not be definitive, as most resistor end caps are steel, while inductors use a ferrite core as well.