Nocturnal penile tumescence test (NPT test)refers to a study performed to evaluate erections during sleep that helps clarify the causes of erectile dysfunction. Nocturnal penile tumescence test is also called NPT test.