Accessibility

Flex Article

 

Performance Testing Flex Applications That Use AMF


Lucian Beebe

Lucian Beebe

Macromedia

Table of Contents

Comments
Created:
21 February 2005
User Level:
Advanced

There comes a time for every project to transition from development to deployment. Yes, it is time to go live and watch dozens, hundreds, thousands, millions of people enjoy your application.

This is a wonderful and terrible feeling at the same time. What user load can your application handle? What are the performance characteristics you can expect as user load increases? These are realistic questions and are absolutely critical to investigate before going live. Luckily, there are many tools out there that can help you make sure everything performs well under increasing user loads.

While you have a lot of options for generating load on your server and monitoring the result of that load, the most comprehensive and capable tools come from automated-testing tool vendors such as Segue, Mercury, and IBM Rational. Each vendor offers capable performance testing tools, allowing you to performance-test your Flex application to the fullest, whether your application uses web services, XML, or HTTP connections. However, only Segue goes the extra mile to provide AMF (Action Message Format) support in their performance testing tool.

In this article, I use Segue Silk Performer to demonstrate the basics of performance testing your Flex application, focusing on AMF integration because so many Flex applications use AMF. However, the techniques discussed here apply to any performance testing tool, as long as it supports the protocol you are using.

Requirements

To complete this tutorial you will need to install the following software and files:

Segue Silk Performer

Restaurant Finder Application

Flex (not required)

Related Article

About the author

Lucian Beebe is a senior product manager for Flex at Macromedia. He focuses on the application development framework for Flex including the languages, components set, and APIs developers use to create compelling Flex applications. A veteran of 13 years in the software development industry, Lucian brings perspective on software development tools and process management.