Saaleh
7:73 To Thamoud we sent their brother Saaleh. He said, “O my people, worship GOD; you have no other god beside Him. Proof has been provided for you from your Lord: here is GOD’s camel, to serve as a sign for you. Let her eat from GOD’s land, and do not touch her with any harm, lest you incur a painful retribution.
7:74 “Recall that He made you inheritors after `Aad, and established you on earth, building mansions in its valleys, and carving homes from its mountains. You shall remember GOD’s blessings, and do not roam the earth corruptingly.”
Was the camel a test and/or a miracle?
It seems to be both. Both the miracle is a miracle and a test.
Messengership: An Essential Test