Forum Discussion

cwetansk's avatar
cwetansk
Occasional Contributor
11 years ago

Unable to launch testrunner.bat from Jenkins (SoapUI 5.1.2)

Hello,

we are building up a continuous integration/testing system orchestrated by a Jenkins master.
When trying to remotely execute the SoapUI testrunner on a Jenkins slave (Windows 7) we receive the error shown below.
The issue occurs with SoapUI Pro 5.1.1 and 5.1.2, under 5.0.0. it works fine.

Exception in thread "main" java.lang.ExceptionInInitializerError
at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.readSettings(IEProxySearchStrategy.java:57)
at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.getProxySelector(IEProxySearchStrategy.java:42)
at com.btr.proxy.search.desktop.win.WinProxySearchStrategy.getProxySelector(WinProxySearchStrategy.java:37)
at com.btr.proxy.search.desktop.DesktopProxySearchStrategy.getProxySelector(DesktopProxySearchStrategy.java:34)
at com.btr.proxy.search.ProxySearch.getProxySelector(ProxySearch.java:193)
at com.eviware.soapui.LicenseHandling$ProxyBackup.backup(SourceFile:698)
at com.eviware.soapui.LicenseHandling.a(SourceFile:91)
at com.eviware.soapui.SoapUIProTestCaseRunner.init(SourceFile:67)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:62)
Caused by: java.lang.RuntimeException: Error loading dllThe system cannot find the path specified
at com.btr.proxy.search.desktop.win.Win32ProxyUtils.<clinit>(Win32ProxyUtils.java:40)
... 9 more
Caused by: java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at com.btr.proxy.search.desktop.win.DLLManager.extractToTempFile(DLLManager.java:116)
at com.btr.proxy.search.desktop.win.DLLManager.findLibFile(DLLManager.java:53)
at com.btr.proxy.search.desktop.win.Win32ProxyUtils.<clinit>(Win32ProxyUtils.java:36)
... 9 more


There is no problem when executing the testrunner locally on the SoapUI machine.
The Jenkins slave service is logged on as Administrator, the same user for which the Pro license has been installed.

Thanks for your help!

Cheers,

--Peter

11 Replies

  • Hi,

    I would suggest that you do option 1 or 3, as TEMP and TMP is a standard environment variable on windows. If TEMP or TMP is pointing to a directory that does not exist on the windows machine than either create the directory for that environment variable, or look at the link below to change Jenkins Temp directory for the Jenkins master (note that the link is for linux).

    https://github.com/JPNaude/dev_notes/wi ... -Directory


    Regards,
    Marcus
    SmartBear Support