Metal would heat up too much. I wouldn't worry about the glass, after all test tubes are heated in science classes all the time.