This discussion is archived
0 Replies Latest reply: Mar 6, 2013 12:08 PM by Jan Vervecken RSS

ADF enable JMeter test plan using XSLT

Jan Vervecken Journeyer
Currently Being Moderated

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.

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 "" 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.

see also

many thanks
Jan Vervecken


  • Correct Answers - 10 points
  • Helpful Answers - 5 points