kamahade
15 years agoRegular Contributor
Pro 3.62 SnapShot command line runner and possible Bug
Hi.. I'm using SOAPUI pro 3.6.2. Snapshot version and while running tests through command line TestRunner, my tests are passing, however am also getting an error message
[list=]Missing assertion for type []
java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Drivers
as below.. may a BUG ?
[list=]Missing assertion for type []
java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Drivers
as below.. may a BUG ?
Running soapUI TestRunner for [ReleaseA_MediaAsset]
directory: D:\Program Files\eviware\soapUI-Pro-3.6.2-SNAPSHOT\bin\.
command: cmd.exe /C testrunner.bat -sMediaAsset_TestSuite -c"ReAEn_TC.042 MediaAssetService createMediaAsset TestCase" -r D:\soapui-release-B\ReleaseA-MediaAsset-soapui-project.xml
soapUI Pro 3.6.2-SNAPSHOT TestCase Runner
Configuring log4j from [D:\Program Files\eviware\soapUI-Pro-3.6.2-SNAPSHOT\bin\soapui-log4j.xml]
15:00:26,723 INFO [DefaultSoapUICore] initialized soapui-settings from [D:\Documents and Settings\Administrator\soapui-settings.xml]
15:00:27,958 INFO [DefaultSoapUICore] Adding listeners from [D:\Program Files\eviware\soapUI-Pro-3.6.2-SNAPSHOT\bin\listeners\demo-listeners.xml]
15:00:28,458 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [D:\Program Files\eviware\soapUI-Pro-3.5.1\bin\scripts]
15:00:30,005 INFO [WsdlProject] Loaded project from [file:D:/soapui-release-B/ReleaseA-MediaAsset-soapui-project.xml]
15:00:30,176 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [D:\Program Files\eviware\soapUI-Pro-3.5.1\bin\scripts]
15:00:30,661 ERROR [TestAssertionRegistry] Missing assertion for type []
15:00:30,661 ERROR [TestAssertionRegistry] Missing assertion for type []
15:00:30,661 ERROR [TestAssertionRegistry] Missing assertion for type []
15:00:30,661 ERROR [TestAssertionRegistry] Missing assertion for type []
15:00:30,661 ERROR [TestAssertionRegistry] Missing assertion for type []
15:00:30,676 ERROR [TestAssertionRegistry] Missing assertion for type []
15:00:30,676 ERROR [TestAssertionRegistry] Missing assertion for type []
15:00:30,958 INFO [SoapUIProTestCaseRunner] Running soapUI tests in project [ReleaseA_MediaAsset]
15:00:30,958 INFO [SoapUIProTestCaseRunner] Running TestCase [ReAEn_TC.042 MediaAssetService createMediaAsset TestCase]
15:00:30,973 INFO [SoapUIProTestCaseRunner] Running soapUI testcase [ReAEn_TC.042 MediaAssetService createMediaAsset TestCase]
15:00:30,989 INFO [SoapUIProTestCaseRunner] running step [ReAEn_TC.042 MediaAssetService createMediaAsset TestStep1]
Progress: 1 - Loading Definition from cache
15:00:31,489 DEBUG [AbstractDefinitionContext] Loading Definition...
15:00:31,505 DEBUG [WsdlInterfaceDefinition] Loading WSDL: http://st.berserkgibbons.com/MM_EM3_FacadeWeb/sca/Exp_IMediaAssetService_SOAP/WEB-INF/wsdl/wsdl/MM_EM3_Facade_Exp_IMediaAssetService_SOAP.wsdl
15:00:33,989 DEBUG [AbstractWsdlDefinitionLoader] Returning latest import URI [http://st.berserkgibbons.com/MM_EM3_FacadeWeb/sca/Exp_IMediaAssetService_SOAP/WEB-INF/wsdl/message/RequestType.xsd]
Retrieving schema at '../bo/AnnotationInformation.xsd', relative to 'http://st.berserkgibbons.com/MM_EM3_FacadeWeb/sca/Exp_IMediaAssetService_SOAP/WEB-INF/wsdl/message/AddAnnotationRequestType.xsd'.
15:00:34,598 INFO [SchemaUtils] Getting schema http://st.berserkgibbons.com/MM_EM3_FacadeWeb/sca/Exp_IMediaAssetService_SOAP/WEB-INF/wsdl/message/AddAnnotationRequestType.xsd
15:00:34,598 INFO [SchemaUtils] Getting schema http://st.berserkgibbons.com/MM_EM3_FacadeWeb/sca/Exp_IMediaAssetService_SOAP/WEB-INF/wsdl/message/EM3Fault.xsd
15:00:34,801 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
15:00:34,848 INFO [SoapUIProTestCaseRunner] Assertion [SOAP Response] has status VALID
15:00:34,848 INFO [SoapUIProTestCaseRunner] Assertion [SOAP Response] has status VALID
15:00:34,848 INFO [SoapUIProTestCaseRunner] Assertion [Not SOAP Fault] has status VALID
15:00:34,848 INFO [SoapUIProTestCaseRunner] Assertion [Schema Compliance] has status VALID
15:00:34,848 INFO [SoapUIProTestCaseRunner] running step [ReAEn_TC.042 MediaAssetService createMediaAsset TestStep2]
java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Drivers
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.eviware.soapui.support.GroovyUtils.registerJdbcDriver(GroovyUtils.java:102)
at com.eviware.soapui.support.jdbc.JdbcUtils.initConnection(JdbcUtils.java:49)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.getDatabaseConnection(JdbcSubmit.java:217)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.prepare(JdbcSubmit.java:260)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.runQuery(JdbcSubmit.java:196)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.run(JdbcSubmit.java:160)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.<init>(JdbcSubmit.java:74)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcRequest.submit(JdbcRequest.java:135)
at com.eviware.soapui.impl.wsdl.teststeps.JdbcRequestTestStep.run(JdbcRequestTestStep.java:179)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:207)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:138)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:77)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:599)
at com.eviware.soapui.tools.SoapUITestCaseRunner.runTestCase(SoapUITestCaseRunner.java:565)
at com.eviware.soapui.SoapUIProTestCaseRunner.runTestCase(SourceFile:176)
at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:370)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:144)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:82)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:48)
15:00:35,848 INFO [SoapUIProTestCaseRunner] Assertion [JDBC Status] has status VALID
15:00:35,848 INFO [SoapUIProTestCaseRunner] Assertion [XPath Match] has status VALID
15:00:35,848 INFO [SoapUIProTestCaseRunner] Assertion [XPath Match 1] has status VALID
15:00:35,848 INFO [SoapUIProTestCaseRunner] Assertion [XPath Match 2] has status VALID
15:00:35,848 INFO [SoapUIProTestCaseRunner] Assertion [XPath Match 3] has status VALID
15:00:35,848 INFO [SoapUIProTestCaseRunner] running step [Property Transfer]
15:00:35,879 INFO [SoapUIProTestCaseRunner] Finished running soapUI testcase [ReAEn_TC.042 MediaAssetService createMediaAsset TestCase], time taken: 4836ms, status: FINISHED
15:00:35,879 INFO [SoapUIProTestCaseRunner] TestCase [ReAEn_TC.042 MediaAssetService createMediaAsset TestCase] finished with status [FINISHED] in 4836ms
SoapUI 3.6.2-SNAPSHOT TestCaseRunner Summary
-----------------------------
Time Taken: 4924ms
Total TestSuites: 0
Total TestCases: 1 (0 failed)
Total TestSteps: 3
Total Request Assertions: 9
Total Failed Assertions: 0
Total Exported Results: 0