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 distance of t

ATM API Loadtesting with Sybase ASE using LOADRUNNER 12.60

Introduction            SAP ASE   (Adaptive Server Enterprise), originally known as   Sybase   SQL Server, and also commonly known s   Sybase   DB or   Sybase ASE , is a relational model database server product for businesses developed by   Sybase   Corporation which became part of   SAP  AG. Metrics Considered for load testing of ATM APIs ·          Transaction per Minute (TPM) e.g : 600 TPM ·          Transaction per second (TPS) e.g: 10 TPS Setting up Database connection ODBC Data Source Administrator For 32 bit: C:\Windows\system32\ odbcad32 For 34 bit: C:\Windows\SysWOW64\ odbcad32 Add a new Data Source for Sybase ASE                                  LR Scripting: Web-HTTP/HTML Protocol Action () {          lr_start_transaction ( " P_API_XXXXXX_XXXXXX _ExecuteQuery" );        //Establishing ODBC driver Connection // Connection String for Sybase ASE : //ConnectionString=Dsn={ODBC Reference Name};Uid={use