You searched for: “pathomimesis
pathomimesis (s) (noun), pathomimeses (pl)
The mimicry of the symptoms of an illness or injury: Some students try deliberately to imitate the signs of being sick, known as pathomimesis, in order to achieve a desired objective, like staying home from school.