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 »

App to Combine Log Files

Written by meena on May 23, 2007 – 2:46 pm

Screen shot
(Click to view full image)

In order to combine the individual log files all multiple vusers, I came up with a utility that would do the same. The tool just requires browsing to the log folder and selecting all the log files to combine. Should also work with any kind of log files and not just loadrunner kind..

Download
Download


Tags: ,
Posted in Performance Testing | No Comments »

LoadRunner Vugen Data Files

Written by meena on May 21, 2007 – 9:14 am

The Vugen uses *.dat files to store data used for parameterizing for user-supplied values in a script. But when there are multiple data tables, vugen gets confused as to which data set we are referring to when we run the script.

For example:

In our script if we have two different data tables of login ids names UserId.dat and UID.dat. When we refer to the data column in the table by the column number the data file that is used may not be the one you are intending to use. It is always a better idea to refer to the column by the column name.


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