Yes either injector or glow plug. Depends on the tester, some have fittings for one or the other, or both.
I'd say glow plug is most common, and usually easiest because you don't have screw with injector lines/possible contamination, and replacing heat shields/gaskets, which you're supposed to do whenever you remove an injector.