To describe the evolution of residual stresses in epoxy resin during the curing process, a more detailed characterization of its viscoelastic properties is necessary. In this study, we have devised a simplified apparatus for assessing the viscoelastic properties of epoxy resin. This apparatus employs a confining cylinder to restrict the circumferential and radial deformations of the material. Following the application of load by the testing machine, the epoxy resin sample gradually reduces the gap between its surface and the inner wall of the confining cylinder, ultimately achieving full contact and establishing a continuous interface. By recording the circumferential stress-strain on the outer surface of the confining cylinder, we can deduce the variations in material bulk and shear moduli with time. This characterization spans eight temperature points surrounding the glass transition temperature, revealing the bulk and shear relaxation moduli of the epoxy resin. Throughout the experiments, the epoxy resin's viscoelastic response demonstrated a pronounced time-temperature dependency. Below the glass transition temperature, the stress relaxation response progressively accelerated with increasing temperature, while beyond the glass transition temperature, the stress relaxation time underwent a substantial reduction. By applying the time-temperature superposition principle, it is possible to construct the relaxation master curves for the bulk and shear moduli of the epoxy resin. By fitting the data, we can obtain expressions for the constitutive model describing the viscoelastic behavior of the epoxy resin. In order to validate the reliability of the test results, a uniaxial tensile relaxation test was conducted on the epoxy resin casting body. The results show good agreement between the obtained uniaxial relaxation modulus curves and those derived from the bulk and shear relaxation modulus equations, confirming the validity of both the device design and the testing methodology.