HP LoadRunner and Performance Center Blog

Displaying articles for: February 2010

Set up an Oracle Monitor in LoadRunner Using a Baseball Bat [reblogged]

Scott Moore is one of our good friends and partners over at Loadtester, Incorporated - they have some very helpful articles on their website.


This recent article on setting up Oracle monitoring for LoadRunner is really great - Scott writes:


"Whenever I go into a project where previous LoadRunner testing did not include proper monitoring (by some other jive talking turkey who had no clue), there is always a concern by the database administrator when we start asking for permissions to monitor the database server within LoadRunner. After an offline conversation that last about five minutes, they usually understand what we are doing and have no problem giving us access. However, I always keep a baseball bat handy in case that doesn't work."




Read the entire article here...http://www.loadtester.com/set-oracle-monitor-loadrunner-using-baseball-bat


Cheers,


-mt

Roll up your sleeves: what to do when Performance Test Plan is missing

We've all been there.  Working with a performance testing tool and suddenly finding that you don't have all the information you need to acurately configure LoadRunner to simulate  You get the call that you're going to be thrown into the lab next week for performance testing.  This email came to me today and it was a perfect opportunity to explain how to quickly get a simple test plan together, even when the stakeholders for the project are pressuring you.

 

_____________________________________________________________
From: Narayanan, Kathiresan 
Sent: Thursday, February 18, 2010 3:46 AM
To: loadrunner @ hp.com
Subject: (HP LoadRunner and Performance Center Blog) : Multi threading in java vuser loadrunner protocol

  

Hi,

 

I have to design a scenario, where i am using just one user in controller. The scenario is like this, first create a company under company create multiple users.This entire process is in one script. what i did is first created a company then i created user one by one using for loop, but what stakeholders want is , create a company then create users under it in parallel, simultaneously they should be created so we can expect a high load.

 

Could anyone please give me suggestion/program that creates a user simultaneously.

 

 

_____________________________________________________________
From: Tomlinson, Mark
Sent: Thursday, February 18, 2010 12:45 PM
To: Narayanan, Kathiresan
Subject: RE: (HP LoadRunner and Performance Center Blog) : Multi threading in java vuser loadrunner protocol

 

Hi Kathiresan,

 

There are 2 things you should work on before modifying any scripts or scenarios in LoadRunner.

 

First, you need to figure out if you can have a single script for both adding Companies and Users  Your goal is to align your test/script design with the way your stakeholders are thinking and talking about the business. Your test design should easily make sense to the stakeholders.   

 

  •  if they are thinking more like: "We have someone adding a Company and 50 Users in one session" - then you probably could do well to combine the Company and User actions into a single script.

 

  •  if they are thinking more like: "We need to simulate 100 New Companies per hour.  And also 5000 Users per hour across those new Companies." - then separate scripts are probably better. 

 

Next, create a table showing the activities and quantities of each activity for 1 hour.  For instance, how many companies need to be created in a single hour?  How many users need to be created for each company in 1 hour?  Also – how many SIMULTANEOUS Real Users will be doing each of these activities?  This will help you to figure out the maximum quantity of transactions for your test run.  This table will help describe to the stakeholders exactly what the 1 hour test run will do.

 

Activity Trans per User per Hour Total # of Real Users Total Trans/hour
Adding a Company

1

150 150

Adding Users to a Company

150 150 7500

 

And now you are ready to go back to LoadRunner and implement the test…and let’s assume you are going to have the combined activities in one virtual user script:

 

Script Name:  Add Company and Users
Actions:  Init, Action 1, Action 2, End
                Init: Login to the System

                Action 1: Add Company
                Description:  adds a single company to the system and writes the company name, duration 5 minutes
                Test Data:  requires no staged data, but will create a single User login and Company record

                Action 2: Add User to Company
                Description:  adds 50 Users (in a loop) to a single Company…with 55 second delay between each User
                Test Data:  requires a Company record, from Action 1 (above) to which the User will be added

                End:  Logout of the System

Scenario Configuration: 
           
