WARNING: This page is about a different car, the 2006 Nissan Titan. However, it is still accessible from the selected car via links, so may be relevant.
Check operation by applying battery voltage to key switch and key lock solenoid.
Fig 1: Checking Operation By Applying Battery Voltage To Key Switch & Key Lock Solenoid
Courtesy of NISSAN MOTOR CO., U.S.A.
CAUTION:
Be careful not to cause burnout of the harness.