asinesio
16 years agoNew Contributor
SoapUI 3.x on JDK 1.5 Issues
Hello,
I am having trouble running SoapUI tests (both through the TestRunner and through the maven plugin) because a dependency used when comparing XPath assertions appears to be compiled for Java 1.6 only.
I'm running Mac OS X Leopard 10.5 and Java 1.5. The SoapUI app works just fine running my test suite, but when I run it:
1) from the command line (testrunner.sh)
2) from the Maven SoapUI plugin
3) from the test runner inside of the maven-soapui-plugin
I always get the same error:
[glow=red,2,300]
----------------- Messages ------------------------------
[XPath Match] Bad version number in .class file
[XPath Match] null
[/glow]
Does anyone have any suggestions here?
(Moving to java 1.6 is not going to be an option. I also tried including soapui in the pom as a direct dependency and running the project through a SoapUITestCaseRunner included in a jUnit test, but the Maven2 pom for SoapUI does not include a section so it will require a lot of messing around to get that set up correctly.)
Thanks in advance for any help you can provide.
Here is the relevant pom.xml configuration section:
eviware
maven-soapui-plugin
2.5.1
${project.build.testOutputDirectory}/boc-inquiry-service-soapui-project.xml
http://localhost:9990
false
true
${project.build.directory}/soapui-reports
testDatabaseConnectionUrl=${test.database.connection.url}
testDatabaseConnectionUser=${test.database.connection.user}
testDatabaseConnectionPassword=${test.database.connection.password}
setupSqlScriptLocation=${project.build.testOutputDirectory}/soapui-test-setup.sql
teardownSqlScriptLocation=${project.build.testOutputDirectory}/soapui-test-teardown.sql
test
integration-test
test
I am having trouble running SoapUI tests (both through the TestRunner and through the maven plugin) because a dependency used when comparing XPath assertions appears to be compiled for Java 1.6 only.
I'm running Mac OS X Leopard 10.5 and Java 1.5. The SoapUI app works just fine running my test suite, but when I run it:
1) from the command line (testrunner.sh)
2) from the Maven SoapUI plugin
3) from the test runner inside of the maven-soapui-plugin
I always get the same error:
[glow=red,2,300]
----------------- Messages ------------------------------
[XPath Match] Bad version number in .class file
[XPath Match] null
[/glow]
Does anyone have any suggestions here?
(Moving to java 1.6 is not going to be an option. I also tried including soapui in the pom as a direct dependency and running the project through a SoapUITestCaseRunner included in a jUnit test, but the Maven2 pom for SoapUI does not include a
Thanks in advance for any help you can provide.
Here is the relevant pom.xml configuration section:
testDatabaseConnectionUrl=${test.database.connection.url}
testDatabaseConnectionUser=${test.database.connection.user}
testDatabaseConnectionPassword=${test.database.connection.password}
setupSqlScriptLocation=${project.build.testOutputDirectory}/soapui-test-setup.sql
teardownSqlScriptLocation=${project.build.testOutputDirectory}/soapui-test-teardown.sql