cancel
Showing results for 
Search instead for 
Did you mean: 

Issues during Soapui and Jenkins integration

Occasional Visitor

Issues during Soapui and Jenkins integration

I am trying to integrate Soapui open source version 4.5.1 with Maven & then finally trying to make it run from CI.

But unfortunately the test classes are executing fine both from eclipse and command line in local system but fails in CI with this message.

And please find below the code snippet from my pom file

16:58:34  16:58:34,323 INFO  [WsdlProject] Loaded project from [file:/var/lib/jenkins/jobs/rps_deals30_unittests_automation_priya/workspace/RPService/src/test/resources/serviceautomation/GService-Deals-Test-soapui-project.xml]
16:58:36  java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
16:58:36  	at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:240)
16:58:36  	at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
16:58:36  	at java.util.jar.JarVerifier.processEntry(JarVerifier.java:262)
16:58:36  	at java.util.jar.JarVerifier.update(JarVerifier.java:216)
16:58:36  	at java.util.jar.JarFile.initializeVerifier(JarFile.java:411)
16:58:36  	at java.util.jar.JarFile.getInputStream(JarFile.java:478)
16:58:36  	at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:1003)
16:58:36  	at sun.misc.Resource.cachedInputStream(Resource.java:94)
16:58:36  	at sun.misc.Resource.getByteBuffer(Resource.java:177)
16:58:36  	at java.net.URLClassLoader.defineClass(URLClassLoader.java:663)
16:58:36  	at java.net.URLClassLoader.access$400(URLClassLoader.java:81)
16:58:36  	at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1148)
16:58:36  	at java.security.AccessController.doPrivileged(AccessController.java:314)
16:58:36  	at java.net.URLClassLoader.findClass(URLClassLoader.java:583)
16:58:36  	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
16:58:36  	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
16:58:36  	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
16:58:36  	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
16:58:36  	at java.lang.J9VMInternals.verifyImpl(Native Method)
16:58:36  	at java.lang.J9VMInternals.verify(J9VMInternals.java:93)
16:58:36  	at java.lang.J9VMInternals.initialize(J9VMInternals.java:170)
16:58:36  	at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:392)
16:58:36  	at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:244)
16:58:36  	at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:41)
16:58:36  	at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:24)
16:58:36  	at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:337)
16:58:36  	at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:158)
16:58:36  	at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:113)
16:58:36  	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
16:58:36  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
16:58:36  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
16:58:36  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
16:58:36  	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
16:58:36  	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
16:58:36  	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
16:58:36  	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
16:58:36  	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
16:58:36  	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
16:58:36  	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
16:58:36  	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
16:58:36  	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
16:58:36  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:58:36  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
16:58:36  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
16:58:36  	at java.lang.reflect.Method.invoke(Method.java:602)
16:58:36  	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
16:58:36  	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
16:58:36  	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
16:58:36  	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
16:58:36  16:58:36,298 ERROR [SoapUI] An error occured [Failed to load project from file [file:/var/lib/jenkins/jobs/rps_deals30_unittests_automation_priya/workspace/RPService/src/test/resources/serviceautomation/GService-Deals-Test-soapui-project.xml]], see error log for details
16:58:36  com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/var/lib/jenkins/jobs/rps_deals30_unittests_automation_priya/workspace/RPService/src/test/resources/serviceautomation/GService-Deals-Test-soapui-project.xml]
16:58:36  	at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:426)
16:58:36  	at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:244)
16:58:36  	at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:41)
16:58:36  	at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:24)
16:58:36  	at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:337)
16:58:36  	at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:158)
16:58:36  	at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:113)
16:58:36  	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
16:58:36  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
16:58:36  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
16:58:36  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
16:58:36  	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
16:58:36  	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBui

 

This is the snippet from my pom.xml file:

<plugins>
        <plugin>
        <groupId>eviware</groupId>
        <artifactId>maven-soapui-plugin</artifactId>
        <version>4.5.1</version>
        <executions>
        <execution>
            <phase>verify</phase>
            <id>soapui-tests</id>
            <configuration>
            <projectFile>${project.basedir}/src/test/resources/serviceautomation/GService-Deals-Test-soapui-project.xml</projectFile>
            <outputFolder>${basedir}/target/soapui</outputFolder>
            <junitReport>true</junitReport>
            <exportwAll>true</exportwAll>
            <printReport>true</printReport>
            </configuration>
            <goals>
            <goal>test</goal>
            </goals>
        </execution>
        </executions>
        </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
    
        </configuration>
        </plugin>
    </plugins>
    </build>

3 REPLIES 3
Community Hero

Re: Issues during Soapui and Jenkins integration

Modified any jar files under SOAPUI_HOME? also, was the project loaded in soapui tool without any error?


Regards,
Rao.
New Contributor

Re: Issues during Soapui and Jenkins integration

Hi, I am facing the same issue, project loaded successfully in soapui and jks works fine.If I execute the same usinng soapui-maven plugin , it throws ssl handshake error.

So I added soapui-settings.xml to my project workspace and referred in the pom but still no luck.Any suggestion will be appreciated.

Community Hero

Re: Issues during Soapui and Jenkins integration

@Suguna, you should not cross post and the issue faced by the original author of the this topic and yours is different. Please consider opening a new topic.



Regards,
Rao.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors