Contributions
Re: MySQL DB Connection: Initial catalog does not change
I've previously tried to connect via SQL Server but no matter what configuration I try, it fails. That's why I installed the ODBC Connector from MySQL. Anyway, the connection with ODBC does work and if I need to access a different db, I can add another configuration.3.9KViews1like0CommentsRe: MySQL DB Connection: Initial catalog does not change
Bird's eyeview: 1. I installed the Connector/ODBC from MySQL because I didn't have the necessary drivers installed on my machine. 2. I configured the drivers withODBC DataSource Administrator.During this configuration, I specified a db The screenshots of setting up the db in TC are attached. The connection sring generated by the wizard isProvider=MSDASQL.1;Persist Security Info=False;User ID=usrname;Data Source=MySQL_ANSI;Initial Catalog=wsgtestsim_dev3.9KViews0likes2CommentsRe: MySQL DB Connection: Initial catalog does not change
This seems to be an inconsistency between TC and the db driver, i.e. not a mistake per se. When I installed and configured the driver (in Windows), I specified a db and, irrespective of what the initial catalog parameter contains, the db specified during configuration is what is used. In fact, it seems that the initial catalog parameter is completely ignored - I created a configuration in Windows without a db and it validates just fine, but cannot be used in TC because TC apparently expects it to already be bound to a db. Specifying a db in the connection string makes no difference. The solution (such as it is...) is to create a config for every db needed.3.9KViews0likes4CommentsMySQL DB Connection: Initial catalog does not change
I'm trying to do DDT using a db table but TC is using the wrong db (initial catalog). My initial connection string (used for a db checkpoint) was Provider=MSDASQL.1;Persist Security Info=False;User ID=username;Data Source=MySQL_ANSI;Initial Catalog=wsgtestsim_dev and that works fine. My connection string for the DDT is Provider=MSDASQL.1;Persist Security Info=False;User ID=username;Data Source=MySQL_ANSI;Initial Catalog=test but, despite specifying a different initial catalog, I only see the tables in the original initial catalog (wsgtestsim_dev) and nothing from the new initial catalog (test). Any idea why this happens?Solved3.9KViews0likes8CommentsHow can one check what scripting language has been selected for a project in TC 12.42?
I'd like to know what scripting language was selected at project creation time. This can be done by diving into the folders and seeing what's in [ProjectSuite]\[TestProject]\Script but surely that's not the way it should be done? I would expect to see this in Tools->Current Project Properties but it does'nt seem to b available there either.Solved1.7KViews0likes2CommentsRe: Unexpected element: OPEN_TAG
Hi Rao, Apologies for the late response. It's due to a combination of a hectic schedule and a fairly low priority for this problem. There's some work going on on this project at the moment and, once committed, I'll be able to check whether the problem still occurs. Until then it's dormant.7.4KViews0likes0CommentsUnexpected element: OPEN_TAG
I receive this output for one of my projects: [apply] SoapUI 5.2.1 TestCase Runner [apply] 10:35:13,090 DEBUG [WsdlLoader] Getting wsdl component from [http://simulator.template:80/testtools/soapui/null-soapui-project.xml] [apply] Error at line 2, column 15 [apply] org.apache.xmlbeans.XmlException: error: Unexpected element: OPEN_TAG [apply] at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486) ... [apply] at ch.itsbusiness.testrunner.ITSsoapUItestrunner.main(ITSsoapUItestrunner.java:63) [apply] Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 2; columnNumber: 15; Unexpected element: OPEN_TAG [apply] at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038) ... [apply] ... 14 more [apply] com.eviware.soapui.support.SoapUIException: Failed to load project from file [http://simulator.template:80/testtools/soapui/null-soapui-project.xml] [apply] at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:318) ... [apply] at ch.itsbusiness.testrunner.ITSsoapUItestrunner.main(ITSsoapUItestrunner.java:63) [apply] Caused by: org.apache.xmlbeans.XmlException: error: Unexpected element: OPEN_TAG [apply] at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486) ... [apply] ... 8 more [apply] Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 2; columnNumber: 15; Unexpected element: OPEN_TAG [apply] at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038) ... [apply] ... 14 more [apply] 10:35:13,155 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute request [apply] 10:35:13,155 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: GET /testtools/soapui/null-soapui-project.xml HTTP/1.1 [apply] 10:35:13,160 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 200 OK [apply] 10:35:13,165 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept alive for 5000 MILLISECONDS [apply] 10:35:13,172 ERROR [SoapUI] An error occurred [Failed to load project from file [http://simulator.template:80/testtools/soapui/null-soapui-project.xml]], see error log for details [apply] 10:35:13,351 ERROR [SoapUI] An error occurred [Failed to load SoapUI project file [http://simulator.template:80/testtools/soapui/null-soapui-project.xml]], see error log for details [apply] java.lang.Exception: Failed to load SoapUI project file [http://simulator.template:80/testtools/soapui/null-soapui-project.xml] [apply] at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:345) [apply] at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:204) [apply] at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:139) [apply] at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:114) [apply] at ch.itsbusiness.testrunner.ITSsoapUItestrunner.main(ITSsoapUItestrunner.java:63) [apply] Result: 255 I haven't been able to find any workable solution. Can anyone please point me in the right direction?7.6KViews0likes4Comments