HP LoadRunner 11.52 – New Virtual Table Server (VTS)

HP has announced its newer version of its flagship tool HP LoadRunner 11.52. LoadRunner 11.52 has major changes in Virtual Table Server (VTS). In this blog post, we will see about the new features of Virtual Table Server of HP LoadRunner 11.52.

What is Virtual Table Server in HP LoadRunner?

Virtual Table Server is a tool that enables sharing of test data and parameters between LoadRunner Virtual Users (VUsers). Usually performance testers use parameterization in their scripts, but in Virtual Table Server it acts as centralized repository to store data which can be shared between VUsers during the test execution.

Below is the revamped design of new VTS.

Virtual Table Server Admin
Virtual Table Server Admin

Differences between old VTS and new VTS

  1. Old VTS was a windows based application. New VTS is a web based application. By default, it can been accessed using http://localhost:4000, since it is a web based, we can access it remotely and it support IE, Chrome, and Firefox browsers. It runs as windows service; during start up it will automatically starts. Basic authentication and https can be enabled to access remotely.
  2. Old VTS utilizes memory, sometime it might crash. But in new VTS, it is disk oriented using NoSQL data engine which enables high throughput.
  3. You need to include #include “vts2.h” statement and some manual work needs to be done like loading DLL file in each load generator machine. But in new VTS, no need to include the statement and loading DLL files.
  4. New VTS has been integrated to run logic where we can control the execution. Old VTS doesn’t have such integration.
  5. New VTS is now available for Linux Load generators as well.
  6. New VTS now supports Unicode.
  7. Data size also increased. HP has tested up to 10 million rows of data. Performance is consistent.
  8. Old VTS was not supported by HP. But HP fully supports VTS.


How to install/upgrade new VTS?

  • Install HP LoadRunner 11.52 in all machines including load generators
  • Install VTS on a server machine
  • After installation, by default VTS can be accessed using 4000 port, which can be changed.
  • Navigate to http://localhost:4000
  • On the console UI, you can import your data using SQL query or by CSV file as shown below
Virtual Table Server - Import from database
Virtual Table Server – Import from database
  • Create a C language script as shown below:
int   rc = 0;
char  *VtsServer = "";
int   nPort = 8888; 

PVCI2 pvci = 0; 


    pvci = lrvtc_connect(VtsServer,nPort,VTOPT_KEEP_ALIVE);
    lr_log_message("pvci=%d\n", pvci);

    return 0;
  • In Action.c, add some code to retrieve one column from the server and remove from the server at the same time. You can run the action multiple iterations, and it will retrieve one:
    char * cname; //column name
    int ret;
        rc =  lrvtc_retrieve_messages1("cname",";");
        lr_log_message("lrvtc_retrieve_messages1 rc=%d\n", rc);
        lr_log_message("cname is %s", lr_eval_string("{cname}"));
        lr_end_transaction("retrieve_column", LR_AUTO);
        return 0;
    • In vuser_end.c, add API call to close the VTS handle:
    return 0;
  • You can test it in VuGen and then run it in Controller.
  • Turn on the API access port before you execute the script.
  • Like the old VTS, the new one uses 8888 as the port for API to access.
  • It is turned off by default, Navigate to the administrative UI to enable it.

Visit How to setup Virtual Table Server (VTS), download the previous VTS and document.

Thanks for visiting QAInsights! Check out our new portal Testifications.com to get updates on Software Testing related certifications. We’re always posting interesting articles on QAInsights. I request you to subscribe so you don’t miss out anything.

Want to start a blog like this, please visit SpidyDomain to buy cheap web hosting and register domain.

Subscribe to our QAInsights YouTube Channel

Subscribe our free weekly newsletter

Images Courtesy: HP

Once a week we send a digest with the most popular articles.

About NaveenKumar Namachivayam

Hi there! is a passionate and experienced Performance Test Analyst based in Chicago, IL, USA with the skill sets in Manual Testing, Test Automation, Performance Testing, and Web Services. He loves to learn and experiment new trends and models in Software Testing. Please stop by at his personal blogs: NaveenKumarN.in, PerfTractor and Giftt


Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.