LR script failed to replay GWT requests for LR12.57
LR version : 12.57
GWT version : 2.8.0
GWT communication used : RPC
GWT application is recorded in LR script with DFE enabled and all the necessary War,Class,jar file attached.
after the recording completed ,script was successfully created as GWT requests seen in formatted xml.
When I tried to replay the script it failed at first GWT request it failed with below error.
Error -27040: Data Format Extension: Extension: GWT - ERROR [GWT_DFE] - exception thrown at encode:com.hp.dfe.exceptions.ClassMissingForSerialization: java.lang.ClassNotFoundException: org.apache.http.MethodNotSupportedException
Action.c(318): Error -27040: Data Format Extension: Extension: GWT - GWT DFE ERROR:
The following class is missing in the GWT DFE configuration: org.apache.http.MethodNotSupportedException.
Make sure the used GWT DFE chains are configured correctly, including all .JAR, .CLASS and .GWT.RPC files used by the GWT application.
See the LoadRunner documentation for details.
Action.c(318): Warning -27040: Data Format Extension: Extension: GWT - Conversion of buffer failed. Fault(s): DFE incorrect input data format .
Action.c(318): Error -27040: Data Format Extension: Extension \"GWT\" failed to convert the given data (code=384)
Action.c(318): Error -35065: Failed to convert the data argument (error code = 1) [MsgId: MERR-35065]
I have checked with application team and all the war file,jar and class files are correct and updated.
Please let me know if any more details required.
Re: LR script failed to replay GWT requests for LR12.57
Which JDK version used the developers to compile the application?
If your application is compiled with JDK1.8 or higher, replace the <;LoadRunner>\lib\openjdk32\jre folder with your own OpenJDK 8 or higher JRE before recording a GWT application.