Advise protocol for a client server application.
We have a client server application.We want to record and replay operations on that application using LR.Using winsock protocol we can only record socket level communication but we are not able to record all the GUI level operations performed on the application using any protocol.
Its a showstopper.Our project is stranded because of this issue.
Suggestions from everyone are welcome.
Re: Advise protocol for a client server application.
If your requirement mandates the operation at a GUI level then you will need methods which can operate at that level. You have three options:
(1) GUI Virtual User - This is, in essence, a QTP virtual user which is running in an OS instance and reporting data back to the controller. Your development model is QTP.
(2) RDP (Remote Desktop) virtual user. You operate in quasi-analog mode against the remote desktop session
(3) Citrix Virtual User. As with the RDP virtual user you operation in a quasi-analog mode against a desktop session.
Both options 2 and 3 bring with them the encumbrances of a terminal server or citrix infrastructure to conduct your test. Option 1 mandates the use of a distinct OS image for each virtual user, so 500 users would require 500 distinct OS sessions for hosting.
What you may want to do to get a better picture of your protocol needs is to deploy a protocol analyzer or examine the port information for the server in your recorded windows sockets session. In most environments servers will speak on their well known ports. As an example, the well known port for web servers is 80, for the secure sockets version of the same is port 443. SSH is port 22, ORACLE and SQL Server also have well known 'default' ports across which they communicate. Knowing the well known port for the communication may take you in a different direction from the use of the Windows Sockets Virtual User or the graphical alternatives. You might also consider the options available with Visual Studio to leverage your thick client's action application source code. For the last item please consult your documentation, Advanced Concepts, creation of virtual users with Visual Studio (using C or VB).
In any case, you will need to examine the licensing models available in your environment. There are few items more frustrating than finding a development model which will work well for your application, going through the process of development of the scripts only to find out that you do not have a license for that virtual user type attached to your controller.
Replace ineffective offshore contracts, LoadRunnerByTheHour
. Starting @ $19.95/hr USD.
Put us to the test, skilled expertise is less expensive than you might imagine.
Twitter: @LoadRunnerBTH @PerfBytes