Absent Member.
Absent Member.

Java Over HTTP - Need Help in Enhancing the script

We are using Loadrunner 11.00 using “Java Over Http” protocol to record a java based web application ( suggested by protocol advisor). We have recorded the flow and the script is running without any issues for a single user.

To Enhance the Script for mutiple users,

We would like to know how parameterization and correlation can be done in Java Over HTTP proctocol.

If there are any video or documents/ links available kindly share it.  And also when we checked the help file there are only two  functions listed , i.e





Are these functions can be used for parameterization and correlation?? if yes,  please let me know the steps.

Thanks in advance.






1 Reply
Absent Member.. Absent Member..
Absent Member..

Re: Java Over HTTP - Need Help in Enhancing the script

Hello Dhaya,

 Those 2 functions can be used to manipulate the Deserialized Java oject captured in your script. As per my understanding/experience in Java Over HTTP,  the correlation/parameterization have to happen in the captured Java object. Then the modified Java object will be sent as part of the HTTP Post.


GroupEditBeanBA0 - refers the deserialzed java object (stored as a xml)


GroupBean GroupBean = (GroupBean) JavaHTTP.readObject(GroupEditBeanBA0);

 long [] empids=(long[])lrapi.lr2.fieldGetter(GroupBean,"m_employeeIds");


One thing sure is, its not staraight forward scripting(like web HTTP). We should have an insight about the java classes built for the application (atleast what are the methods,properties etc ). Because filedGetter&filedSetter manipulates those object members only.


Hope this helps.





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.