soapui

How do I use groovy to search+replace in XML?

How do I use groovy to search+replace in XML? I need something as short/easy as possible, since I'll be giving this code to the testers for their SoapUI scripting. More specifically, how do i turn "<root><data></data></root>" into "<root><data>value</data></root>" ...

Is it possible to test stateful web services with SoapUI?

What do you use as a test client for your stateful web services? Is it possible to use SoapUI? Are there best practices in this area? ...

SOAPUI: Validate response against xsd schema file

How can I validate a SOAP response against an XSD file that defines the response schema. the web service I'm calling has an XMLDocument as input and output, so can't use WSDL for response schema validation. ...

How do I extract byte array from soapUI response?

I am testing a web service with soapUI. One of the responses looks like this: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"&gt; <S:Body> <ns2:getInputConfigFilesResponse xmlns:ns2="http://ws.pdb.ericsson.se/"&gt; <return>UEsDBBQACAAIAO1GNToAAAAAAAAAAAAAAAANAAAAc2NyaXB0cy9lbGxza [...] AATAAAAAAAAA...

Can Soapui free edition assert between outputs?

Can Soapui free edition assert between outputs from two requests? I want to check if a value from a output is equal to value from another output. ...

how to save response when saving a SoapUI project

Hi All, I am using SoapUI 2.5.1 - evaluation version In a testcase, how to save the response messages along with requests in a SoapUI project ? Here is what is happening currently: When I create a Web service SoapUI project and send SOAP request for an operation, I get a response XML. Now after saving the soapUI and exiting the tool ...

Where is the url of the WSDL xml specification in a Delphi 7 web service?

This question is non-sense. The difficulty was due to a bug in the software. I'm trying to access a webservice using SoapUI. The webservice is developed in Delphi 7. I can call the published functions with the url http://server/my.dll/soap/IDataMod. A html representation of the WSDL file can be accessed with a web browser in the url h...

SoapUI getting request parameters in mock service script

This is probably a very easy one for all SoapUI regulars. In a SoapUI mock service response script, how do I extract the value inside the request I'm replying to? Let's say the incoming request has <ns1:foo> <ns3:data> <ns3:CustomerNumber>1234</ns3:CustomerNumber> </ns3:data> </ns1:foo> How do I get the "1234" into a Groovy...

soapUI Script features

What are the functionalities in soapUI that can be achieved only through script and not the GUI ...

soapUI version problem

My code was earlier working with soapUi2.5. but when I started working with soapUI2.5.1, I started getting this error. com.eviware.soapui.impl.wsdl.mock.DispatchException: Missing operation for soapAction [http://SEWSI.ServiceContracts/2008/09/ReceiveSubscription%5D and body element [{h ttp://SEWSI.ServiceContracts/2008/09}ReceiveSubscr...

SoapUI Pro 3.0.1 SocketTimeOut Exception:ReadTimeout

I am using SOAP UI Pro and when accessing any of the exposed methods in the services it always gives me SocketTimeOut Exception:ReadTimeout Any idea??? ...

SOAP UI Pro vs Fitnesse, has anybody used SOAP UI Pro?

We are using Fitnesse for subsystem testing i.e. WCF & RESTful services. Now as writing Fitnesse test requires lot of effort, we are thinking of using SOAP UI Pro which gives this sort of facility. We are not 100% sure how much this is useful? Can anyone give suggestion of using SOAP UI against Fitnesse or if somebody has Pros & Cons ...

Testing MSMQ Binding with soapUI Pro ?

Hi ! Has anyone tested MSMQ Binding with soapUI Pro ? If yes, could you please share your experience and how effective the testing has been ? Thanks, Bhaskar ...

How iterate xml-nodes with Groovy ?

Started work with SoapUI and can't catch idea how to treat Soap responses with Groovy. Currently my project opened in NetBeans and after debuging will be copy-pasted to the SoapUI (eviware) My question is: def Input = """ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"&gt; <S:Body> <ns2:getSalesAuditsResponse xmln...

SOAP UI database connection wizard

I am new to SOAP UI testing tool. I am planning to create a testcase which involves connection to database. I am having issues using the SOAP UI database connection wizard to connect to SQL server database. I tried with all the available drivers and i am getting error "java.lang.Exception:Failed to init connection for driver" I am able t...

Error while launching soapUi 3.01

soapui.bat Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cl i/CommandLineParser Where can I find this library? I already put JAVA HOME to my sdk and I am using windows XP. Any ideas how I can resolve this? ...

Translation of request / response messages within SOAP UI

Hi, I've got a quick (and probably a simple one) regarding the translation of request / response messages. The XML that is sent from the Service Consumer is translated before it is passed to the back end system. That is to say, when I submit the request XML, the call first hits the BSL which is responsible for taking the data passed in ...

SOAP UI: Can I add assertion to validate with local XML Schema file?

Hi all, I have created a Web Service (with Java, Axis). Depending on the content of the request, the response may have a different XSD. So, the WSDL only specifies that the response is of a generic XSD, and the responses comply to XSDs that import and extend the generic XSD. Unfortunately, the Schema assertion fail because the XSD spec...

WSE 2.0 with SoapUI

Does SOAPUI (http://www.soapui.org) support the WSE 2.0 standards? If not, any other utility recommended for testing? Better wording (10/27/2009): Does SOAPUI support WS-Security (passing user/pass with the WS-Security standard). If so, where do I specify the user/password specific to WS-Security (as opposed to basic authentication)....

SoapUI request returns HTTP/1.1 400 Bad Request

I'm using SoapUI to load test one of our .net webservices. I'm new to SoapUI, so I've run through the "getting started", using a publicly available service, and had no problems. But when I try to send a request to my webservice I'm getting a HTTP/1.1 400 Bad Request message. I generate a default request from the schema, and insert the ...