loadrunner Hi to all,.i need a help to record a java...

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

S

Siva Thangavel

Guest
Hi to all,.i need a help to record a java desktop application.. i tried with loadrunner 50users pack and while try to record the java application using "java record and replay and java over http" protocol the script is not generating. could anyone please help me to record an java windows application.. Is it possible to record a java application using load runner or not? Thanks
 
@keisuke we tried it says use java over http or java record replay but both are not recording the scripts
 
Architecturally, how have you confirmed that HTTP is the transport for this JAva Application? How do you know that it is not using RM/I, CORBA, Straight sockets, JDBC or some other transport?
 
@james i have used a sample java application only.i used the protocol advisor of LR and then oly decided the protocol. In LR 12.01 50user trail i am not having the protocol what u says RMI,CORBA,JDBC My query is LR can run java or not
 
Yes, LoadRunner can run Java. That's why those protocols exist :) I was asking if there were any errors in the recording log, which may help solve the problem. These could be related classpath or JVM, for example.
 
My first.point to get clarify is can i record and play a java in this trail itself or not Error"cant start replay due to compilation error " And i dnt have any value in JVM but i added class path
 
Yes, the trial includes all protocols except COM/DCOM, GUI and Templates. Which shouldn't prevent you from scripting in any of these, since VuGen does not require a license.
 
Siva, LR can record and replay Java apps. For replay you need to configure JDK path in script's runtime settings in VuGen. How does your Java app communicates with the remote server? Do you know what protocol it uses?
 
You till haven't indicated architecturally how you know your Java is transported across HTTP? Do not look at the protocol analyzer in LoadRunner without knowing the architecture of the application to line up against the recommendation or you will be doing everything in Winsock
 
Igor, i am not seen the application yet. Need to prepare poc for an java applet window appliaction. So i am try with sample but the script not generation. Sry for the inconvenience what i need is a dump for LR in windows
 
James, i do no the architecture of my project still waiting for that fr III m client. But having barrier to cross the LR with windows so only need some help.and dump. Am also new to LR
 
You need to know the client application architecture and the next upstream component. Ideally you need to know the API set used on the client to establish and maintain communications with that next upstream tier. You cannot possibly conduct a POC without that information. Barring that, place all of the Java variants on a dart board, have a friend blindfold you and hand you a dart. Spin you around fifteen times and throw. You have as good a chance at hitting the right combination as a blind dart thrower as you have of making assumptions and proceeding
 
@igor, my sample application is netbeans IDE. I have tried to record this with java over http but in output it shows the appliaction will uses the multi protocol
 
Siva, java over http protocol records HTTP. This is the essence of load testing - record communication and then replay it. So if the app is not communicating with a server there is nothing to record.