The machine is used to test compressive strength of building materials such as brick, cement mortar and concrete. The machine applies loading on specimen driven by electro-hydraulic system, the applied loading is digital displayed real time, data is measured by electronic device then saved and processed automatically, the peak loading will be hold and displayed to avoid electric blackout. The test data can be processed automatically and the test report can be printed.