Highlighted
Absent Member.
Absent Member.
271 views

java record replay Vuser server response query

Hi,

I am new to HP Load Runner and to java RMI(remote method invocation)protocol.

I have tried recording the Sample "stock market" java application provided in HP Load Runner installation directory.

I recorded this sample application by selecting RMI protocol with JNDI extension in the recording options.

The recording was done successfully, as well as the script was replayed successfully without any errors.

But the replay log consisted of only the methods called by the server to process the request.

BELOW IS THE SAMPLE REPLAY LOG FOR JAVA RECORD REPLAY VUSER.

Virtual User Script started at : 2011-05-09 15:49:15
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Actions.
Notify: Transaction "login" started.
Warning: The string 'init' with parameter delimiters is not a parameter.
javax.naming.InitialContext.([Hashtable])
javax.naming.InitialContext.lookup("ObjectFactoryImpl")
Warning: The string 'init' with parameter delimiters is not a parameter.
javax.naming.InitialContext.([Hashtable])
javax.naming.InitialContext.lookup("ObjectFactoryImpl")
StockMarket.ObjectFactoryImpl_Stub.Login([UserInfo])
StockMarket.LoginImpl_Stub.getStockList()
StockMarket.ObjectFactoryImpl_Stub.StockFeed()
StockMarket.StockFeedImpl_Stub.refresh()
Notify: Transaction "login" ended with "Pass" status (Duration: 7.1253).
Ending action Actions.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.


Now I tried to understand this response log in analogy with Web(Http) response log and as we can see that here only the methods call is displayed in terms of response.

(1)Can any one please tell me that are there any other type of response for Java Record replay VUser for RMI protocol.

(2)Does the strong understanding of the Sample RMI application in terms of internal functionality is needed for this VUser type?

(3)How correlation is performed in Java VUser except from the auto correlation option given in recording options.

(4)Also can someone please provide me with any other sample java RMI application.

I am in urgent need of the above information.
It will be a great help if some one can guide me through this.
0 Likes
1 Reply
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: java record replay Vuser server response query

1. It is not similar to to web protocol. If you want to see additional information, please put manual steps for which objects information you are looking for.
2. You must need good knowledge on RMI and how it works, the application behavior.
3. If you know basic knowledge of object manipulation, you can handle it well. Basically you need to extract the response object and use it subsequent request. There is no simple way to explain it, it varies based on the object which you need work on and the methods available etc.
4. Just google you will find many examples on RMI or any other Java protocol. If you know Java, you can able to handle well.
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.