Latest Posts »
Latest Comments »
Popular Posts »

Adobe Flex Performance Testing

Written by meena on June 4, 2007 – 3:31 pm

What is Macromedia Flex?

Macromedia Flex is a commercial presentation layer server that produces Rich Internet Applications. The Flash plug-in (available on most browsers) is the runtime environment for Flex applications.

An example Flex application.

Developers use two core languages to create Flex applications. The first core language is MXML, the Macromedia Flex Markup Language, which includes a rich set of XML tags that allows developers to layout user interfaces. Some MXML constructs allow you to call remote objects, store data returned in a model, and customize your own look and feel to MXML components.

The second core language for Flex development is ActionScript 2.0, which is similar to JavaScript. ActionScript elements are coded inside MXML pages, has robust event handling capabilities to allow the application to respond to dynamic user interactions. Unlike JavaScript, since ActionScript runs inside the Flash plug-in there is no need to rewrite several versions of the same code to support different browsers.

The Flex server is responsible for translating the MXML and ActionScript components into Flash bytecode in the form of .SWF files. The SWF file is executed on the client in the Flash runtime environment. The Flex
server provides other services such as caching, concurrency, and handling remote object requests.

Remote Objects (Action Message Format, AMF)

Automated Test Tool vendors Segue(Silk Performer), Mercury(LoadRunner), and IBM Rational(Performance Tester) offer capable performance testing tools, allowing you to performance-test the applications that use web services, XML, or HTTP connections. Mercury and Segue also goes the extra mile to provide AMF (Action Message Format) support in their performance testing tool. But the problem we have now is that the AMF has moved from AMF0 to AMF3.

Now the existing AMF add-ins of these tools does not support the AMF3 protocol. Flex applications now use what is called Remote Objects in ActionScript which are not handled by existing performance testing tools.

What now?

Looks like we have to wait for something to come up that can performance test these applications. And now along comes Silverlight from Microsoft… hmmm?


Tags: , ,
Posted in Performance Testing | 10 Comments »