I'm currently using ReadyAPI 2.2.0 and installed the ready-git-plugin 1.0.2. I have a remote git and need to connect using HTTPS. The remote git is configured using a self signed certificate.
When using git command to push any changes I have to use the http.sslVerify = "false" to allow for git to ignore the SSL certificate checking. Is there any way of doing this with the ready-git-plugin?
The following error occurs when I try to connect to the git remote, I believe it's because it needs to accept the SSL certificate but there's no popup asking if I trust the gitserver certificate:
09:42:07,352 INFO [UrlClientLoader] gitserver:443 requires authentication with the realm 'gitserver'
09:42:32,391 ERROR [ClassicCompositeProjectHandler] Failed to update project from remote repository.
com.eviware.soapui.plugins.vcs.VcsIntegrationException: java.lang.NullPointerException
at com.smartbear.readyapi.plugin.git.CommandRetrier.execute(CommandRetrier.java:65)
at com.smartbear.readyapi.plugin.git.GitCommandHelper.pullWithMergeStrategy(GitCommandHelper.java:139)
at com.smartbear.readyapi.plugin.git.ReadyApiGitIntegration.updateFromRemoteRepository(ReadyApiGitIntegration.java:119)
at com.eviware.soapui.impl.support.loadsave.ClassicCompositeProjectHandler.performVcsUpdate(ClassicCompositeProjectHandler.java:190)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.a(WsdlProjectPro.java:580)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:390)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:299)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(WsdlProjectPro.java:222)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:149)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1)
at com.eviware.soapui.impl.WorkspaceImpl$LoadWorkspaceProjectsTask.compute(WorkspaceImpl.java:1180)
at com.eviware.soapui.impl.WorkspaceImpl$LoadWorkspaceProjectsTask.compute(WorkspaceImpl.java:1188)
at com.eviware.soapui.impl.WorkspaceImpl$LoadWorkspaceProjectsTask.compute(WorkspaceImpl.java:1188)
at com.eviware.soapui.impl.WorkspaceImpl$LoadWorkspaceProjectsTask.compute(WorkspaceImpl.java:1188)
at com.eviware.soapui.impl.WorkspaceImpl$LoadWorkspaceProjectsTask.compute(WorkspaceImpl.java:1)
at java.util.concurrent.RecursiveTask.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java:98)
at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:190)
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:461)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:288)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1179)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:267)
at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:80)
at com.smartbear.readyapi.plugin.git.CommandRetrier.execute(CommandRetrier.java:49)
... 19 more
Caused by: java.lang.NullPointerException
at com.eviware.x.form.XFormFactory.createDialogBuilder(XFormFactory.java:21)
at com.eviware.soapui.impl.wsdl.support.wsdl.AuthDialogs.buildBasicDialog(AuthDialogs.java:26)
at com.eviware.soapui.impl.wsdl.support.wsdl.UrlClientLoader$WsdlCredentialsProvider.getCredentials(UrlClientLoader.java:477)
at com.eviware.soapui.impl.wsdl.support.http.ProxySettingsAndServerAuthenticator.getPasswordAuthentication(ProxySettingsAndServerAuthenticator.java:45)
at java.net.Authenticator.requestPasswordAuthentication(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$1.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
... 32 more
I'm currently using ReadyAPI 2.2.0 and installed the ready-git-plugin 1.0.2. I have a remote git and need to connect using HTTPS. The remote git is configured using a self signed certificate.
When using git command to push any changes I have to use the http.sslVerify = "false" to allow for git to ignore the SSL certificate checking. Is there any way of doing this with the ready-git-plugin?
The following error occurs when I try to connect to the git remote, I believe it's because it needs to accept the SSL certificate but there's no popup asking if I trust the gitserver certificate: