The fact stated as a cause of attachment shall not be contested in the action by a mere defense. The defendant's remedy shall be on the bond, but the defendant may in the defendant's discretion sue thereon by way of counterclaim, and in such case shall recover damages as in an original action on such bond.
Iowa Code § 639.15