mySerial.begin(115200);
Have you tried a lower baud rate as SoftwareSerial is generally not trusted at high baud rates
I assume from the pin numbers used that the code posted is running on an Arduino and that it is communicating with an ESP. What code is running on the ESP ? Have you got a level shifter between the Arduino and the ESP ?