Iteration Pacing:       No iterations configured – script will start and run until completed
            Real World Comparison:  1 virtual user simulates 1 real users in 1 hour (Concurrency Factor = 1)

 

Here are a couple other questions for you to consider about this suggested scenario:      

  • What will be the maximum # of running virtual users?
  • During the test run, when will the Company records be updated?
  • How would you make the test run twice as many transactions in the same 1 hour?

Good luck!!  Smile

 

-mt

Mark's technology predictions for the new year: 2010

Although this is my first public publishing of my technology predictions for the new year, I have always been a person who likes to imagine that I have some magical intuition about the future of technology.  At the same time my experience as a performance tester has taught me:  with technology, all that glitters (happy-shiny-new-toys) isn't gold.  Here are my almost always 100% accurate completely intuitive top ten predictions for technology in the year 2010.


1.  Rich Clients (AJAX, Flex, Silverlight, HTML5) hit the BIG TIME! It's not just a developers preference anymore, since more and more customers are making corporate policies to standardize on at least a few (if not a single) web technology platforms. Standardization will accelerate adoption.   


2.  Cloud Computing will be so ubiquitous, we will start calling it Blue Sky Computing. Everyone will catch some "nice rays" from Google, Amazon and Microsoft. More than predicted, the cost-benefit of distributed computing off-premise will surprise us.


3.  Web 3.0 will emerge from the ambiguous depths of technocracy - at least, someone will have to actually build something cool for a thesis to graduate this year, eh?  


4.  Application teams will start to learn that all the time savings and complexity reduction for developers have really just passed the costs on to testing teams, the business, the infrastructure, more hardware and other people's budgets.


5.  Open Source will continue to creep like ivy, fertilized by naivety. Several major companies will learn that the total cost of ownership means the vines finally cover the windows, doors and eventually the whole house.   


6.  Clifford Stoll will again NOT be proven right about the collapse of the internet, because engineers are inventing the next generation of switches, routers, storage, cpu and wasteless architectures that don't clog the pipes.   


7.  The only jobs for Data Center Operations will be somewhere near a massive hydro-electric or geo-thermal power source. Which means fishing, white-water rafting and geology fanatics have a new career path...in dead server recycling.  


8.  Larry will stop buying companies. Maybe.  


9.  In all types of testing, Resource Visibility and Performance Awareness will become the predictors for determining the likelyhood of success. If you know it's gonna be slow...it will not go!   


10.  (just a prediction)...I have a hunch some really awesome new features are coming in LoadRunner and Performance Center this year.


Good luck and Happy New Year!

Search
Showing results for 
Search instead for 
Do you mean 
About the Author(s)
  • I have been working in the computer software industry since 1989. I started out in customer support then software testing where I was a very early adopter of automation, first functional test automation and them performance test automation. I worked in professional services for 8 years before returning to my roots in customer support where I have been a Technical Account Manger for HP's Premier Support department for the past 4 years. I have been using HP LoadRunner since 1998 and HP Performance Center since 2004. I also have strong technical understanding of HP Application Lifecycle Management (Quality Center) and HP SiteScope.
  • Malcolm is a functional architect, focusing on best practices and methodologies across the software development lifecycle.
  • Michael Deady is a Pr. Consultant & Solution Architect for HP Professional Service and HP's ALM Evangelist for IT Experts Community. He specializes in software development, testing, and security. He also loves science fiction movies and anything to do with Texas.
  • Mukulika is Product Manager for HP Performance Center, a core part of the HP Software Performance Validation Suite, addressing the Enterprise performance testing COE market. She has 14 years experience in IT Consulting, Software development, Architecture definition and SaaS. She is responsible for driving future strategy, roadmap, optimal solution usage and best practices and serves as primary liaison for customers and the worldwide field community.
  • HP IT Distinguished Technologist. Tooling HP's R&D and IT for product development processes and tools.
  • WW Sr Product Marketing Manager for HP ITPS VP of Apps & HP Load Runner
Follow Us


HP Blog

HP Software Solutions Blog

Labels
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation