Using LoadRunner to validate your Teradici PCoIP deployment
(This post was written by Sebastian Stoica. Edited by Gaspare Marino)
Teradici PCoIP (PC over IP) is a remote display protocol for delivering remote desktops and applications. While there are several display protocols that exist in desktop virtualization such as RDP and ICA, PCoIP has become the most prevalent protocol for this purpose.
The feature that makes the PCoIP protocol really unique in a family of remote desktop protocols is hardware implementations of the protocol, including both servers and clients.
Desktop virtualization is a valuable technology platform. It solves several business problems and provides several benefits, such as:
- Cost savings
- Simplified management
- Enhanced security
- Increased productivity
But before replacing your standard desktop infrastructure with a VDI solution that implements PCoIP protocol, you should check the way it behaves under heavy load. The schema below shows a simplified view of our Teradici test environment using Micro Focus LoadRunner:
We chose this deployment model based on Teradici’s recommendation for large-scale deployments:
- Teradici Connection Manager and Security Gateway
- Leostream Connection Broker (Teradici technology partner for connection brokering)
- Desktops with Teradici PCoIP Agent
To interact with Teradici environments, LoadRunner uses a PCoIP client that is bundled together with the product. It was built based on Teradici software client SDK.
Load testing your deployment is easy. You just need to create a new script using Teradici PCoIP protocol (as shown in the picture below) and record user actions.
Once LoadRunner PCoIP Client is launched, enter the hostname or IP address of your PCoIP Connection Manager and click Next.
Choose one of the available desktops from the list, and click the Connect button.
The PCoIP client will connect to the desktop.
Perform the desired actions (open applications, work with them, etc.) and once you have covered all relevant activities, disconnect the client and stop recording.
VuGen will automatically generate code to map all these actions. Below is an example of generated script:
pcoip_set_broker_address("MyConnectionManager", "443"); //Sets the address and port of the broker machine (Teradici Connection Manager)
pcoip_set_auth("Username", "Domain", lr_decrypt("5b863ef0aa93ad7f81c1e859ad7f8")); //Sets credentials for connecting to the remote desktop (authentication management is performed by Leostream Connection Broker)
pcoip_connect_desktop("10206"); //Connects to the remote desktop with id 10206
pcoip_set_display(720, 576); //Sets the display resolution of the remote desktop to 720x576
pcoip_mouse_click(259, 234, LEFT_BUTTON, 0, "snapshot1"); //Emulates a left click at 259/234 coordinates and takes a snapshot of the screen
pcoip_mouse_click(45, 245, LEFT_BUTTON, 0, "snapshot2");
pcoip_mouse_click(45, 245, LEFT_BUTTON, 0, "snapshot3");
pcoip_type("Hello PCoIP"); //Emulates typing “Hello PCoIP”
pcoip_mouse_click(695, 5, LEFT_BUTTON, 0, "snapshot5");
pcoip_mouse_click(405, 280, LEFT_BUTTON, 0, "snapshot6");
pcoip_disconnect(); //Disconnects the session
Your script is ready! Now you can design your scenario, and emulate customer activity to validate your VDI environment - no surprises!
Visit the online LoadRunner Help Center to find more technical information about the PCoIP protocol.
If you would like to find information and submit questions about Performance Engineering best practices and methodology, visit our Performance Testing community.
For more videos, visit our YouTube channel here.
For webinars about LoadRunner, Performance Center and related technologies, visit our Performance Engineering YouTube channel.
Learn more at:
Gaspare Marino is the WW Product Marketing Manager for LoadRunner and Performance Center. He currently works with customers to facilitate the creation and management of a Performance Engineering Center of Excellence (PCoE).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
- Shlomi Nissim on: Performance Center integration with InfluxDB
- Gen-Cheng on: How-to run JMeter test in LoadRunner / Performance Center 12.55
- wsdesjarlais on: Explore the new online screen enhancements in Performance Center 12.55
- LoadTestGuy on: Enhancing the number of TruClient Vusers using Terminal Services in Load Testing software
- Manoj_Mahanta on: Uncover the potential of Network Virtualization Insights—now available from LoadRunner!
- Alftio on: Get a new way to manipulate JSON with load testing in LoadRunner
- on: Tips for browser emulation in network-level scripts