Forum Discussion

barkman's avatar
barkman
New Contributor
7 years ago

Get project type by Groovy

How do we get project type of a project in SOAP UI with groovy? I'm looking get if it is a SOAP or REST project. 

If we are able mention while creating the project whether it is SOAP or REST, I assume that is stored as type type some where.

  • JHunt's avatar
    JHunt
    Community Hero

    No, there is no such thing as a "SOAP project" or a "REST project". There are just projects (the class is always WsdlProject).

     

    The buttons "New SOAP Project" and "New REST Project" simply lead to different dialogs that help you to add your first WSDL or REST URI.

     

    So, was there something specific you are trying to achieve?

    • barkman's avatar
      barkman
      New Contributor

      You Guys are right. I see now that I can have SOAP and REST Interfaces in one project. So project can not be a specific type.

       

      I was trying to find type of iterface from Groovy which I could find now.

       

      Thank you for your time.