Forum Discussion

_ivanovich_'s avatar
_ivanovich_
Frequent Contributor
9 years ago

import and update wsdl file in Ready api version pro

Hi,

 

i imported a wsdl file in Project tab:

1- right-clik on project

2- click Add wsdl

3- copy /paste the wsdl url

 

Then i can see under my project the following "Application"

4-right click on "Application" and click generate TestSuite

5-then in SoapuiNG tab, i can see "Application Testsuite" where i can find all methods

 

6-In soapuiNG tab, i created another Testsuite called "Testsuite1"where i copy paste some methods from "Application Testsuite"

 

Question1:

If i update the definition by right-clicking the "Application" in Project tab, will it update all methods in soapuiNG tab in "Application Testsuite" and  "Testsuite1" ?

or will it only update methods only in "Application" in soapuiNG?

 

What i noticed:

1-i update the definition from Projects tab

2-it updates all methods in "Application" from Projects tab which is fine.

3-in soapuiNG tab, methods are updated in "Application Testsuite" but when i open "Testsuite1" if i click a method, it asks ifi want to recreate the definition and then i lost all parameters inside the xml request content andi have to do manually for every methods which is a lost of time for me.

 

4- if i rename the "Application" in Projects, the next time when i re-open ready api, the name remains with old name, why?

It's a big problem, because when i import another wsdl file in my project, i have two applications with the same name.

So during an update, i do not know what soapui is updating.

 

 

 

What i expected:

1-update the wsdl from Projects tab

2-it shoud update all methods in soapuiNG tab in all testsuite where there are methods.

3-i should not have to recreate each time the definition.

 

This is a problem for me, i do not know if it's a bug of soapui or anything else, but i'm spending more times to configure soapui  than creating automated tests.

 

Or is it simple to update wsdl with the groovy code of nmrao from here:

https://github.com/nmrao/soapUIGroovyScripts/blob/master/groovy/UpdateWSDLDefinition.groovy

 

In soapui free version everything was so easy, i have only one tab project and i have control in one view.

 

i need help here.

Thank you

 

2 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    _ivanovich_ wrote:

     

    If i update the definition by right-clicking the "Application" in Project tab, will it update all methods in soapuiNG tab in "Application Testsuite" and  "Testsuite1" ? 


    Hi Davy,

     

    I would say that this is the expected behavior. You have to update your methods in SoapUI NG, once you update your service in the Project tab. If you would like to change this behavior, I recommend that you submit this as a product improvement request in a special place in our Community: http://community.smartbear.com/t5/Ready-API-Feature-Requests/idb-p/ReadyAPIFeatureRequests

    Our Product Owner monitors this forum, and he could consider implementing your suggestion.

     

    As for the other your question related to the rename issue, please make sure that that you can reproduce it in the latest Ready! API maintenance build. You can download it here: https://support.smartbear.com/downloads/readyapi/nightly-builds/

    If the issue persists in this product version, please submit this issue to our Support Team ( http://support.smartbear.com/product-list/ ).

     

     

    BTW,


    _ivanovich_ wrote:

     

     

    In soapui free version everything was so easy, i have only one tab project and i have control in one view. 


     

    In Ready! API, you can switch to a single pane mode – the one used in SoapUI. Change the Workspace type option for this. Please refer to the following option for details:

    http://readyapi.smartbear.com/structure/workspaces/modes/introduction

    • _ivanovich_'s avatar
      _ivanovich_
      Frequent Contributor

      Hi,

       

      when you say: 

       

      "You have to update your methods in SoapUI NG,
      once you update your service in the Project tab."

       

      It's not clear, you cannot update methods in SoapuiNG.

      You can update methods only Project tab.

       

      When you say:

      "In Ready! API, you can switch to a single pane mode – the one used in SoapUI.
      Change the Workspace type option for this. Please refer to the following option for details:
      http://readyapi.smartbear.com/structure/workspaces/modes/introduction"

       

      It's not related to my question.

      because even if switch to single pane mode, there is no possibility to update methods,

       

      Please see attached images

      Thank you