Skip to main content

Setting Up Visual Studio Load Test Rig In AWS

Setup Instances in AWS Account:

Steps to be followed:

1.Launch Instance:




















  2.Configure Security Groups to enable Ping as below:

 








Setting Up Agent Machine:

1.Launch the Instance
·         Make sure the Agent and Controller have the same username and password with Admin Privileges.

2.Disable Firewall:





















Check for Windows Firewall properties:
·         File and printer Sharing
 














3.Edit hosts file of the Machines:

Enter the following:
·         <private IP of Controller machine > <public DNS of Controller machine >
·         <public IP of Controller machine > <public DNS of Controller machine >
·         <private IP of Controller machine > <host Computer Name of Controller machine >

4.Edit QTAgent.exe.config file:
·         Always stop Visual Studio Test Agent (services.msc) before editing this file and then start.
o   Stop cmd Command: net stop vsttagent
o   Start cmd Command: net start vsttagent
·         Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\TestAgent\Common7\IDE

<add key="BindTo" value="<Host private IP address>"/>
5.Install Agent as Administrator User.
6.Configure the Test Agent as below:


7.Message of successful configuration:

Setting Up Controller Machine:


1.Launch the Instance
·         Make sure the Agent and Controller have the same username and password with Admin Privileges.

2.Disable Firewall:



3.Edit hosts file of the Controller Machines:


Enter the following:
o   <private IP of Agent machine> <public DNS of Agent machine >
o   <public IP of Agent machine > <public DNS of Agent machine >
o   <private IP of Agent machine > <host Computer Name of Agent machine >

4.Edit QTController.exe.config file:
·         Always stop Visual Studio Test Controller (services.msc) before editing this file and then start.
o   Stop cmd Command: net stop vsttcontroller
o   Start cmd Command: net start vsttcontroller
·         Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\TestController\Common7\IDE

<add key="BindTo" value="<host IP Address>"/>
5.Install Controller as Administrator User.
6.Configure the Test Controller as below:


7.Message of successful configuration:


References:



Comments

Popular posts from this blog

Loadrunner ~ Performance Testing with Citrix Protocol : Recording Tips n Tricks!

1 . INTRODUCTION 1.1 Citrix Protocol in load runner Recording Tips When recording a script, be sure to follow these guidelines in order to create an effective script. Single vs. Multi-Protocol Scripts When creating a new script, you may create a single protocol or multi-protocol script. If you plan to record a simple Citrix ICA session, use a single protocol script. When recording an NFUSE Web Access session, however, you must create a multi-protocol script for Citrix ICA and Web (HTML/HTTP), to enable the recording of both protocols. Record into Appropriate Sections Record the connection process into the vuser_init section, and the closing process into the vuser_end section. This will prevent you from performing iterations on the connecting and disconnecting. Run a Clean Session When recording a session, make sure to perform the complete business process, starting with the connection and ending with the cleanup. End your session at a point from where you could sta...

Peformance Testing with Citrix Protocol : Citrix ICA Vuser Functions (CTRX)

Mouse Functions ctrx_mouse_click Emulates a mouse click on a Citrix client ctrx_mouse_double_click Emulates a double mouse click on a Citrix client ctrx_mouse_down Emulates a mouse down click on a Citrix client ctrx_mouse_move Emulates a mouse move on a Citrix client sent to a Citrix server. ctrx_mouse_up Emulates a mouse up click on a Citrix client ctrx_mouse_click Emulates a mouse click on a Citrix client sent to a Citrix server. int ctrx_mouse_click( long x_pos, long y_pos, long mouse_button, long key_modifier, char *window_name, [CONTINUE_ON_ERROR,] CTRX_LAST ); int ctrx_obj_mouse_click( const char *obj_desc, long x_pos, long y_pos, long mouse_button, long key_modifier, char *window_name, [CONTINUE_ON_ERROR,] CTRX_LAST ); obj_desc A description of the object recorded if the agent is installed on the server. x_pos The horizontal dist...

How to use JavaScript in your HP LoadRunner scripts?

     JavaScript is rapidly becoming the driving force behind the Internet. Any website, small or large, has some parts written with JavaScript to enhance the user experience. Browser vendors constantly improve the speed in which JavaScript is parsed and executed in their browsers. This increase in speed is now to the point that it’s become one of the key benchmarks for every browser version. When we performance test a website, a web application, or even a REST service we can be sure that JavaScript plays some role in the business process we are about to test. Why would we want to use JavaScript in our script? There are four main reasons: JavaScript often offers a more intuitive experience which is easier to implement than in C. The JavaScript regular expression library simplifies the challenge of working with regular expressions. Numerous JavaScript libraries that assist with any coding task (e.g. string manipulation) are available. Client-side logic is oft...