The application for the writ shall be made by the party to the suit or proceeding in which the writ is required, or by his agent or attorney. It must be verified by the applicant; and shall state-
(1) The title and nature of the suit or proceeding in regard to which the testimony of such prisoner is desired.
(2) That the testimony of such prisoner is material and necessary to such party on the trial or hearing of such suit or proceeding, as he is advised by counsel and verily believes. (1868-9, c. 116, s. 39; Code, s. 1665; Rev., s. 1857; C.S., s. 2244.)