About Author

This blog is another soapUI [Open Source] learning resource. Here i will be sharing my findings about the soapUI tool and details about some specific topic which may help you. About me : http://about.me/pradeepbishnoi

Also, member of “soapUI Product Advisory Board” at eviware (now SmartBear).

Group members on LinkedIn at here.

e-mail :: pradeepbishnoi@gmail.com
twitter :: twitter.com/pradeepbishnoi
linkedin :: linkedin.com/pradeepbishnoi

Advertisements
Comments
  1. Shiv says:

    Pradeep, I came across your website. I am interested in learning SOUPUI testing tool which could get some earning for me. Please respond.

    Regards
    Shiv

  2. R verma says:

    Hi Pradeep,

    I am a blackbox tester.can you confirm is it imp for me to kow grovvy script in order to do functional testing using soapui(4.0) version.

    thxs

    • Hi,

      Well, it all depends how much Quality you want to bring in with your testing as a blackbox tester 😉
      While performing the webservices testing [using soapUI] we don’t actually look into the code of the application (like the White box tester do). We try to cover all the possible scenario using the tool. And the “Groovy Script” comes into picture when you want to perform the Automation of regular testing stuff (what you do manually by soapUI) or report geneartion or something specific.

      So it is not necessary to learn Groovy to perform your test. However if you know, then you will carry an extra advantage over other tester 😉 Happy Reading!

      Best Regards,
      /Pradeep Bishnoi

  3. Mark says:

    Hi Pradeep

    Enjoyed reading some of your blogs on SOAP UI. I’m evaluating the Pro version for a security testing practice. I am trying to figure out if its possible to fix the value of certain parameters in the security testing functions (fuzzing, SQL Injection, XSS etc), while letting the other parameters be manipulated by the test functions.

    Example: A web service end point only takes action if a particular parameter (siteID) equals a specific value.

    Is this possible? If so, how do I accomplish this?

    Thanks

    • Hi Mark,

      Haven’t yet explored to the security feature provided in latest soapui version. However what you are looking for can be achieved using the Groovy script, if i understood your question correctly. A simple script can be written to verify that particular value & based on that you can perform the required action (like running a specific test step). I hope this would be of some help.

      Regards,
      Pradeep Bishnoi

  4. Ramesh says:

    Hi…Pradeep

    My Name is Ramesh..i want to learn SOAPUI but i did not get information how to do that i have searched lot of websites i came across your site..please help me in this regard..i eagerly waiting for your reply..

  5. Raj says:

    hi pradeep i wanna learn the tool soapui but i don know where to start …can u plz help me !!! as i m a junior software test engineer in a company !!!! now m interested in soapui …..n e idea !!!1

    • Hi,

      Learning the basic level of testing using soapui is fun & easy. To master the same you will need to get good grip over Java or Groovy/JavaScript.
      As a starting point soapui.org documentation is simply best and then you can search a forum & blogs for details information.
      Hope this will help.
      {Pradeep Bishnoi}

  6. Sonal says:

    Hi pradeep,
    Just started using soapui. all that i could grasp from soapui.org was to add assertions, run test cases and so can. could you suggest forums/blogs for using soapui extensively with groovy or javascripting. Thanks in advance

  7. Deepak Gupta says:

    Hi Pradeep,

    Please can you help me for conditional xpath dispatching of mockservices.
    I am trying to create a dispatch condition where the response xml is selected by conditional mapping of two xml values in the resquest xml.

    ie. Consider value1 and value2 are node two values for two separate xpaths in the request messge.

    If value1.AND.value2 == 30 then send xml1
    If value1.AND.value2 == 20 then send xml2
    If value1.OR.value2 == 20 then send xml3

    Please can suggest the approach for the above conditional dispactching of xml’s.

    Thanks,
    Deepak G

  8. Moody says:

    Hi Pradeep,
    First of all I want to appreciate that you are doing amazing work with this website. Hats off to u.
    I am a newbie in soapui. I have a question, i will appreciate if you can guide me please.
    I am trying to test a Rest service API Method for adding/updating member record, with following details:
    Parameters: post-body (JSON document) – Object representing a member and the source of their data
    Content Type: application/json
    Returns: Success HTTP 302 – Redirect to Get method

    When I m trying to test In SOAPUI, I am getting following error:

    SOAPUI LOG:

    Wed Dec 19 11:16:02 EST 2012:DEBUG:Attempt 1 to execute request
    Wed Dec 19 11:16:02 EST 2012:DEBUG:Sending request: POST http://………………………….. … ……….. HTTP/1.1
    Wed Dec 19 11:16:02 EST 2012:DEBUG:Receiving response: HTTP/1.1 302 FOUND
    Wed Dec 19 11:16:02 EST 2012:DEBUG:Connection can be kept alive indefinitely
    Wed Dec 19 11:16:02 EST 2012:DEBUG:Connection closed
    Wed Dec 19 11:16:02 EST 2012:DEBUG:Connection shut down
    Wed Dec 19 11:16:02 EST 2012:ERROR:An error occured [Attempted read from closed stream.], see error log for details
    Wed Dec 19 11:16:02 EST 2012:ERROR:Exception in request: java.net.UnknownHostException: ANY URL as ENDPOINT
    Wed Dec 19 11:16:02 EST 2012:ERROR:An error occured [ANY URL…], see error log for details
    Wed Dec 19 11:16:02 EST 2012:INFO:Error getting response for [Rest_Srvc_Member_Put.Rsrc_Member_Put:Rest_Req_Member_Put]; java.net.UnknownHostException: ANY URL as ENDPOINT

    ERROR LOG:

    Wed Dec 19 11:16:02 EST 2012:ERROR:java.io.IOException: Attempted read from closed stream.
    java.io.IOException: Attempted read from closed stream.
    at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:166)
    at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:197)
    at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:155)
    at org.apache.http.util.EntityUtils.toByteArray(EntityUtils.java:100)
    at org.apache.http.entity.BufferedHttpEntity.(BufferedHttpEntity.java:60)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpMethodSupport.getResponseBody(HttpMethodSupport.java:281)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods.ExtendedPostMethod.getResponseBody(ExtendedPostMethod.java:128)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.SinglePartHttpResponse.(SinglePartHttpResponse.java:49)
    at com.eviware.soapui.impl.wsdl.submit.filters.HttpPackagingResponseFilter.httpRequest(HttpPackagingResponseFilter.java:85)
    at com.eviware.soapui.impl.wsdl.submit.filters.HttpPackagingResponseFilter.afterAbstractHttpResponse(HttpPackagingResponseFilter.java:50)
    at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.afterRequest(AbstractRequestFilter.java:64)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:297)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Wed Dec 19 11:16:02 EST 2012:ERROR:java.net.UnknownHostException: …URL
    java.net.UnknownHostException: URL
    at java.net.InetAddress.getAllByName0(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:242)
    at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$SoapUIClientConnectionOperator.openConnection(SoapUIMultiThreadedHttpConnectionManager.java:274)
    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
    at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:236)
    at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:345)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.followRedirects(HttpClientRequestTransport.java:357)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:256)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    I am setting follow redirects as true.
    I am trying to resolve issue for more than two months now.
    Please help me out, I will really appreciate.

    Thanks,
    moody

    Posts: 1
    Joined: 19 Dec 2012 15:41
    Private message

  9. Sunil says:

    Hi Pradeep,

    I am using SOAPUI 4.5.1 free version. My question is how to set multiple values for a single property, i mean to say how to make a property a string array instead a string variable.
    The property may be testcase level or testsuite level.

    Thanks,
    Sunil

  10. Nirmala says:

    Hi Pradeep,
    Your blog had been very very useful in learning SOAPUI scripting.
    Thanks. Please keep up your good work and share your knowledge.
    Kind Regards,
    Nirmala Gambhir

  11. Keerthan says:

    Hi Pradeep,

    I’m a blackbox tester.Recently i have joined in a Siebel project i want to use SOAPUI can u help me out in learning .

    Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s