Posted by Tim on May 7th, 2008
[UPDATE] this has since been resolved! JMeter support rocks 
URL: http://svn.apache.org/viewvc?rev=661141&view=rev
Log: Bugs 44808 & 39641 - Proxy support for binary requests
—
You may still find the ruby proxy idea interesting …
—
The Action Message Format (AMF) is a binary protocol that Flex applications use to remotely communicate with the server. I’ve tested recording of this using LoadRunner which picks up the binary format nicely as part of the HTTP POST.
It will look a little like this:
web_custom_request("amf_3",
"URL=http://host.under.test.com/messagebroker/amf",
"Method=POST",
"Resource=0",
"RecContentType=application/x-amf",
"Referer=http://ost.under.test.com/messagebroker/client/main.swf",
"Snapshot=t13.inf",
"Mode=HTML",
"EncType=application/x-amf",
"BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x02\\x00\\x04null\\x00\\x02/3\\x00\\x00\\x01\\x0F\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Mflex.messaging.messages.CommandMessage\\x13operation\\x1BcorrelationId\tbody\\x13messageId\\x11clientId\\x15timeToLive\\x13timestamp\\x0Fheaders\\x17destination\\x04\\x08\\x06\\x01×06\r"
"my-amf\\x01\\x06#labelPrintService",
LAST);
I understand that Segue Silk Performer also has this capability to natively record binary protocols arbitrarily attached to the POST. Unfortunately the native JMeter proxy (when used for recording) doesn’t pick up this data reliably.
This defect is current being tracked at the ASF Bugzilla
After looking around for some proxying software that would assist, products such as Charles Proxy looked tempting. But to be honest, if you’re reading this and using JMeter, you’re probably not interested in paying any license fees.
Read on for a free alternative when using JMeter.
Read more »
Posted in LoadRunner, Tools, Testing, JMeter | 5 Comments »