Chief Minister Pinarayi Vijayan, who moved the resolution, said Pakistan's act was "brutal".
"The House unanimously condemns the Pakistan military's inhuman act against Indian soldiers. We share the grief of the bereaved families of jawans," he said.
Echoing the same sentiments, Opposition leader in the assembly Ramesh Chennithala said Pakistan was indulging in a "shadow war" against India and the beheading of soldiers was the latest proof of this.
Under cover of heavy mortar fire, Pakistani special forces team had sneaked 250 metres across the LoC into the Poonch sector and beheaded two Indian security personnel on May 1.