Triaxial Compression Test on Rocks. As the stresses are quite large, a special type of equipment is required. In the usual procedure, the specimen is subjected to confining pressure (p) and then deviatoric stress is applied when P is kept constant. The confining pressure P increases the strength of rock.