A young male sailor was allegedly hog-tied, raped, assaulted with a rubber chicken and smeared with Vegemite and deep heat on his buttocks and genitals by a group of able seamen as part of a "farewell ceremony" on his last night aboard a Royal Australian Navy frigate in 2011.

On Tuesday, four marine technicians appeared before a Defence Force court martial in Sydney and pleaded not guilty to a string of offences including sexual intercourse without consent, forceable confinement and assault occasioning actual bodily harm.

The alleged offences took place aboard HMAS Newcastle.

The alleged attacks by Able Seamen Rohan Martin Angre, Mitchell Mark Summers, Michael Daniel Thompson and Jonathan Lee Walter took place aboard HMAS Newcastle while it was off the coast of Western Australia in August 2011.

Prosecutor Lieutenant-Colonel David Jordan told the court the incidents occurred on the complainant's last night at sea on HMAS Newcastle after a 12-month stint.