You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by peg6463 <pg...@nc.rr.com> on 2006/08/08 19:27:44 UTC

Tip: Loading JMeter 2.1.1 Testplans in Jmeter 2.2.1

I'm posting this tip to save other frantic JMeter users from the same problem
I had trying to load JMeter v 2.1.1 testplan jmx files into Jmeter v 2.2.1.  

A test element in JMeter v 2.1.1 called "JDBC SQL Query Defaults" no longer
exists in Jmeter v 2.2.1.  The presence of this test element in JMeter v
2.1.1 testplans will  cause them not to load in Jmeter v 2.2.1.  The test
element section needs to be removed for Jmeter v 2.2.1 to be able to load
v2.1.1 test plans successfully.

Here's what the "JDBC SQL Query Defaults" test element section looks like in
the JMX file:

        <ConfigTestElement>
          <stringProp
name="TestElement.gui_class">org.apache.jmeter.protocol.jdbc.config.gui.SqlConfigGui</stringProp>
          <stringProp
name="TestElement.test_class">org.apache.jmeter.config.ConfigTestElement</stringProp>
          <stringProp name="query">select 1 from dual</stringProp>
          <stringProp name="TestElement.name">JDBC SQL Query
Defaults</stringProp>
          <boolProp name="TestElement.enabled">true</boolProp>
        </ConfigTestElement>
        <hashTree/>

If you remove this section from the 2.1.1 jmx file and resave, it should
then be loadable in Jmeter 2.2.1.


-- 
View this message in context: http://www.nabble.com/Tip%3A-Loading-JMeter-2.1.1-Testplans-in-Jmeter-2.2.1-tf2074050.html#a5711202
Sent from the JMeter - User forum at Nabble.com.


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