soapui

NoSuchMethodError: org.openqa.selenium.os.CommandLine.findExecutable(Ljava/lang/String;)Ljava/lang/String; while launching Chrome using SoapUI

心已入冬 提交于 2019-12-02 07:20:59
I'm trying to launch the selenium scripts from SoapUI 5.2.1 tool with the following launching script: System.setProperty("webdriver.chrome.driver","D:\\SoapUI-5.2.1\\bin\\ext\\chromedriver.exe") WebDriver driver = new ChromeDriver(); driver.manage().window().maximize(); driver.get("https://www.MyUrl.com") driver.manage().timeouts().implicitlyWait(120,TimeUnit.SECONDS); I have kept the following selenium dependency file in SoapUI/bin/ext folder - chromedriver 2.36 - selenium-server-standalone-3.4.0.jar - selenium-chrome-driver-2.3.1.jar But I'm getting the following error message while running

Compare JDBC Response to an XML Response where number of nodes vary and order could change?

谁都会走 提交于 2019-12-02 07:02:57
I am very new to coding and am having some trouble when attempting to compare the results from a JDBC query to the results in an XML response. I am using groovy rather than XPATH built into SoapUI because based on the parameters passed in my request, the number of nodes returned could vary and I need to validate all of them. I built the script below using various examples that I found since I could not find one single example that was going to do what I wanted. I plugged in everything from the class tag down into eclipse and it did not detect any syntax errors. However, when I run the script

Spring-ws: How to create Wsdl from an xsd with no “Request” element

二次信任 提交于 2019-12-02 05:36:37
Trying to implement a SOAP Webservice for a client and I need a wsdl file to test the service by soapUI. But as you can see below, this xsd has no Request and Response methods, all requests and responses are defined as a a "type" in a base ServiceProvider element. So when I try to auto generate my wsdl file by spring-ws it does not generate a proper wsdl, because Spring-ws requires all requests and responses element names should end with "Request" "Response". What can I do? <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"

Not able to loop over XML tags in groovy properly

荒凉一梦 提交于 2019-12-02 04:18:43
I was able to send a webrequest by soapUI which gives me data in XML format as response .I want to insert the value of xml tag in database tables. This is what I have tried : def response = context.expand('${Request1#Response}') def xml = new XmlSlurper().parseText(response) Content of 'response' variable : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:sawsoap="urn://oracle.bi.webservices/v7"> <soap:Body>

If a request is changed to POST, then SoapUI changing all other requests into POST method

与世无争的帅哥 提交于 2019-12-02 02:27:25
A testcase contains 2 requests and 1 groovy script. Now 1st request is using POST method and 2nd request is using GET method. Now I am facing an issue that If I am changing the 2nd request as GET , my 1st request also gets turned into GET request while I need 1ST Request to remain as POST . How to handle this situation? I am new in Soap UI . any suggestion will be helpful. You can create multiple methods under the same endpoint - this is what REST is designed to do! Under your "Api" resource, right-click, and select "New Method". Select this new one to be of type GET. This is going to be your

servicestack webservice testing with SOAPUI

南楼画角 提交于 2019-12-02 02:10:55
问题 I have created a service using Service Stack and would like to test it using SOAPUI. When I setup the SOAPUI project with the soap12 wsdl url [ http://<developmenturl>/soap12 ], I keep getting the below error : Mon Mar 13 15:14:29 GMT 2013:ERROR:Could not find element [{http://schemas.servicestack.net/types}<requestDTOobject>] specified in part [parameters] Initially I had the DTO under a different name space, due to the above error message I changed the DTO object to be in the same namespace

servicestack webservice testing with SOAPUI

有些话、适合烂在心里 提交于 2019-12-02 01:38:15
I have created a service using Service Stack and would like to test it using SOAPUI. When I setup the SOAPUI project with the soap12 wsdl url [ http://<developmenturl>/soap12 ], I keep getting the below error : Mon Mar 13 15:14:29 GMT 2013:ERROR:Could not find element [{http://schemas.servicestack.net/types}<requestDTOobject>] specified in part [parameters] Initially I had the DTO under a different name space, due to the above error message I changed the DTO object to be in the same namespace as the service but still I get this error. I have pasted below the request generated: <soap:Envelope

SOAPUI & Groovy Scripts, executing multiple SQL statements in one go

…衆ロ難τιáo~ 提交于 2019-12-01 22:38:05
I've got some soapUI tests, that use groovy scripts to first insert some data into a table Previously, I've been using the following snippet of code to do this : def conn = context.dbConnEtopup conn.execute( "INSERT INTO A(ID, NAME) VALUES (1, "Johnny")" ) This works fine, however I have many test scripts that now do a similar (if not the same) SQL statements, so I'm trying to approach this by loading it in from a properties file, so my actual SQL statement is only in one place, for easier editing However, my SQL statement that I'm trying to use is actually 2 inserts(or deletes), so the

soap parsing wsdl error: Unexpected element: TAG_END

江枫思渺然 提交于 2019-12-01 15:23:23
问题 I have an error importing a WSDL definition from an ASP.NET version 4 Visual Studio 2010 Express project, into SOAPUI 4.5.1 URL would be like http://localhost:7929/ws/AX.asmx?WSDL Error generated Error loading [http://localhost:7929/ws/AX.asmx?WSDL]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: TAG_END Error trace: com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException at com.eviware.soapui.impl.wsdl.support.wsdl

Unable to save TestSuite Response Result in SOAP UI

£可爱£侵袭症+ 提交于 2019-12-01 14:02:30
Can we save all SOAP responses from test step inside TestSuite with SOAPUI? I try to save all responses through DATA export , but its only showing me summary result like how many test case pass/fail. But I want to save response result for all request of the TestSuite. To save all response from a testSuite you can add a tearDown script which is executed at the end of testSuite execution. This groovy script loops over each testCase in the testSuite saving to disk each testStep response: // path for the testSuite def folderPath = 'C:/temp/' + testSuite.name + '_' + System.currentTimeMillis() +