HP LoadRunner and Performance Center Blog

Testing asynchronous business processes with LoadRunner

In the early days of the World Wide Web, web applications communicated using conversations that had a synchronous nature: the user interacts with an application that is presented in a web browser, the browser submits a request to the web server, the server sends a response, and the application in the browser is updated.

 

However, synchronous applications have a number of limitations. One limitation involves the inability of the client to reflect events occurring at the server. This could be critical if, for example, the application in question displays stock prices or sport results and must present the updated info at all times. The answer to these limitations is asynchronous communication, whereby responses from the server arrive periodically or as a reaction to server-side events.

 

Many of today’s applications combine synchronous (user-initiated) and asynchronous (application-initiated) modes of communication between the client and the server. Usually the two occur in parallel (e.g. a user is navigating within the bank’s site, while at the same time stock updates keep pouring in), which makes it hard to accurately emulate such applications using traditional Vuser scripts. 

 

Continue reading to learn how to use VuGen to create a script for asynchronous situations.

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
HP Blog

HP Software Solutions Blog

Featured


Follow Us
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.