soapui

To create a SOAPUI project using a wsdl

冷暖自知 提交于 2019-12-12 01:12:40
问题 I want to create a SOAPUI project using a wsdl. this is my code : File projectFile =new File("Test/sampleURI-soapui-project"); SoapUI.setSoapUICore(new StandaloneSoapUICore(true)); WsdlProject project = new WsdlProject("sampleURI"); WsdlInterface[] wsdls = WsdlImporter.importWsdl(project, "http://192.168.18.171/sample/api/v2_soap/?wsdl"); for(int j=0;j<wsdls.length;j++){ WsdlInterface wsdl = wsdls[j]; String soapVersion = wsdl.getSoapVersion().toString(); int c = wsdl.getOperationCount();

How to run multiple projects at a single launch?

£可爱£侵袭症+ 提交于 2019-12-12 00:46:45
问题 I have 4 projects, which are depended each other,I am suppose to run 4 projects one by one. Is there any way to run as single package? 回答1: I suppose that you're running the SOAPUI project using testRunner . Looking at testRunner documentation you can see that it's only possible to pass one project to the call. However if you're using some automation build tool like gradle you can create and approach creating a custom task to for example make various calls to testRunner passing your projects

Is there any limit to the Number of Steps for Load Test in the SOAP UI free version?

送分小仙女□ 提交于 2019-12-11 23:26:23
问题 I am trying to perform the load Test from SOAPUI free version (5.2.1) . I have a Test case with 15 steps which have different Rest Requests. I have created a Load test for the same and when i run the load test, all the requests are not getting executed. Only first six request gets executed. I have tried using different strategy along with different varying thread counts and limits but the result is same. only first six requests gets executed till the limit ends. 回答1: Looking at your results I

How to get a separate context in different SoapUI testcase instances running in parallel?

久未见 提交于 2019-12-11 23:26:00
问题 I have a SoapUI test case (name "create entity" ) with groovy script test step which uses some variables received in context, e.g. counter value, processes it and returns some other value, e.g. returnId // these variables are effectively shared across different threads, I want to avoid it def threadId = context.getProperty("threadId") def counter = context.getProperty("counter").toInteger() ... testRunner.testCase.setPropertyValue("returnId", returnId) And this test case is called from

Soapui manipulation of json response

时光总嘲笑我的痴心妄想 提交于 2019-12-11 23:19:49
问题 I am using SoapUI to test restful web services. I have a test step which returns a json response like.. { "createdUser": "CRINFO", "createdDate": 1254413167000, "updatedUser": "62041", "updatedDate": 1452105085000, "sourceSystem": "CIS", "versionNumber": 47, "crimeNo": "000037P/09", "furtherInvestigation": false } I wish to use this response in the body of the next test step request but I want to manipulate a few of the properties first. e.g. set the furtherInvestigation property to TRUE. {

Savon 2 returns nothing in Rails 4

无人久伴 提交于 2019-12-11 21:09:11
问题 Here is my Savon 2 client = Savon::Client.new(wsdl: "http://www.webservicex.net/uszip.asmx?WSDL") client.operations response = client.call(:get_info_by_zip, :message => { us_zip: "90210" }) response.to_hash And response is: {:get_info_by_zip_response=>{:@xmlns=>"http://www.webserviceX.NET"}} In the SoapUI: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET"> <soapenv:Header/> <soapenv:Body> <web:GetInfoByZIP> <!--Optional:--> <web

SOAP UI data driven testing for web requests

∥☆過路亽.° 提交于 2019-12-11 19:18:30
问题 I'm trying to do data driven testing with my JEE application in the free version of SOAP UI 4.6.1. I found this: http://www.soapui.org/Data-Driven-Testing/functional-tests.html. The problem is that I can't figure out how to do the same thing with my web requests. All I want to do is suck in a user/password and then run through a bunch of pages. It seems like I could use a groovy script for this, but I have no idea how to get started and how to fill the properties being POSTed for my web

SoapUI Pro : Transfering a XML node from a TestCase to another

a 夏天 提交于 2019-12-11 18:32:49
问题 When using the Property Transfert window to transfert a XML node (with children nodes) taken from the response of a first Soap request to a second Soap request, and that both requests are in the same TestCase , it works great : TestCase 1 : Source : [First Soap Request] Property : [Response] declare namespace ns='http://xxx.com'; //ns:xxxxx[1]/ns:return[1] ------------------------------------------- Target : [Second Soap Request] Property : [Request] declare namespace ser='http://xxx.com'; /

How to send a SOAP1.2 request from node.js strong soap?

别来无恙 提交于 2019-12-11 18:32:18
问题 I am using this library https://github.com/strongloop/strong-soap#client to send a SOAP1.2 request. Using SOAPUI I can send this (I omitted the api key here) <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v1="urn:IQTrack/WebServices/v1"> <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:To>https://webservices.iqtrack.com/RequesterSync.svc</wsa:To> </soap:Header> <soap:Body> <v1:VerifyApiKey> <!--Optional:--> <v1:apiKey>API KEY</v1:apiKey> </v1

Test WCF with Mutual Certificate Authentication using SOAPUI

做~自己de王妃 提交于 2019-12-11 18:19:00
问题 I´m trying to test a WCF service with mutual certificates authentication using a client on C# and it works; now I want to test the service using SOAP UI. This is the service configuration: <system.serviceModel> <services> <service behaviorConfiguration="ServiceBehavior" name="WS_XXXXX.WcfXXXX"> <endpoint address="" binding="customBinding" bindingConfiguration="XXXSoap" bindingNamespace="" contract="IXXXSoap" > </endpoint> <host> <baseAddresses> <add baseAddress="http://localhost:47037/"/> <