Pulling someone's leg, putting them on. British origins. Also, ripping the piss, a superlative. Example: When Bob told me that the WTC towers were hit by hijacked terrorist airplanes, I thought he was taking the piss.
TAKING THE PISS
Meaning of TAKING THE PISS in English
Slang English vocab. Английский сленговый словарь. 2012