The behaviour of geologic material such as granite under impact loading is involved in the study of safety requirements of structures in extreme simulations such as earthquakes, accidental impacts or explosions. Based on incident pulse shaping design of quasi-brittle material for dynamic tests, experiments on granite under uniaxial and active confinement conditions are conducted with the split Hopkinson pressure bar(SHPB). By adding the soft material mass as the pulse shaper, the stress uniformity in the specimens before fracture is ensured and the fluctuation of test data due to incident stress pulse is avoid. The experimental results show that the compressive strength is increasing with the strain rate and the confined pressure. The fragments size decreases with the strain rate. The research method and conclusion could be used to analyze the dynamic behavior of the other brittle materials.