| 23 May 2007 |
In my previous post I showed you how you can use Ant and XFire to create a client for your webservice. Another, even nicer and easier way, to test your webservice is to make use of soapUI. This is a free tool (I haven't used the Pro version yet) with which you can easily create a SOAP request and send them to your webservice and see the repsonse that is send back by the webservice. Beside just sending SOAP requests you can also have executed Groovy scripts with which you can prepare the state of your database for instance, so you can create a full and clean test cycle.
I have installed the standalone version of soapUI version 1.7 which can be downloaded here. After installing it, you can start it and create a new WSDL project:
The WSDL I am pointing to, is the WSDL of the service I deployed in this post. Here is the content of the WSDL:
-
<?xml version="1.0" encoding="UTF-8"?>
-
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://model.pascalalma.net" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://net.pascalalma.services/BookService" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://net.pascalalma.services/BookService">
-
<wsdl:types>
-
<xsd:schema targetNamespace="http://model.pascalalma.net" elementFormDefault="qualified" attributeFormDefault="qualified">
-
<xsd:complexType name="ArrayOfBookObject">
-
<xsd:sequence>
-
<xsd:element name="BookObject" type="ns1:BookObject" nillable="true" minOccurs="0" maxOccurs="unbounded" />
-
</xsd:sequence>
-
</xsd:complexType>
-
<xsd:complexType name="BookObject">
-
<xsd:sequence>
-
<xsd:element name="author" type="xsd:string" minOccurs="0" nillable="true" />
-
<xsd:element name="isbn" type="xsd:string" minOccurs="0" nillable="true" />
-
<xsd:element name="title" type="xsd:string" minOccurs="0" nillable="true" />
-
</xsd:sequence>
-
</xsd:complexType>
-
</xsd:schema>
-
<xsd:schema targetNamespace="http://net.pascalalma.services/BookService" elementFormDefault="qualified" attributeFormDefault="qualified">
-
<xsd:element name="myAnswer" type="ns1:ArrayOfBookObject" />
-
</xsd:schema>
-
</wsdl:types>
-
<wsdl:message name="getBooksRequest" />
-
<wsdl:message name="getBooksResponse">
-
<wsdl:part element="tns:myAnswer" name="myAnswer" />
-
</wsdl:message>
-
<wsdl:portType name="BookServiceImpl">
-
<wsdl:operation name="getBooks">
-
<wsdl:input message="tns:getBooksRequest" name="getBooksRequest" />
-
<wsdl:output message="tns:getBooksResponse" name="getBooksResponse" />
-
</wsdl:operation>
-
</wsdl:portType>
-
<wsdl:binding name="BookServiceHttpBinding" type="tns:BookServiceImpl">
-
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
-
<wsdl:operation name="getBooks">
-
<wsdlsoap:operation soapAction="urn:getBooks" />
-
<wsdl:input name="getBooksRequest">
-
<wsdlsoap:body use="literal" />
-
</wsdl:input>
-
<wsdl:output name="getBooksResponse">
-
<wsdlsoap:body use="literal" />
-
</wsdl:output>
-
</wsdl:operation>
-
</wsdl:binding>
-
<wsdl:service name="BookService">
-
<wsdl:port binding="tns:BookServiceHttpBinding" name="BookServiceHttpPort">
-
<wsdlsoap:address location="http://localhost:8080/XFireTest/services/BookService" />
-
</wsdl:port>
-
</wsdl:service>
-
</wsdl:definitions>
As you can see it is a simple WSDL:
there are no input parameters for the service and it will return a list (array) of bookObjectTypes. After creation of the soapUI project, you directly create tests for your webservice since the checkbox asking to create a SOAP request for each operation was checked. If you double click the request you can see the content of the SOAP request in the main window:
Since my webservice doesn't have any input parameters, it is very simple request. When we click the green arrow the request is sent and we will see the SOAP response we got back from the server:
-
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
<soap:Body>
-
<myAnswer xmlns="http://net.pascalalma.services/BookService">
-
<ns1:BookObject xmlns:ns1="http://model.pascalalma.net">
-
<author xmlns="http://model.pascalalma.net">Pascal Alma</author>
-
<isbn xmlns="http://model.pascalalma.net">1313131313</isbn>
-
<title xmlns="http://model.pascalalma.net">XFire Tutorial</title>
-
</ns1:BookObject>
-
<ns1:BookObject xmlns:ns1="http://model.pascalalma.net">
-
<author xmlns="http://model.pascalalma.net">Pascal Alma</author>
-
<isbn xmlns="http://model.pascalalma.net">1413135316</isbn>
-
<title xmlns="http://model.pascalalma.net">XFire Advanced</title>
-
</ns1:BookObject>
-
</myAnswer>
-
</soap:Body>
-
</soap:Envelope>
So now we know the webservice is working. To make it a good test case, we need to create a new testsuite in our project and add testcases to it. With these test cases you can send your custom SOAP requests and check the response with asserts. You can do this by right-clicking the BookServiceHttpBinding and choose 'Generate Testsuite'. You will now get a testsuite with one test case (in my situation). If you expand the Test Steps node and double click at the TestRequestStep getBooks you will see the simple SOAP request again in the main window. But this time you can right-click in the bottom of the window to add assertions:
This way it is not only checking whether the service is reached, but it also checks if the content of the reponse is what you would expect to be returned by the service. This is just a small example of all the things you can do with soapUI but I hope when you play around with it, you will get enthousiastic about the tool as I am.


151 comments to 'Using SoapUI for testing your webservice'
3 July 2007
hi
m new to this soapUI tool.. can any one tell whether we can use this tool to load test the webservice application and other java applications..
can we generate graphs for load test..
4 July 2007
Yes, soapUI can definitly be used for load testing your webservice. It can also produce some graphs for you. But our experience is that when your using large number of threads (+10) for your test soapUI is having trouble to keep track of the sent messages: although it is sending all messages you ask it to, it stops counting the messages it has sent and therefor produces wrong graphs.
More info on load testing:
http://www.soapui.org/userguide/loadtest/index.html
9 July 2007
[...] I blogged a few posts ago, we are using the freeedition of SOAP UI to test our webservice and are very pleased about it. In [...]
18 July 2007
[...] Using SoapUI for testing your webservice Testing Web Service Clients [...]
23 August 2007
Does anyone know if you can use SoapUI with Digital Certificates?
24 August 2007
Yes, you can!
In SoapUI go to menu option 'File-Preferences'. Then at the third tab 'SSL Settings' you can browse to your digital certificate 'file' and supply the personal password for the keystore to use.
Hope this helps.
18 September 2007
Hi,
I'm new to SoapUI and I am trying to insert the values dynamically in request, so anybody can tell me how I can do this?
18 September 2007
You should read this entry: http://www.pascalalma.net/2007/07/11/another-common-issue-solved-with-soap-ui/
That should help you on the right track.
19 September 2007
Thanks Pascal for the information. It has really helped me. But few things are yet not resolved. I'm doing functional testing, so in this case I am still not able to relate with Property transfer and getting confused with property expansion. Can you please guide me for this?
Regards
20 September 2007
Hi,
Thanks Pascal, my queries are resolved. Thanks for your cooperation.
Regards,
21 September 2007
Hi Pascal,
I'm a bit stuck... on the SSL part, I created a keystore using keytool. My webservice server authenticates with a client supplied SSL cert. I get the keystore loaded just fine, but I cannot find a way to invoke the request using the cert in the keystore... any suggestions?
Any help would be appreciated...
Thanks,
Glenn Geller
22 September 2007
Hi Glenn,
I'm not sure if I understand your question correctly, but I will give it a try. You generated a keystore by yourself. In that keystore you have stored a key/certificate that is supplied by a client. Now you want your soapUI request to use that certificate, is that correct? Because if that is what you want then you will need the private key of your client, and I can imagine that you don't have access to that, for obvious security reasons.
If I am still on the right track :-) then you should generate your own private key, add that to your keystore that is stored at the server and add that self generated key to your Soap UI request like this:
In SoapUI go to menu option ‘File-Preferences’. Then at the third tab ‘SSL Settings’ you can browse to your digital certificate ‘file’ and supply the personal password for the key to be used.
I hope this helps.
7 December 2007
Great!
5 February 2008
Hi Pascal,
Right now I am able mock a web service and the end point would start as http://..... What do I need to do if I want my end point of accessing the mockservice should start with https://...I am not sure on how to use the SSL settings.
Please help me in this regard
7 February 2008
Hi Nandhaa,
I'm not sure I do understand your question. Do you want to know how you can set the endpoint to 'https' in Soap UI or do you want to know how you can enable the 'https' protocol at your server that is running your webservice?
Can you explain your question a little more, please?
7 February 2008
Let me state the problem step by step
1. Created a New WSDL project using a wsdl file
2. Generated the mock service with the 'path = /mockDayOfWeekBinding' and port = 8088
3. Started the mock service
4. In my request editor submitting a request to the endpoint url "http://127.0.0.1:8088/mockDayOfWeekBinding"
5. Am able get the response back
My question is how can have my end point as "https://127.0.0.1:8443/mockDayOfWeekBinding".
I have configured the SSL settings but its not working.
13 February 2008
When I hit the request for the URL https://127.0.0.1:8443/mockStockQuoteServiceSOAP11Binding. The response that I receive is
There are currently 1 running soapUI MockServicesStockQuoteServiceSOAP11Binding MockService
What might be the problem
Please help me :-(
28 March 2008
1. The maximum number of threads that can be set for the load testing. In the link http://www.soapui.org/new_and_noteworthy_17.html it is written that the number of threads can be set to 9999. Is it possible to set the number of threads to 9999 in SOAPUI?
2. Is it possible to do parameterization and correlation in SOAPUI? if yes how to do parameterization and correlation
29 March 2008
Hi Deepu,
1. Yes, it is possible. See the documentation how to do it: http://www.soapui.org/userguide/loadtest/configuration.html#Thread
2. I'm not sure I understand your question but I suggest you read the documentation about testing webservices with Soap UI and you will find the answers there.
1 April 2008
Thanks for your reply,My Second question is that how will we capture Dynamically changing values while doing testing like session id and all.
1 April 2008
Is it possible to take particular value from the request . I am getting the following reponse for a webservice which converts temperature in different units.
285.15
I want the converted temperature (ie 285.15) alone . Is it possible to do it in soapui
1 April 2008
I have entered the webservice code while i wrote the comment. But it is cleared after submission.
I am using web service which converts temperature in different units. So i have to enter the temperature , two different units like Celsius , fahrenheit. After running the webservice i will get a numerical value as response. I want to capture that value. This can be done in loadrunner. It is called as correlation in loadrunner. I want to know whether this feature is available in SOAPUI
1 April 2008
Hi Sankar,
I think you can use a property transfer step for that:
http://www.soapui.org/userguide/functional/propertytransfers.html
This way you can get a value in your response and use as input for your next request for example. See also my post here:
http://www.pascalalma.net/2007/07/11/another-common-issue-solved-with-soap-ui/
12 April 2008
Hi,
I am using SaopUI tool for Webservice load testing and i m facing some problem with xml parametarisaton.
Can any one give suggetion on this??
My webservice will take 3 parameters.
1. UserName
2. Password
3. XML data
So i want to parameterise the one of the xml parameters, how can i do this??
13 April 2008
Hi Nandeesha,
I assume you use a XSD for the definition of the xml data as the third parameter in your WDSL that describes your web service?
If so, let SOAP UI generate a dummy request for it and fill in the xml test data you want it to use.
See this link for the next step: how to paramterise the xml data:
http://www.soapui.org/userguide/functional/propertytransfers.html
Hope this helps
14 April 2008
Hi Pascal,
How test webservices using soapUI2.0.2, i have downladed trial version for testing my weservice.
I have my own webservice and related XML using this how to test.
Earlier i was using Parasoft SOAtest there i will browse and add the wsdl and would paste related XML and validate i will get the respose. so here i am facing problem can explain how to do in soapUI same way
Thanks in advance pascal
17 April 2008
Hi Sure,
I don't see any issue in your post. Can't you just follow the steps as I describe in the post? Are you running into some kind of problem??
19 May 2008
Hello Pascal,
Your web blog is very exciting and great helpful site.
I am using soapUI 2.0.2 trail version (not the PRO).
I am having problem duing the project creation stage itself.
I entered the project name and Inital WSDL (I am not giving actual url name here. because of policy) https://xxx.xx.xx.xxx/mytest/services/webservicename?wsdl
after pressed OK, a small "progrss window" display the message "Loading WSDL", but nothing is happening. then i cancel it after 10 minutes, i got the error window says
"com.eviware.soapui.support.soapUIException:Error importing wsdl"
could you help me what is missing here and why is not loading the WSDL. is that any special setting required for https:// url link to load wsdl.
Note: If I type the URLhttps://xxx.xx.xx.xxx/mytest/services/webservicename?wsdl
in the browser address bar, I can able to see the WSDL detail and the definition details.
any tips would be great help and i really appreciate that.
Thanks,
20 May 2008
Hi Dave,
Thx for the comment.
Off the top of my head this could be caused by a missing proxy configuration. Do you need a proxy to access the server? If so, check the one you have configured in your browser and add these in the preferences of SoapUI (proxy tab)
Let me know if this helps.
22 May 2008
Hello Pascal, Thanks for the tips and worked fine. you are correct. in the Proxy settings tab, need to provide proxy name and the port. Excellent.
one more quick question. by using soapUI, i confrmed the webservice are communicating. so that i can send request and receive request using soapUI. but when i develope c# code using .NET, I am not able to getting back the response.
Here is my issue:
I have a soap body and I need to send this soap envelope and receive the respnse.
Please light me on this. how do i develop simple console .NET application using visual studio 2003 to test this SOAP request and the response from the web service.
Thanks a lot pascal. Have a Great day
For example:
sample1234567890
testPayLoad
myprojects/sample/my_sample.xml
comp name
addr1
addr2
kool
programmer
22 May 2008
Hello Pascal,
somehow the soap envelope body is not displayed in the area. consider a smiple SOAP envelope text to send the request. Thanks
23 May 2008
Hi Dave,
Unfortunately I don't know anything about .NET and Visual Studio (I am more a Java guy ;) ). So i guess if you want to use this it is better if you will have a look somewhere else for an example.
26 May 2008
Hi,
I started using soapUI2.0.2. I want to test my webservices with different datasets so that i want to set the values at runtime for soap request. I heard that properties editor will sort out my problem, but could not find properties editor in the free version.
can you please let me know where can i find this editor in soapUI
waiting for ur reply.
26 May 2008
Hi Sri,
Have a look here: http://www.soapui.org/userguide/properties.html
and here:
http://www.pascalalma.net/2007/07/11/another-common-issue-solved-with-soap-ui/
That should help you.
26 May 2008
Thanks for the reply.
Let me explain the entire stuff that i worked on soapUI.
1) I imported wsdl and created a new project.
2) Added one of the service to TestCase.
3) Created a new Properties step.
4) Added 2 properties in the properties step.
5) After properties step, I clicked Insert Step -> Run TestCase.
6) I got a dialog box which has TestCase, TestSuite and Return properties labels.
7) I could see the TestSuite in the drop down box, but not the test case. Drop down is empty.
i dont know what is going on. can you please help me.
26 May 2008
Hi Sri,
I just had a quick look. I haven't used this version and/or the Run testcase step before, but I found this:
You can only select the properties which are defined at the TestCase level. You can do this by selecting the TestCase in the navigator pane and then click the 'properties' button at the bottom of the navigation pane. The properties you define here can be used in the Run Testcase step. The properties in the properties step inside your testcase only have a 'local' scope.
I hope this helps if you didn't find this out already :-)
27 May 2008
Hi,
I could set the properties succesfully. Right now the problem is, i am trying to load the input parameters from a text file through a groovy script and placing them in the TestRunContext , in another groovy script i want to use those values. When i try to retrieve, i could see the context values as null.
below is the first groovy script:
def list = []
new File( "testdata.txt" ).eachLine { line -> list.add( line ) }
log.info( "Read " + list.size() + " test values.." )
log.info("read"+list)
context.setProperty( "values", list )
context.setProperty( "index", 0 )
second groovy script:
def values = context.getProperty( "values" )
def index = context.getProperty( "index" );
log.info("values:"+values+"index:"+index)
when i ran the second script i could see values as null. How can i resolve this problem?
thanks again.
TestRunContext
28 May 2008
Hi,
I got that worked. The problem is, i am running individual groovy scripts, so that the context is not set at all the instances
thanks again,
sri
28 May 2008
Hello Pascal,
How are you. can you recommend any best response site like your blog for .NET/C#/VB.NET forum to ask questions.
Thanks. still i am having hardtime with webservice interaction issue.
28 May 2008
Hi Dave,
The best I can offer are the results of Google:
http://www.google.nl/search?hl=nl&q=msdn+webservice+%23+.net&btnG=Google+zoeken&meta=
28 May 2008
Hello Pascal,
Your prompt response is very helpful. Thanks for all your help.
Have a Great day
3 June 2008
Hi Pascal,
i started using SOAPUI 2.0.2. I have create a new empty WSDL project, i wand to add my wsdl to the project from url, but get the following error:
Error importing wsdl: org.apache.xmlbeans.xmlException: Error: unexpected character encountered (lex state 12): 'r'.
I don't know what's going on. may you help me?
(Note: the Service work fine with Oracle BPEL Process Manager Console)
thanks in advance
Pat
3 June 2008
Hi Pat,
I haven't seen that error before. It might have something to do with file/http encoding.
May be you can open the wsdl in a webbrowser, save it as file and try to use that for your SoapUI project. If you have saved it you can sent it to me so I have a look at it.
Pascal
4 June 2008
Hi!
I've a question about . How can I test several webs services at once, with soapUI tool?
Thanks it advance
4 June 2008
Hi Gml,
Yes, that's possible. For each SOAP request in your test case you can edit the endpoint to which the request is sent.
hope this helps.
9 June 2008
Hi Pascal,
could you send me your eMail-adress at olidong@hotmail.com. the file is to big to paste in this block i supose.
thanks.
10 June 2008
Hi,
I have one question.How can I integrate the SOAPUI 2.0.2 Pro with BEA ALSB?
Thanks,
10 June 2008
I have one question, i see more about testing webservice using SOAP UI but is there a way to capture the request, save it and replay back?.
Lets say: i am running a client and i want to capture all the requests going to the server, save it and just replay those next time to see if server responds. can this be handled? please let me know your ideas and would appreciate it.
Thank you
10 June 2008
How can we trap the request/response xml's using soapui?
10 June 2008
@Ram:
You can just put your SOAP requests in a TestCase and rerun this testcase in SoapUI whenever you want. I do not know what you mean by capturing the request. You already have this request because you are sending it with SOAP UI... Or do you want to capture all incoming requests on the serverside, also if they are sent with/from other clients??
Because then you will have to add logic on the server I guess.
@Nidhi:
I don't understand what you mean by integrating them. I assume you deploy/ define your webservice at the Bea Server and you test it with SoapUI as a client???
12 June 2008
"I've a question about . How can I test several webs services at once, with soapUI tool?
Yes, that's possible. For each SOAP request in your test case you can edit the endpoint to which the request is sent."
Now, this endpoint is the same in all Soap request??
12 June 2008
Thanks Pascal for your response.
You are right.
I want to know what are the features which are supported by SOAPUI Pro only not by others.TestSuite is one of them I think(I dont have much idea about testing tools).
Please let me know your ideas.Based on this information only my team is going to use this tool.
Thanks in advance,
12 June 2008
@Gml:
No, you can set the endpoint for all requests in a test case at once, but you can also edit the endpoint for each request separately.
@Nidhi:
I am afraid I can not help you with this one. I have only used the free SoapUI and this had everything I needed. Why don't you give this one a try (it's free after all).
13 June 2008
Hi Pascal,
Thanks for your prompt response.
I have a problem in setting dynamic values in the xml.
below is my test xml file which already has dynamic values set
${[TestSuite]no}
${[TestSuite]no}
${[TestSuite]no}
I tried to place a property named "no" in the property step. Through groovy script i am trying to read dynamic values and assign to the property and assigning it to the request xml. For every iteration it is running, following is the request:
002
${[TestSuite]no}
${[TestSuite]no}
only the first property is replaced with the value, the same property is not again replaced with value ..instead it is showing as above? can you please guid me?
Thanks in advance
14 June 2008
[...] That's it. You can test your web service with a tool like SoapUI and create test cases based on the generated WSDL like I described here. [...]
15 June 2008
@Sri:
I use the 'Property Transfer' step for that. This step comes between the 'Groovy' step and the 'Request' step. In this 'Property Transfer' step you can check a tick box saying 'Transfer to all'. This replaces all matching targets with the property value.
I hope this helps.
16 June 2008
Wow pascal..
thats amazing...it really helped me a lot. You are great. Thanks again for your help.
Sri
17 June 2008
Hi!
I don't understand the answers about my questions.
I've diferents webs services and I'd like testing them at once.
How can I do it?.
I haven't a web service with several test case I have several web services with a test case each.
Thanks again.
17 June 2008
@Gml:
I'll give it another try:
In your TestCase you can add two Test Steps of the type 'Test Request'. For each of the two Test Requests you can set the endpoint. So you can create a 'Test Request' for the endpoint 'http://myserver:8888/myService1' and one for the endpoint 'http://myserver:8888/myService2'. Now if you run this TestCase you actually test the two web services.
I hope this helps...
20 June 2008
Hi!
I testing my web service and when the request run, its response is:
Error getting response; java.net.ConnectException: Connection Timed Out. Why?
Thanks
20 June 2008
@Gml:
- Your server isn't running
- Your using the wrong port
- You have to use a proxy to get access to he webserver
Most of the times it's one of these things
24 June 2008
Hi Pascal, I am trying to run a test case which does not expect any input but expects the output. when I trying to run that test case i am getting error as socketTimeOutException:Read timed out. Could you please give the solution for this? It will be greatful for me.
Anand
24 June 2008
@Anand:
Sounds like your service isn't returning anything to the client (SoapUI). This can have a lot of reasons. Are you able to get the WSDL of your service in your browser, for instance? Do you have any logging in your webservice, so you can make sure the code is executed? I suggest you do so some more investigation and then come back with more details about the issue, because this way it is hard to be of any assistance, I'm afraid.
25 June 2008
Hi Pascal,
When i ran loadtest, i could not see webservice (soap requests) logs in the loadtest log (either in soapUI/http log). How to enable the logs for the loadtest. I could see "enable" as checked when i tried to right click on the load test log tab.
But when i tried to run the load test, following is the log file:
" INFO:Disabling logs during loadtests "
Please guide me in finding out the way to enable the load test http logs.
Thanks,
sri
26 June 2008
Like Glenn 21 September 2007, I am trying to get client certificates working, in my case against IBM Z/OS and CICS Web services.
Before we switched on client certs, we had this working over http using port 1080, then we got it working over https via port 1443 - then we switched on client certs for the Webservice.
I created a cert with the utility:
keytool -selfcert -alias CICSService2 -dname "CN=CICS Service 2, OU=Info Services,o=Adelaide Bank,L=Adelaide,ST=South Australia,C=AU" -genkey -validity 3652
I exported it with
keytool -export -alias CICSService2 -rfc -file .\cicscert.cer
and uploaded and associated it with the appropriate user id on the mainframe.
I set the preferences -> ssl tab to pick up the keystore, but when I test, I get
"A client certificate that maps to a valid userid is required"
on the soapui error log I get
Thu Jun 26 15:35:23 CST 2008:ERROR:org.apache.commons.httpclient.NoHttpResponseException: The server cicrfstw.int.adelaidebank.com.au failed to respond
My question - How can I decide if Soap UI is presenting my certificate?
26 June 2008
Hi Pascal,
I want to move the testcases from Soapui pro to vsts.How can I do that?
26 June 2008
@Sri:
I don't know about this. I can imagine that soapUI is disabling the logging so it uses all its resources for performing the load test; I don't see why you should log in this kind of test. I believe that error (Soap faults) are shown anyway.
@Nidhi:
I dont know what you mean with 'vsts', but like I said before I don't have any experience wiht the Pro version. One approach could be to use some XSLT process o transform the project's xml file, but I guess this is still a lot of work.
@Roland
If I look at the exception message, I am not sure it is a problem with the certificate, but looks more like an issue with a proxy or something like that. Are you sure soapUI has access to the server and that the server is allowed to send response back through that port?
27 June 2008
Thanks Pascal,
I think there is no proxy, because with a wireshark trace I filtered using the real IP address of the target, and saw all the traffic. A trace with filters removed showed bacgkround noise, but nothing of interest.
27 June 2008
Hi Pascal,
I want to see the individual soap requests and responses for each input during the load test. where can i check those?
Thanks in advance,
Sri
1 July 2008
@Roland
I'm sorry but I am out of options here. I'm afraid I can help you with this from a distance. I hope you're able to solve it yourself. somehow. Let me know if it was something simple, so I (and others) can learn from it ;-)
@Sri
I don't know if that is possible with soapUI. You might log all requests and responses at the server side but that will affect the behaviour of the application. Maybe it is better to build your own client for that so you can create 'handlers' for the logging yourself. Or just have a better look at SoapUI, because the fact that I don't know it, does not mean it is not there!
2 July 2008
Hello,
I am using soapUI to test the web services written in C#. I created a new project by importing proper wsdl. I gave correct usernaem , password and ws-password type password digest. But I am getting fault code in my response as " The security token could not be authenticated or authorized ---> WSE563: The computed password digest doesn't match that of the incoming username token". Can anyone please suggest me, how to make the digest computed by soapUI and one by services written in C# compatible.
Thanks
Mohil
4 July 2008
Hi,
i am getting below exception when i choosse to open wsdl file from soapui.
""com.eviware.soapui.support.soapUIException:Error importing wsdl""
I have verified that no proxy is set in the browser to access the URL .Pl let me know anything related to configuration settings i need to do do
4 July 2008
Hey i got a API of HTMLViewservice called addReportToPage for which am passing reportdefinition which is in xml format.When i run ther service am gettign assertion failure exception
4 July 2008
@Sam
Did you have a look at the 'command promt' window of SoapUI? Maybe there is some more nfo there about the exception (stacktrace)?
@Atreya
I'm sorry but I'm not sure what you expect of me about that issue. You have to supply more info about the error, but I think you should first make sure the problem is in SoapUI and not in the xml passing to the service.
4 July 2008
Thanks For the Response.
Am calling htmlviewservice addReportToPage().It takes pageid,session id ,and report path and report definition.
I got pageid and sessionid from startPage service and SAWSessionservice.I know the path of the report which i am trying to add it into the page using addReportToPage.
The report definition is in xml format.So when i passon these parameters to addReportToPage it says:
soap:Client
Assertion failure: false at line 126 of
7 July 2008
I would like to create a Web Service with to other services and be able to test them with a single click with soapui
Can I do it? how?
Thanks
7 July 2008
Hello sam or atreya,
I am using soapUI to test the web services written in C#. I created a new project by importing proper wsdl. I gave correct usernaem , password and ws-password type password digest. But I am getting fault code in my response as ” The security token could not be authenticated or authorized —> WSE563: The computed password digest doesn’t match that of the incoming username token”. Can anyone please suggest me, how to make the digest computed by soapUI and one by services written in C# compatible.
Thanks
Mohil
7 July 2008
Continuing the above mail.. the ws-security info that is want to use is as follows:
Here is the WS-Security info. Please let me know if it works for you...
TokenManager Settings:
7 July 2008
TokenManager Settings:
8 July 2008
Hello Pascal,
I am using soapUI to test the web services written in C#. I created a new project by importing proper wsdl. I gave correct usernaem , password and ws-password type password digest. But I am getting fault code in my response as ” The security token could not be authenticated or authorized —> WSE563: The computed password digest doesn’t match that of the incoming username token”. Can anyone please suggest me, how to make the digest computed by soapUI and one by services written in C# compatible.
These are the security details:
"
TokenManager Settings:
"
Thanks
Mohil
8 July 2008
Hello pascal,
I dont know, why I am not able to sumbit my security settings in comment. I will really appreciate if you can give me your mail id so that I can contact you.
Thanks
Mohil
8 July 2008
Hi Mohil,
You can send your mail to blog@pascalalma.net .
But I must admit I am not familiair wit .Net and haven't used the ws-password so I am not sure if I can be of any use with this, but you may try, of course :-)
8 July 2008
Hello Pascal,
Thanks a lot for your reply.
well I have sent you a mail titled : Problem regarding testing web service on soapUI.
I will really appreciate if you can help me solving the issue.
Looking forward to hearing from you soon.
Thanks
Mohil
9 July 2008
@Mohil:
I did some 'googling' and found this thread:
http://wso2.org/forum/thread/3191
They say you should have a security policy defined in your WSDL for .Net services??? They provide this link as an example:
http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl=wsdl0
I do not see that part in your WSDL, may be that is something to look after. Anyway, I think you can better ask your question on a .Net forum because I think the error is somewhere in the web service configuration, and not in SoapUI, but that is just a guess!
9 July 2008
Hello Pascal,
Thanks for your help.
Well I have sent you another mail that deals with soapUI.
I will be grateful if you can help me solving the issue.
Thanks
Mohil
10 July 2008
Hi Pascal,
Does SoupUI supports HTTPS protocol...? because our application is having HTTPS.
Thank you,
Ravi
10 July 2008
Hi Pascal,
We want to test webservice governance testing using SoapUI 2.0.2. Is it possible to test webservice governance testing using SoapUI 2.0.2.
Thanks.
Girish
10 July 2008
Hi Pascal
I would like to know if i can make in Groovy Scrpit some dinamic request before the MockService send the response. I start a request X and have some MockResponse Y. This response Y schoud start request Z with external endpoint and add response Z to his response Y and send this YZ response to X.
Thanks
Marian
11 July 2008
Hi, the wsdl file which i have contains a API under htmlviewservice.
Am not able to see all the APIs under htmlviewservice when i opend the wsdl file
14 July 2008
@Ravi:
Yes, soapUI supports HTTPS. I have used it many times since our webservice was only accessible by HTTPS.
@Girish:
I am not familiair with 'webservice governance testing' so I cannot answer this question. I know about 'SOA Governance' but I don't see how you can test this, with or without SoapUI. I thought it is more a kind of process you use to get to an successful SOA implementation. Of course, you can test the result (SOA Iimplementation) but how to test the process??
@Marian:
I haven't done that before, but it does not seem impossible to me. Unfortunatley I am very busy at the moment (who isn't??). But you might take a look at the 'property transfer' step. You can copy the respone from one SOAP call to the request of another SOAP call.
@Atreya:
I still don't know how I can help you with this. Did you create the wsdl yourself or is it an existing one?
May be you can sent me the wsdl and your soapUI project? But I must say that I don't know when I have time to look at it.
You can sent it to blog@pascalalma.net.
14 July 2008
Hi Mohil,
About the error: I getting the same error in my project! It looks like a bug in Soap UI to me, because I can't find anything wrong in my WSDL/XSD and Soap request, so I would say: ignore this message.
About the PKI key:
In the SoapUI preferences, if you select the tab 'SSL Settings' you can browse to a local (private) keyStore which you want to use with your SSL request. I use it with a .p12 file I generated myself for testing purposes.
Hope this helps.
Mohil wrote:
> Hello Pascal,
> Thanks for your reply.
> Well can you do me another favor.
> I am sending you the request message. On validation, it is giving the error : line-1 missing message pasrt with name [{http://boschxml.org/rb/na/epds/service}GetProduct]. Can you suggest , what could be the reason.
>
> Also, I want to use PKI key store in soapUI. I dont know how to do it. Can you suggest me the way to do this?
>
> Looking forward to hearing from you soon.
>
> Thanks
> Mohil
15 July 2008
Hi,
I have a login API which takes login credentials and in response i get the sessionid.
I have another API which i call after calling login API and it takes the sessionID as input parameter.
How to passon the sessionid from logon API to another API.Imean can i have a variable defined which holds the sessionid so that i can include it in oteher APIs?
15 July 2008
@Atreya
I would make two soap requests and between them a Property Transfer step.
So first call the login API. Then in the Property Transfer step you can copy the session ID from the response of the first call to the request of the second SOAP call and then perform that call.
Hope this helps.
15 July 2008
Thanks for response,
Infact i tried property transfers. below are the steps i followed.
I have created a property transfer named sessionid and in that i defined a transfer name sessionid.in the source dropdown i chose logon and property as response.
In the target dropdown i chose the API for which i need to transfer sessionid and in taget propery i chose request.
Is above steps ok?
Where do i need to copy the sessionid under the source property transfer window or under target window?
Do i need to copy every time i run the testcase? is it not possible to have a variable which in run time holds the sessionid and can be called in further APIs?
15 July 2008
Infact property transfer is happening but the transferd value contain whole xml data including soap envelope and all and also sessionid between sessonid tags.how to extract only that value in the response?
15 July 2008
Atreya,
In the textboxes below the source and target of the property transfer step you have to add a XPath expression to the element you wish to transfer.
So you will get something like:
//the_namespace:sessionIdElementName
see also this post: http://www.pascalalma.net/2007/07/11/another-common-issue-solved-with-soap-ui/
22 July 2008
Hi,
I have multiple webservices with multiple endpoints behaving in a synchronous manner.Is there a possible way that I can use soap ui to call the two webservices in the same test suite using multiple endpoints.
23 July 2008
Hi,
I am using SoapUI Tool to test our webservices.
i have multiple webservices. i am executing all those webservices at a time by creating test suite.
Is it possible to save Request & Response (together) in SoapUI tool.
Can any body help me out to do this.
Thanks
Vidya Rekha B
25 July 2008
I have a mainframe web service on port 8080, which I can connect to with my .Net applications (and currently use) as well as through IE and Firefox. However when I try to connect through SoapUI, it fails to connect. I am specifying the same address I put into IE and Firefox (which includes the port, e.g. http://mainframe:8080/'path/service?wsdl).
I used WireShark (previously Etherreal) to inspect the packets and I found that SoapUI is trying to connect on port 80 regardless of specifying port 8080.
So, I did some further investigation and tried connecting to a web service that was on port 80 and 8888 and both worked great.
SoapUI is an excellent tool and I hope I can use it with my mainframe web services.
Does anyone know what I can do to fix the issue and force SoapUI to use the port I specify?
29 July 2008
@Gary:
Yes, that is possible. Someone else asked the same in the comments. Check might check them for a possible solution
@Vidya:
I haven't done that before, so I don't know. But it looks possible to me. Otherwise you have to log it at the serverside (in some protected area, so you can control who is using the service). Most Webservice frameworks have a solution for that.
@Brock:
I am also using port 8080 in SoapUI so that doesn't seem to be the problem here. Could it be a problem that Soap UI is doing a http POST request and the browser are doing GET requests? You might check that.
30 July 2008
Hi Pascal,
Thanks for your quick response. One more question, I have done webservice load testing using SoapUI is it possible to export the graphs from the tool?
31 July 2008
Hi Pascal,
Thanks for your blog. It is very informative.
I am using soapUI 2.0.2 (free download) trying to get my mock service to use a keystore. I have generated the keystore file and placed the proper configurations in the settings. When I launch the mock service, the performance on my box suffers horribly, to the point if I click on the "I" to get a look at the WSDL, it takes minutes for a browser to pop up, and I have not yet had the patience to wait to see if the WSDL is ever displayed. When I remove the SSL settings, performance is back to what is expected. Any ideas on what might be causing this?
Thanks,
Paul
1 August 2008
@Girish
I am not aware of any export functionality, other then the print screen one ;-). But please keep in mind I am only a simple (and enthousiastic) user of SoapUI and I do not know all things about it (yet).
@Paul
It looks like the used SSL port is blocked and SoapUI is waiting for it or something. I must say I haven't seen this behaviour before, so I am afraid I can't help you with this.
7 August 2008
I am using SOAP UI 2.0.2(latest) for by SOAP load testing. I loaded WSDL files to tool and written Groovy script to vary the contact name(for contact addition example) for each and every contact add sent to server in load test. But the problem is i need to verify the response, since failure response is also a SOAP body the tool is taking the response as success and not showing it as error. Some times i see no response sent from my server but still tool doesn't capture it as failure(err). If i send 100 ContactAdd requets(delay of 1 sec with each req) i see only 80 to 90 conatcts are added successfully in database but my SOAP UI tool still shows it as no error and all 100 success. Pls help me asap in this regard and i tried hard to come out of this but couldn't. Pls reply ASAP.
Thank u.
8 August 2008
Back to this from June 08. I have looked closer a the wireshark trace, the client is presenting no client certificates to the Web service. I wonder what it takes to make it do so - I will keep changing wheels till I find the flat one.
8 August 2008
@Raghavendra:
I have had similar behaviour too in a testcase. And although I was told it had something to do with soap UI it appeared to be a bug in our web service implementation. Our implementation was not completely thread safe. So maybe you can check that in your case too??
Another option is to add 'Assertions' to your response so that SoapUI will check the content of the repsonse for a specific tag/text and/or it will validate the response against the schema configured in the WSDL.
11 August 2008
Hi,
I’m new to SoapUI and I am trying to insert the values dynamically in request by reading the values from external source, so anybody can tell me how I can do this?
12 August 2008
@Amruta:
You can take this post as an example:
http://www.pascalalma.net/2007/07/11/another-common-issue-solved-with-soap-ui/
The first step (properties step) can also be based on the contents of an external property file.
I hope this helps.
13 August 2008
Thanx pascal, adding assertion to response solved my issue.
20 August 2008
I pascal,
I have configured 6 proxies in my ALSB console and i want to test them in SOAPUI. When i import the WSDL using http://localhost:7001/proxyname?WSDL i am able to do it for 5 of them. But one service returns an error "Unexpected element TAG_END". Can you help me with it?
Thanks
sandeep
20 August 2008
Hi Sandeep,
I haven't seen this before in Soap UI. It looks like it is an issue with the 6th proxy. What do you get as WSDL when you open it in a web browser? Do you see the term 'TAG_END' there??
21 August 2008
Hi Pascal,
I am trying to perform Load testing using SOAP UI tool wherein we have to send multiple requests to one web service each after some time interval, I have added three steps in the test case 1. Data Source 2. Test Request 3. Data loop
I have to submit the multiple Test requests each one after some time interal say 6 sec. but "step 2. - Test Request" itself takes 20 sec. to get the response from WSDL so it will wait for 20sec. to move to nest step i.e. "step 3. -Data loop" and then again it will initiate request with different Inputs parameters from Data Source. So in this way we will not be able to send the multiple requests every 6 secs. (regardless of response for each run)
Could you please help me our here, how can I simulate this scenario?
Thanks!
23 August 2008
Hi Pascal,
Please help me out here ASAP.... I am in need of it.
I want to send multiple requests asynchronously how would I be able to do this using SOAP UI?
24 August 2008
Hi Niranjan,
You might take a look at this post:
http://www.pascalalma.net/2007/07/11/another-common-issue-solved-with-soap-ui/
In this post I use the load test option of SoapUI to run many threads simultaneously. But I am not sure if this is what you want with your test case.
But when processing a SOAP request takes 20 seconds and you want your web service to receive a request every 6 seconds from the same client you might want to change the implementation of your web service, so it is not processing calls in a synchronized way but asynchrone.
Hope this helps.
26 August 2008
Thanks Pascal for your reply,
I can not use threads as every time I want to send the request with different input parameters and also I cannot change the web service as it is not designed by me....but I am going to test the same.
Do you think, is there any other way to achive this?
11 September 2008
hi paskal,
I need to send 15k request per second to test load and performance of webservice, could you please tell me what sort of steps need to be prformed for it.
15 September 2008
hi pascal, i need it asap plz if u could help me out? thanks
24 September 2008
Hi,
I usually test my soapui project files with Ant and provide a '-e' flag with testRunner.sh that I use in build.xml file.
I need to make a groovyScript Test Step in few of my test cases that are supposed to be run on different endpoint than defined in '-e' flag.
Is there a way to enforce change of endpoint dynamically while my tests are running through Ant?
Can you please provide a groovyScript Code Snippet for the same solution.
Here is what I tried but didn't worked:
def currentTestStep = testRunner.testCase.getTestCaseByName("XxxTestStepName");
currentTestStep.setEndPoint("http://localhost/soapapp/appId=3");
There is no such thing like testStep.setEndPoint(). Can please tell me how to go about it as I can't figure this out in SoapUI API Docs.
25 September 2008
I tried following code and it did work in SoapUI but when i used it from Ant with 'testRunner.sh', it became useless. Looks like testRunner.sh '-e' flag overrides everything...
GroovyScript Snippet:
def currentTestSuite = testRunner.testCase.getTestSuite()
log.info(currentTestSuite.getLabel())
def prj = currentTestSuite.getProject()
log.info(prj.getPath())
def iface = prj.getInterfaceByName("InquireServiceHttpBinding")
iface.changeEndpoint("http://localhost/soap/oldEndpoint","http://localhost/soap/newEndpoint")
Well, I've another idea of using my persistent properties file for the same cause... It would definitely work, but can you please give me some hint in code to SET endpoint on testStep level instead of CHANGING it on Interface level...
Awaiting Response...
25 September 2008
Is it possible to use soapUI from java code? I mean, to use some soapUI jars?
I have about 80 webservices running and what i want to do is write a java servlet that constantly send and recieve soap messages to and from webservices - some sort of soapUI load test but the interface is accessed from the web browser.
I've managed to do that without soapUI, but its a lot of work to prepare a single servlet for a given webservice.
I've read about soapUI sources that have to be built with maven. I've started to play with it but i had to gave up because it took me too much time to make maven (really odd tool:) start compiling sources and i cant afford to play whit it any longer.
Maybe there are ready-to-use soapUI jars somewhere and I cant see them?? Please, help me.
26 September 2008
Hey Pascal... I found out simple way of using multiple endpoints through use of external properties file to soapui project file and then using property expansion within suite. All this, without using any '-e' flag with 'testRunner.sh' because I am having similar effect with property expansion within suite this time with multiple endpoints unlike 'testRunner.sh' '-e' flag.
Thanks anyways... :)
28 September 2008
@All:
Sorry I didn't reply sooner to your questions, but I have been out for a while ( on a wel deserved holiday ;) )
@Pablo:
I haven't tried that but it seems to me it must be possible. I know it is possible to run SoapUI projects with Maven, but based on your comment I guess you are not a big fan of Maven?? May be you should give it another try with Maven because I think it is a great 'tool', not only for this specific purpose but for your complete build/test and deploy cycle of your application.
@Tamoor:
I understand you have it working now?? This is also a thing I haven't needed before but I am still learning this way :-)
@Sudhansu:
I would suggest to set up a load test as described in the Soap UI manual. If you run into any problem with that you can ask here if someone can help you with it.
@Niranjan:
I am not sure how to solve your problem. If you can't use the multiple thread option somehow of SoapUI you might run several threads of Soap UI it self???
Otherwise it might be handier to build your own web service client so you have full control of it.
30 September 2008
Folks,
Wonder if anyone has encountered a problem with NLS/Non Ascii Characters in the URL?
http://jacro12w2k3:9082/P303/S_VIEWS_IM_EX_ÃÑÑÖÏÑG_BeanService?wsdl
7 October 2008
Regarding my post Time: 25 September 2008, 8:15 am
I've made it to run soapUI API and its really fun but poorly documented. I've searched all soapUI sourceforge forum and i havent found a way to set request values :( But i ll keep on trying.
9 October 2008
Hi Pascal,
I have a query on data parametrization in SoapUI. I have a requirement where i need to use a unique values in the "Request" every time i execute the test case (as a part of Load Testing". I tried adding the values in the "input-property file" and importing the values but the soapui system is loading only the one value from the entire file. is there any defined way of adding values in the input-property file before importing the values or is there any other better way/workaround for this?? could you pls help me in this.
9 October 2008
Hi Pascal,
I have test cases where it it necessary to send a request, get a response and then base the next request on values from the response (e.g TransactionId).
So my question is ... Is it possible to automatically via scripts or java to capture a response and use the data from the response to populate the data from the request.
9 October 2008
@Sriram
@MP
You should both have a look at this post:
http://www.pascalalma.net/2007/07/11/another-common-issue-solved-with-soap-ui/
Both your problems should be answered by using the construction I showed their by combining properties with Groovy step and property transfers.
Hope this helps.
23 October 2008
hello, i am stucked with a problem that, for load test if suppose i have 1000 requests to send in a 1 minute, after hitting this i am seeing among these 1000 only one 1 request is getting processed multiple times, plz help me how to proces all the requests in cerain limit.
31 October 2008
can somebody let us klnow what are the protocols supported by SOAP UI
1 November 2008
@Priya:
I found this in the user guide:
"Internally, soapUI abstracts the actual nature of projects and their contained interfaces, tests, etc... opening the possiblity of support for other service definitions or protocols than WSDL / SOAP (check out the com.eviware.soapui.model package). Currently though, the only implementation for these interfaces is for WSDL 1.1 and the SOAP/HTTP binding (as required by Basic Profile 1.0). Therefore, all actions and functionality described will be in regard to this implementation."
3 November 2008
Hi pascal ,
if i make a project in soap ui and test suites for it . can i run all the test suits at a time ??? for a same endpoint ....
3 November 2008
Hi Prasad,
So I understand correctly: you want to execute all test suites at the same moment to test your service as if you have multiple clients calling the web service?
I would just run your test suite with multiple threads in a load test. Is that an option?
5 November 2008
Hi pascal ,
Thx for your reply , but actually let me put a question in a diff way .. i want to run all projects or multiple projects with each project having single test suite which covers the funcinality of that WSDL. Is this possible in a single click and to get the reports for all the projects separatley .
10 November 2008
Hi Pascal,
I have a query on Data Parameterization and template driven testing in SoapUI. I have written a groovy first script to import the data from external file and i was able to successfully import data into SoapUI from an external file. however i am stuck up with the second script where i am not sure how to transfer the imported value to the test case. Could you please help me with this.
17 November 2008
Hi pascal,
I want to automate the steps done in Soap uI , i wanted to automatically collect the required data from database and want to place in the test case. and i should be able to loop it . so in just click i can execute test case for more than one data . I tried data source loop but there also you have to click number of times to execute all the steps plz help me out
4 December 2008
Hey guys i just want to confirm tht whether we can make an xml file of soap-ui that will consist of both the request and the response
Currently i m getting an xml file that is containing the request and the wsdl
So can anyone help me in generating the xml file
Thanks in advance
6 November 2009
[...] service with a tool like SoapUI and create test cases based on the generated WSDL like I described here. Tags: JBoss AS, Maven2, SOA/Web Services, SoapUI, Spring Framework, Spring WS [...]
19 November 2009
[...] import WSDL' in SoapUI 5 July 2009 Pascal Alma Although it has been a while since I posted about SoapUI I am still receiving questions about the tool. The most frequently asked question is [...]
7 December 2009
Iam using SOAP UI for Performance Testing.Iam using an ssl certificateprovided by the client.Iam getting the response time sometimes,but sometimes iam getting an error message with javax.net.ssl.sslexception:Recieved fatal alert:Unexpected_message.Please help and provide a solution.
7 December 2009
Hi Pascal,
Iam using SOAP UI 3.0 for Performance Testing Web Service.Iam getting the response time on running the Test ,but sometimes getting an error
Javax.net.ssl.sslexception:Recieved fatal alert:Unexpected_Message.
Could you Please provide a solution for this
7 December 2009
To be helpful I need more info. What tests are you running (multiple threads, msg/sec) and what it the stacktrace for the error. Is the server using http1.0 or 1.1, etc. Actually it can be a lot of things going wrong but you might give it a shot by supplying some more info.
And since your performing a performance test, is it really an issue, I mean, do you meet the performance specs before the error occurs? Because then you won't have to bother about it ;-)
8 December 2009
Error:"javax.net.ssl.sslexception"Fatal Alert:Unexpected_Message
Test Detail:
SSl Certificate of .pem format added to ssl settings with keystore password
Http version:1.0
Input XML along with WSDL File is given i/p to SOAP UI.
WSDL FILE contain server endpoint(web service) where validation take place.
Iam getting exact response sometimes,but sometimes getting this error message since the application is not stable i cannot move forward.
Plese let me know why this error is coming???is it due to ssl certificate or due to some settings in server???????
9 December 2009
Hmm, still hard to tell.
Can you try the webservice with another tool then SoapUI (Java client or something like that) to see if SoapUI is the problem or the server?
A quick google showed it could have to do with the HTTP protocol being 1.0 and not 1.1, maybe you can chage that in the SoapUI prefs to see if it helps.
15 December 2009
[...] Using SoapUI for testing your webservice | Redstream Blog (tags: soap soapui) [...]
6 January 2010
I am impressed with the nice article and blog, Keep up the good work!!!
Service Oriented Architecture
7 February 2010
I want to test Web services of Google Calendar API using SoapUI or Yahoo Calendar.
i found the link but Soapui is unable to find Wsdl .
can you help me this
7 February 2010
Hi Krunall,
Have you read this post: http://blog.redstream.nl/2009/07/05/error-import-wsdl-in-soapui/
It might help you to solve your problem. Let me know if it helped.
12 March 2010
Hi , I am New to SOAP UI Tool can u explain the functioning of tool and utilisation of tool
16 March 2010
I have the same problem. I use SoapUI 3.5, and sometimes I get the soapUI javax.net.ssl.SSLException received fatal alert unexpected_message error.
I have noticed that the certificate is not (completely) correct, the name of the machine is not the name as in the certificate.
But I have no solution yet :-(
17 March 2010
Hi Pascal,
I'm currently using the SOAP UI 3.5 to attach client certificate.
On the preference tab I did mention the certificate key location.
Also i did attach the certificate to the web service and gave the password.
Still i dont see the certificate getting attached to the message header.
The Web Service throws forbidden error from the server.
Any suggestion would help
Regards
Sabir
18 March 2010
@Sabir,
I guess you followed these steps: http://www.soapui.org/userguide/projects/wss.html
otherwise you should check if you forgot a step, because this functionality has worked for me (in older versions).
@Henk
I do not have a simple solution for this as I said before. This could have many reasons and I do not known if soapUI is doing something wrong here.
I guess you are not able to recreate the certificate so that it matches the name of the machine? That would remove one possibility as a reason. And can you supply some more error info, maybe it triggers someone else who has been in the same situation.