TPS is basically a potentiometer where the resistance varies as the throttle is turned.
The TPS connector has power (5V?), earth and signal wires. You measure the voltage on the signal wire while slowly opening the throttle. The voltage should slowly rise as you open the throttle. The voltage should not jump around or drop to zero and back up to a voltage as you turn.
The best tool for doing such checks is an old style analog voltage meter.
Others would be able to chime in at specific pinouts and voltage levels.
More modern cars like VE or VF have OBD2 plug where you can plug on an ODB2 adapter and use your phone to read the TPS signal via a phone app. VS has
ALDL wires within ODB plug which is a differet beasty.
You can find the VR/VS service manual
within this post and
DTC list here