Forum Discussion
seanzi
13 years agoNew Contributor
I have 2 environments set up but when I switch between them even in soapUI the jdbc requests don't change where they are pointing, then when I run maven, the environment variable seemingly does nothing at all.
<configuration>
<projectFile>tests/test-soapui-project.xml</projectFile>
<outputFolder>tests/report/</outputFolder>
<environment>mysql</environment>
<printReport>true</printReport>
<junitReport>true</junitReport>
</configuration>
Say the other environment that was used before was called mssql, it will still use those jdbc connections for the test ran with the above pom.
Can you elaborate on the second suggestion?
<configuration>
<projectFile>tests/test-soapui-project.xml</projectFile>
<outputFolder>tests/report/</outputFolder>
<environment>mysql</environment>
<printReport>true</printReport>
<junitReport>true</junitReport>
</configuration>
Say the other environment that was used before was called mssql, it will still use those jdbc connections for the test ran with the above pom.
Can you elaborate on the second suggestion?