how to test the active passive buzzer output ?

I am a little of a beginner in electronics but I wanted to test my piezo sensing to vibrations so I connected it to my voltmeter and started to knock and make some sounds hoping that i will get some voltage from it and I didn't so I don't really know how to test or why what i have tried didn't work

I expect that any voltage produced is too transitory for your meter to detect. Try connecting it to an Arduino as described here.