RVTest will run a default configuration which is appropriate when no additional setup is required. Changing to a custom configuration is a snap.
That's it! RVTest will now use the test configuration provided in your project root directory.
<?xml version="1.0"?>
<container>
<component-instance
factory="org.nanocontainer.script.xml.BeanComponentInstanceFactory">
<com.reuters.msgtest.config.Transport>
<name>Default RV Transport</name>
<!--<network></network>-->
<service>7500</service>
<!--<daemon></daemon>-->
</com.reuters.msgtest.config.Transport>
</component-instance>
<component-implementation key="com.reuters.msgtest.SubjectSubstitution"
class='com.reuters.msgtest.SubjectSubstitutionImpl'>
<parameter>
<string>
src/test/com/reuters/msgtest/substitution.properties</string>
</parameter>
</component-implementation>
<component-implementation key="class"
class="com.reuters.msgtest.ClassCreator"/>
<component-implementation key="loadtest"
class="com.reuters.msgtest.LoadTestFixtureCreator"/>
<component-implementation key="xmlfile"
class="com.reuters.msgtest.fixture.XMLFixtureCreator"/>
<component-implementation key="rvformatfile"
class="com.reuters.msgtest.message.RvFileMessageCreator"/>
<component-implementation key="xmlformatfile"
class="com.reuters.msgtest.message.XMLFormatFileMessageCreator"/>
<component-instance key="loglevel">
<string>DEBUG</string>
</component-instance>
</container>