Saturday, August 15, 2009

Performance testing of Flex Based Applications

Since the RIA applications has been overtaking the front end designs of most of the web sites, so comes our challenges of testing the application. I have few documents which I am sending you on Flex Load testing. Please share if you have anything in hand. Flex is one the implementation technologies in the RIA field by Adobe Systems. Flex embedded in the Flash Player has almost of the 90% of the market. The good news is that Adobe has made the documentation of protocol – RTMP public after keeping it a secretly guarded for many many years. Benchmarking Flash Player 10 (Updated)

http://arstechnica.com/software/news/2008/10/benchmarking-flash-player-10.ars

LR 9.5 now supports in the following protocols:
1. Adobe® Action Message Format (AMF v3)
2. Adobe® Real-time Messaging Protocol (RTMP)
3. Adobe® Flex 2 and Flex 3
4. Ajax

Another interesting document produced by RIA by Webload is as follows:www.radview.com/.../Load%20Testing%20Web%202.0%20Technologies%20%5BWhitepaper%5D.pdf

Basics about RTMP and AMF:

http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocolhttp://en.wikipedia.org/wiki/Action_Message_Formathttp://www.richnetapps.com/category/flash-actionscript/

Real Time Messaging Protocol (RTMP) is a proprietary protocol developed by Adobe Systems for streaming audio, video and data over the Internet, between a Flash player and a server.The RTMP protocol has three variations:The "plain" protocol which works on top of TCP and uses port number 1935RTMPT which is encapsulated within HTTP requests to traverse firewallsRTMPS which works just like RTMPT, but over a secure HTTPS connection.At a higher level, the RTMP encapsulates MP3 and Flash Video multimedia streams, and can make remote procedure calls (RPCs) using the Action Message Format.The RTMP defines several channels on which packets may be sent/received, and which operate independently of each other. For example, there is a channel dedicated for handling RPC requests and responses, a channel for video stream data, a channel for audio stream data, a channel for out-of-band control messages (fragment size negotiation, etc.), and so on. During a typical RTMP session, several channels may be active simultaneously at any given time. When RTMP data is packetized, a packet header is generated.Action Message Format or AMF is a binary format based loosely on the Simple Object Access Protocol (SOAP). It is used primarily to exchange data between an Adobe Flash application and a database, using a Remote Procedure Call.Each AMF message contains a body which holds the error or response, which will be expressed as an ActionScript Object.
If you are not able to make out much from the Adobe produced documents, then nothing to worry, even I also could not make out anythingJ

No comments: