Forum Discussion

denrone's avatar
denrone
Occasional Contributor
16 years ago

DataSource step issue using with SoapUIPro3.6beta2

A working SoapUI script with a Datasource step does not work in LoadUI.
The error captured from the SoapUI Runner is:
java.lang.Exception: Failed to prepare testStep [DataSource - run every time]; com.eviware.soapui.support.SoapUIException: Failed to init connection for drvr [com.microsoft.sqlserver.jdbc.SQLServerDriver], connectionString [jdbc:sqlserver://<databse-servername>:<port>;databaseName=UserDB;user=<user>;password=#####]

Test Client: Windows XP
Software: LoadUI 1.0 with SoapUI Pro3.6beta2
Database: MSSQL2005

6 Replies

  • denrone's avatar
    denrone
    Occasional Contributor
    Still struggling after placing C:\Program Files\eviware\soapUI-Pro-3.6\bin\ext\sqljdbc.jar in C:\Program Files\eviware\loadUI-1_0\lib
    and upgrading to SoapUI Pro 3.6.
    Now the error I receive is: java.lang.StackOverflowError, for a particular Soap UI project that calls a .Net web service with WS-Addressing.
    This project works fine in SoapUI.
    A different SoapUI Project using a Rest service does however work in Load UI.
    Any settings I should look into?
    I made sure both apps are pointed to each other already.
    Thanks.
  • denrone's avatar
    denrone
    Occasional Contributor
    Does LoadUI rely upon WS I compliancy in order to work?
    I think my stack overflow issue is now from a WS I compliance problem in the wsdl.
    When I run the WSI Analyzer in SoapUI I get the following:

    Running WSI Analyzer for [WSHttpBinding_IPlayerGroupService]
    directory: C:\Program Files\eviware\soapUI-Pro-3.6\wsi-test-tools\java\bin
    command: [cmd.exe, /C, C:\Program Files\eviware\soapUI-Pro-3.6\wsi-test-tools\java\bin\Analyzer.bat, -config, C:\DOCUME~1\<user>\LOCALS~1\Temp\wsi-analyzer-config3890334784838745029.xml]
    Conformance Analyzer Tool, Version: 1.0.0, Release Date: 2005-07-04
    Copyright (C) 2002-2003 by The Web Services-Interoperability Organization and Certain of its Members. All Rights Reserved.
    Use of this Material is governed by WS-I licenses included within the documentation.

    verbose .................... true
    Assertion Results:
    type ..................... all
    messageEntry ............. false
    assertionDescription ..... false
    failureMessage ........... false
    failureDetail ............ true
    Report File:
    replace .................. true
    location ................. C:\DOCUME~1\<user>\LOCALS~1\Temp\wsi-report7474024553581938561.xml
    Style Sheet:
    href ................... ./../common/Profiles/SSBP10_BP11_TAD.xml
    type ................... text/xsl
    alternate .............. false
    testAssertionsFile ......... ../../common/profiles/SSBP10_BP11_TAD.xml
    WSDL Reference:
    WSDL Element:
    type ................... binding
    namespace .............. http://tempuri.org/
    name ................... WSHttpBinding_IPlayerGroupService
    wsdlURI .................. C:\DOCUME~1\<user>\LOCALS~1\Temp\tempdir6590726996544520243.tmp\PlayerGroupService_1.wsdl

    Please wait while the specified artifacts are analyzed...
    Exception in thread "main" java.lang.StackOverflowError
    at java.util.HashMap$Values.iterator(Unknown Source)
    at org.wsi.test.analyzer.CandidateInfo.getAllImports(Unknown Source)
    at org.wsi.test.analyzer.CandidateInfo.getAllImports(Unknown Source)
    at org.wsi.test.analyzer.CandidateInfo.getAllImports(Unknown Source)
    at org.wsi.test.analyzer.CandidateInfo.getAllImports(Unknown Source)
  • Hi,

    i noticed that you are placing sqljdbc.jar in C:\Program Files\eviware\loadUI-1_0\lib folder.

    Please try to add ext folder manually and place sqljdbc.jar there i.e. C:\Program Files\eviware\loadUI-1_0\ext\sqljdbc.jar

    Let us know does this helps

    regards
    nebojsa
    eviware.com
  • denrone's avatar
    denrone
    Occasional Contributor
    Thanks. I corrected the location of the jar file, but I still have the stack overflow error.
    Can you tell me if LoadUI relies upon WS I compliancy in order to work?
    LoadUI only seems to be having trouble with our newly developed WCF web service other WCf services work.
  • Hello,

    LoadUI itself knows nothing about WS-I. All that is handled by the soapUI Runner, which is basically running soapUI "under the hood". Basically, if it works with soapUI, it should work with loadUI. Would it be possible for you to send us your soapUI project file, so that we can look at it and see if we can find anything that is causing this error in loadUI?

    Regards,
    Dain
    eviware.com