The compound is prepared by refluxing dioxane solution of p-tosylurea (I) or p-tosylisocyanate (II) with 5-methyl-2-pyrazoline (III), with or without evolution of ammonia, respectively.