You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Milan Shah <mi...@gmail.com> on 2011/12/06 09:10:24 UTC

Issue in chart generation using flash player (AMF protocol) at the time of replay

Hi All,

I need to verify the time taken to display chart in a web application. The
chart is displayed in AMF protocol.

The chart is displayed in the application UI, when I execute the test
manually.
However when I record this test through JMeter and play it back I am unable
to get the chart in the response data (HTML format) of the View result tree
Listener.

The error observed here is “*Required version of flash player is not
available. Download flash player 10 or above from the adobe web site*.”

I have Adobe flash player (version 10.2.153.1) installed on our machine.

Here, JMeter is not able to recognize/capture the chart (AMF protocol) and
display it in the HTML response of JMeter “View Results Tree” listener.

I noticed that the source file of the graphical presentation html contains:
<?xml version="1.0" ?>
<html xmlns="http://www.w3.org/1999/xhtml"><script>
</script><xml style="display:none" id="island1"><content xmlns="
http://oracle.com/adf/faces"><fragment><![CDATA[<div
id="pt1:Form:r1:1:lineGraph1::PPRTarget"><div
id="pt1:Form:r1:1:lineGraph1::flashDlMsg" style="display:none;padding:10px">
*Required version of Flash Player is not available. Download Flash Player
10 or above from the Adobe Web site* (<a href='
http://www.adobe.com/go/getflashplayer'>
http://www.adobe.com/go/getflashplayer</a>).</div><div
id="pt1:Form:r1:1:lineGraph1::flashppr"><div
id="pt1:Form:r1:1:lineGraph1_flashPlayerTag"><__AFR_XML_ELEM
style="display:none"><!--<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="pt1_Form_r1_1_lineGraph1_swf" codebase="
https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="100%" height="290"><param name="movie"
value="xxxxxxxx/bi/jsLibs/engine_20101227.swf"><param name="flashvars"
value="graphId=pt1:Form:r1:1:lineGraph1&amp;defaultFontLoading=all"><param
name="allowScriptAccess" value="sameDomain"><param name="scale"
value="noScale"><param name="salign" value="lt"><param name="wmode"
value="transparent"><param name="bgcolor"
value="#FFFFFF"></object>--></__AFR_XML_ELEM></div>

There is not much help available on internet for this. Help or pointers
highly appreciated!

Regards,
Milan

Re: Issue in chart generation using flash player (AMF protocol) at the time of replay

Posted by Felix Frank <ff...@mpexnet.de>.
Hi,

On 12/06/2011 09:10 AM, Milan Shah wrote:
> The error observed here is “*Required version of flash player is not
> available. Download flash player 10 or above from the adobe web site*.”

I presume that this error is generated whenever JavaScript doesn't run
succesfully. Please verify by visiting the site with JavaScript disabled
in your browser.

If this is indeed the case, you have to fix the problem by making Jmeter
mimick whatever the JavaScript does to convince the server that
Flashplayer is in fact available.

My guess is that the script will replace the 'div
id="pt1:Form:r1:1:lineGraph1::flashDlMsg"' with the chart you're
interested in. Find out how this is done.

HTH,
Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org