soapui

How to run specified step in SoapUI according testcase result

左心房为你撑大大i 提交于 2019-12-11 03:09:11
问题 I have project in soapui with more testcases. After running each testcase I need to run one of two http request, depending on results of steps. So if one or more steps in testcase failed, I need to run httprequest1 and if all steps passed I need to run httprequest2. How can I do this? I have tried many scripts... for now my best solution is something like this, just add groovy script at the end of test case. Problem is that it is checking only last step. I have tried many other solutions, but

groovy.lang.MissingMethodException: No signature of method:

帅比萌擦擦* 提交于 2019-12-11 02:56:21
问题 I am trying to run java eclipse files from soapUI. The files currently run fine in Eclipse, however when attempted to be run in soapUI, the following error message is shown. groovy.lang.MissingMethodException: No signature of method: com.company.automation.testing.Test() is applicable for argument types: (java.lang.String) values: [https://avcedevn1.mas.nsroot.net:17765/] Possible solutions: init(java.lang.String, java.lang.Boolean), wait(), wait(long), wait(int), any(), print(java.lang

How to access a wsdl URL in SoapUI, which recquires username/password?

末鹿安然 提交于 2019-12-11 02:49:59
问题 How to access a wsdl URL in SOAPUI , which recquires username/password ? http://localhost:8080/ws/hello1?wsdl 回答1: There is a bug with retrieving password protected WSDLs in SoapUI 4.6.4. The bug is fixed 5.0.0 and can be downloaded from http://www.soapui.org/ Hopefully this will solve your problem. 回答2: When you create new project using wsdl or add a wsdl in existing project for a secure webservice, it asks for user id and password several times the simple solution is adding myuser

transferring values from request to response (soapUI mock service)

坚强是说给别人听的谎言 提交于 2019-12-11 02:35:42
问题 I'm receiving a 15 digit user ID and wanna trim its last 3 digit then send back to request sender. Request sample is below : <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <lookupSubscriberInfo xmlns="http://testID.com/V1_0"> <callingParty>testParty</callingParty> <subscriberRequestList> <testId>888905425616681</opaqueId> </subscriberRequestList> </lookupSubscriberInfo> </env:Body> </env:Envelope> I have read this http://www.soapui.org/Service

Cannot import WSDL file in SOAPUI - NT authentication pop up (Error loading WSDL)

岁酱吖の 提交于 2019-12-11 02:34:53
问题 I never faced similar problem before, I tried with SOAP 4.0.1 and also with SOAP 5.1.2. I tried it on my windows but also and on Windows Server 2008 I try to import WSDL: NT Authentication dialog is presented: Specify NT Authentication Credentials to populate Username,Password,Domain I am able to open the WSDL definition in Firefox: http://192.168.0.242/SO/Services/ScheduleService.svc?wsdl after entering username and password but when trying to import WSDL file or when trying to import wsdl

How do I save a report to a new location every time I run a testrunner script in CLI - SOAPUI

时间秒杀一切 提交于 2019-12-11 01:35:40
问题 I am running a script through testrunner CLI through a Jenkins build. I want the result's saved to a new folder for each run. How do i do it? testrunner.bat -r -j -J "-fC:\Users\xxxxxx\Desktop\Reports\xxx\xxx" "-RProject Report" "-EDefault environment" -I "C:\TCOE\Automated_Smoke_and_Regression_SoapUI_Tests\xxx\xxx_PRODUCTION-soapui-project.xml" Right now the script looks like the above pasted one. Where I declare the root location for the report explicitly. What do I do to ensure each run

How to use AddBatch/withBatch properly for bulk inserting xml tag value to database table

杀马特。学长 韩版系。学妹 提交于 2019-12-11 01:14:00
问题 'innerXml' is a xml file with huge number of xml tags . I am trying fetch the tag values and dump them into database table . I have tried below code and it is working fine . innerXml.Row.each { Row -> sql.execute("INSERT INTO tab1(col1,col2) VALUES (${Row.Column0.text()},${Row.Column1.text()} )") But as there is huge number of xml tags its causing performance issue to insert record one by one . As the experts suggested I tried using withBatch to improve performance.Please find the below code

Groovy Script assert on Key/Value pairs in SOAP UI XML response

有些话、适合烂在心里 提交于 2019-12-11 01:13:27
问题 I am using Ready API/SOAP UI. I added a SOAP request and I get a SOAP response XML. My response object has up to 40 Key/Value pairs. I have functional tests to specifically test each. Loop through the whole ArrayOfObjects and Assert if the Key exists and if it exists assert the value. Can I get a working solution for this scenario. I am unable to do assert on the output object. SOAP structure looks like this: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http:

Netsuite error: You must use account-specific domains with the 2019.1 SOAP web services endpoint

坚强是说给别人听的谎言 提交于 2019-12-11 00:04:38
问题 I am using SOAPUI to call soap API of netsuite but when i add wsdl https://5450407-sb1.app.netsuite.com/wsdl/v2019_1_0/netsuite.wsdl i am getting following error: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode> soapenv:Server.userException </faultcode> <faultstring> You must use account

limited threads in soapUI free version

穿精又带淫゛_ 提交于 2019-12-11 00:00:49
问题 We have been using soapUI free version (4.5.1) for a long time in our project to test our web services. We mostly used simple strategy along with different thread counts to check the load of our servers and web services. We used 50, 75, 100 and 150 thread to check how many connections that our web service can handle. We used no delay and therefore, no random to have constant threads. After our servers went down, system experts arrived today and told us that soapUI does not really creates