Highlighted
Contributor.. Contributor..
Contributor..
515 views

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
­a=
[MsgId: MERR-27040]
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.
[MsgId: MERR-27040]
Action.c(318): Warning -27040: Data Format Extension: Extension: GWT - Conversion of buffer failed. Fault(s): DFE incorrect input data format .

[MsgId: MWAR-27040]
Action.c(318): Error -27040: Data Format Extension: Extension \"GWT\" failed to convert the given data (code=384)
[MsgId: MERR-27040]
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 help/guide.

Please let me know if any more details required.

Please guide/help

0 Likes
3 Replies
Highlighted
Respected Contributor.
Respected Contributor.

Re: LR script failed to replay GWT requests for LR12.57

Vikmar

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.

https://admhelp.microfocus.com/lr/en/12.56-12.57/help/WebHelp/Content/VuGen/t_GWT_DFE.htm?Highlight=OpenJDK

Regards

 

Highlighted
Contributor.. Contributor..
Contributor..

Re: LR script failed to replay GWT requests for LR12.57

thanks for reply 

Debian, Ubuntu, etc. and not for windows

could you please help.

0 Likes
Highlighted
Contributor.. Contributor..
Contributor..

Re: LR script failed to replay GWT requests for LR12.57

Hi,

Could someone please guide me how to get openjdk8 for windows system.

 

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.