raillery (n.)

"good-humored ridicule," 1650s, from rail (v.) + -ery, or perhaps from French raillerie, from Middle French railler "to tease" (see rail (v.1)).