Skip to main content

Posts

How many load generators do we need for Performance Testing

It's one of the regular questions that will be asked as to how many load generators do we need in Loadrunner or any other tool. It depends upon the testing tool that we use and the configuration of our system (Example: CPU, Memory, Operating System etc.).

Without knowing the exact load generators sometimes the performance testing results may vary. For example, if we need four load generators instead we ran the test with only two load generators and the load generator machines will get slower and the permance testing results may vary.

Recently I have gone through an article where the HP Loadrunner team beautifully explained about how many load generators do we need for our test.

We need to follow these steps to calculate how many load generators do we need. 

First, we need to record the script and enhance the script to work with multiple users and iterations.Once the script is ready, upload the script to controller and run the script with one user using a few minutes delay before the s…

How to Monitor a Vugen Script in Sitescope

Hi guys,

The HP Sitescope team has explained about how to upload a Vugen script to Sitescope and Monitor the script in Sitescope.

Suppose your application is loading slowly and you are not sure where exactly the problem is. Then you can run your script in Sitescope and it will show you where exactly the problem is.

Many people do not know that there is an option in the controller as well where it will show the breakdown of the transaction.

Hope this video helps you.




How to Integrate Sitescope with Loadrunner - Screenshots Attached

The integration of Sitescope with Loadrunner is a simple task that can be done in two minutes.

Launch the controller
Go to System Resource Graphs
Click on Sitescope
Click on Add Measurements
Add the Host Address or IP address of the machine that Sitescope installed as shown the following image.
If it is prompted for the Username and Password give the credentials as required.

If the controller is connected to the Sitescope you are able to see all the counters that the Sitescope has in your machine as shown in the following image.

Once you successfully add the Sitescope you will see all the monitors / counters that the Sitescope has.

Add the measurements that you want to require and click on okay. Here I have added CPU utilization.



Step by Step Procedure on How to add Alerts in Sitescope

Adding alerts in Sitescope is very easy. Before adding the alerts in Sitescope we need to go to the properties as shown in the below image and change the threshold values as required.

Once the threshold setting has been set.  Click on Alert tab and click on * button and a new pop up opens give an alert name and select the alert action as shown in the following image.

Alert Actions: We have different alert actions one of the popular alert action is Email. For example, if the CPU reaches 80 percent trigger an email alert to the required members. We have already set threshold limits at 80 percent as shown in the first image. Now, we will set the remaining settings as shown in the following image.

Once you click on the email action the following image opens.

Once the above settings as shown in the image are set and click on save. You will see as shown in the following image.




How to add Monitors in Sitescope – Its Simple and Easy

Adding monitors of any server or any application:

First, we need add the server to Sitescope and then we can create group and add the monitors. For how to add servers in Sitescope you can go to this link.

Creating Groups

Create Group: Creating group helps to group the monitors of a particular server in a particular group. For example, here I have created group name as ‘Linux Server’.

For creating groups click as shown in the following Image.

and give the group name as show in the image. I have given group name as Linux Server and Click on okay as shown in the following image.


Adding Monitors

Once you create the group we can add the monitors in this group as shown in the following image.

Right click on the group name and Click on new monitor.

 and now add the monitor that you want to monitor for example here I am adding CPU as shown in the following image. Here we can search for the monitors that are required.

And once you add the monitor. You need to select the server name as shown in the follo…

How to add Operating Systems or Servers to Sitescope

How to add Windows or Linux Servers to Sitescope:

In order to monitor a server first we need to add the server to Sitescope. For example, if you install Weblogic on a windows server, first we will add that server or operating system to Sitescope and then we can able to monitor that server as well as the Weblogic Application and its counters.

I will show you how to add a Windows machine and a Linux machine to the Sitescope. 

Adding Windows Machine to Sitescope:

1. Click on Remote Servers Tab on Sitescope
2. Click New Microsoft Windows Remote Server.
3. Enter the IP address of the machine.
4. Give the credential for the machine.
5. Click on save and test.

It will add the server to Sitescope. Once we add the servers we can easily add the monitors / counters that we needed.

Note: In order to add server, you need to have administrative privileges, username and password of that server or operating system.
Adding Linux Machine to Sitescope:Click on Remote Servers
Click on Unix Remote Servers:
Click on Ne…

Basics of Sitescope and Sitescope Different Features in Brief

Once you install the Sitescope you will be given a url which is called localhost: 8080/Sitescope.

Launch the application in the browser. You will see the Sitescope application as shown in the following image.



I will explain briefly on different options that are available in Sitescope.

We have mainly Monitors, Remote Servers, Templates, Preferences, Server Statistics, Tools.

Monitors: In Monitor tab we mainly do adding different monitors For example adding CPU, Memory etc.

Remote Servers: In remote servers tab we add  the servers to the Sitescope for example, if you want to monitor a Linux server first we need to add that server and then we can add the different monitors like CPU.

Templates: We can group a couple of monitors in a template and save it as a template. We have mainly user defined templates and predefined solution templates. We can create our own templates in order to meet our requirements.

Preferences: This is mainly for Sitescope settings. In this section we can create the users…