Equip Jarate, then left-click.
That is it — the Sniper's jar of urine is a thrown weapon, so there is no charge or aim mode to worry about. Point and click, and anything caught in the splash takes extra damage from other sources for a short while.
It is at its best used before a push rather than during one, since the damage bonus is only useful if your team is there to take advantage of it.