On 06/04/07, SunWuKung <[EMAIL PROTECTED]> wrote:
We have a flash application that sends data to a php script. The data sent looks like this: <transfer><package id="0" timeStamp="1606"><function id="playerInitialized" /></package></transfer>
There must be more to it than that - is this a post request? what else is in the request?
The script picks up the data like this: $PackageData = $HTTP_RAW_POST_DATA; and the application works fine in itself. However when I try to run the application through the proxy of JMeter it stops working The first strange thing is that that JMeter' proxy records the sending of this data through a http request with a post where: name: <transfer><package id value: "0" timeStamp="1606"><function id="playerInitialized" /></package></transfer>
That looks like a bug in JMeter; it should probably not split the text as it has done.
Now even if I try to modify this I found no way to use this http request sampler to send data in a format that the php script could pick up as $HTTP_RAW_POST_DATA. How could I post data with JMeter in a way that can be picked up with php's $HTTP_RAW_POST_DATA?
We'll need to know a bit more about the exact request that you are sending to the application. Try capturing the data using one of the applications mentioned on the JMeter Wiki: http://wiki.apache.org/jakarta-jmeter/NetworkSniffer Or you may be able to use an add-on for your browser.
Thanks for the help. SWK -- View this message in context: http://www.nabble.com/%24HTTP_RAW_POST_DATA-tf3539001.html#a9879136 Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

