Skip to main content

Posts

Showing posts from 2018

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

Visual Studio Webtest : Adding Timeout Plugin for Requests

Introduction: There are a wide range of applications which perform according to various circumstances.Some are fast and some are slow.When we hit a particular request ,there is a timeout value set to determine whether the request has been processed within the desired time limit set.In order to set the request timeout property there is an option in Visual Studio Webtest for each request properties to set the Timeout value. But if there are a large no. of requests in your Webtest ,changing the value for each and every request is a tedious task.But not to worry,this is where the Webtest plugins comes in handy! The request timeout property for the all the requests inside a Webtest can manged with a single property.Here are steps which has to be followed : 1.Create a Web Performance and Load Test Project in Visual Studio as shown below : 2.Right click the project and add a new item : 3.Choose Class item from the menu and give desired name for the plugin file : 4.

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 th