Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.

Using LoadRunner to validate your Teradici PCoIP deployment

Micro Focus Expert
Micro Focus Expert
0 0 1,588

(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:

  1. Teradici Connection Manager and Security Gateway
  2. Leostream Connection Broker (Teradici technology partner for connection brokering)
  3. 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

    return 0;

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:


About the Author
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).
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.