A man sprayed a mixture of urine and faeces in two supermarkets, a pub and a bookshop in Gloucestershire, a jury at Bristol Crown Court has heard.
Sahnoun Daifallah, 42, of Bibury Road, Gloucester, is alleged to have caused damage estimated at £700,000 last May.
Mr Daifallah pleaded not guilty to four charges of contaminating goods and two of damaging property.
He also denied possession of material to contaminate goods and possession of an offensive weapon.
The court heard he visited the Air Balloon pub near Cheltenham on 14 May 2008 where police were called after he asked a barmaid how much it would cost to rape her.
Learn More (If You Must)