We applied the mosaic crystal model to calculate the dynamical x-ray rocking curves for a coherently-strained GaAs/In0.3Ga0.7As/GaAs single quantum well grown epitaxially on a GaAs (001) substrate for a number of reflection profiles, including 004, 113, 224, 044 and 444 reflections. We show that it is possible to estimate the threading dislocation density in the quantum well, and therefore detect the pseudomorphic-metamorphic transition, using the widths or normalized intensities of the primary quantum well Bragg peak, or using the widths of the Pendellösung fringes associated with the quantum well structure.