All the provisions of law in relation to third persons claiming property levied on by virtue of fieri facias shall extend and apply to claimants of property levied on by virtue of writs of attachment. The trial of the right of property shall not be had until after judgment in favor of the plaintiff in the attachment suit, and proceedings in garnishment shall be in accordance with the provisions of law on that subject.