# Testing PC power cable

I know this is going to sound like a dumb question but is there a way to test a power cable?

Background: I was having issues with my 3D printer. I brought it over to a friends place and it worked fine using a 14 AWG. The power cable I was using that was causing troubles was 18 AWG. So I brought it home and replaced it with the 14 AWG power cable and it worked fine. The power cables themselves are regular PC power cables. The power cable is plugged into an APC surge protector. Some variables are -

• Maybe the power supply for the printer needs a 14 AWG cable?
• Maybe the cable was just went bad and it can still use an 18 AWG?

I would like to know if it is possible to (safely) test a power cable to determine if there is a fault or was made with cheap materials?

3. Apply a known current of several amps through each wire of the cable in turn and measure the voltage drop along the conductor carrying the current. Calculate the resistance from $$\ R = \frac V I \$$. Compare this with the value calculated on one of the many web voltage drop calculators. Compare the readings from the L, N and E conductors. Is one higher than the other?