0 Replies Latest reply: Mar 6, 2013 2:08 PM by verveja RSS

    ADF enable JMeter test plan using XSLT


      Please consider ADF Insider recording "Using Apache JMeter to load test ADF applications " [1] by Chris Muir.
      It points out some "configuration heavy" aspects of using JMeter to test ADF applications.

      Given that a JMeter test plan is an XML file, it seems to be possible to apply an XSLT transformation to introduce some of the ADF related configuration into a JMeter test plan.
      This has the potential to simplify some of the "configuration heavy" aspects when using JMeter to test ADF applications.

      See http://www.consideringred.com/files/oracle/2013/JMeterADFEnablerApp-v0.01.zip
      It contains an adf-jmx.xsl file that allows to automatically introduce JMeter variable expressions into the test plan.
      It also contains an Ant build file build-jmeter.xml with a "xslt.adf-jmx" target to easily apply the XSLT transformation on a JMeter test plan configured in its "adf-jmx.xslt.in" property.
      (tip : start recording a test plan in a copy of the file EmptyTestPlan.jmx which already contains the JMeter variables used in adf-jmx.xsl (like "vServerName" and "javax.faces.ViewState").

      An important aspect of this approach is flexibility, because the XSL file can be easily modified to make the resulting JMX file fit varying requirements.

      Suggestions for improvement are welcome.

      [1] http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfjmeter/adfjmeter.html
      see also https://blogs.oracle.com/onesizedoesntfitall/entry/new_recording_on_using_jmeter

      many thanks
      Jan Vervecken