cancel
Showing results for 
Search instead for 
Did you mean: 

How can I export a soapUI project with endpoints included?

SOLVED
Highlighted
New Contributor

How can I export a soapUI project with endpoints included?

I have exported my REST service to a WADL file but when I import it into another project the endpoint is missing on every request. I tried exporting as a swagger file but that doesnt fix it, I added the host: line to my json file but now all my endpoints are http://${#Project#url} but I don't want the http.

 

Is there a line I can add to the swagger file so that when I import it all my endpoints are ${#Project#url}?

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator

Re: How can I export a soapUI project with endpoints included?

Hi @BinaryJava,

 

As far as I understand, you use Swagger 2.0. In this version, there are two values that define the endpoint: host and schemes.

 

In OpenAPI 3.0.0, there is one value that defines the URL: url (under the servers). So, I can advise that you use the newer version of Swagger.

 


Anastasia
Customer Care Team

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.

View solution in original post

3 REPLIES 3
Community Manager

Re: How can I export a soapUI project with endpoints included?

Hi @BinaryJava let’s get some help from the Community! 

 

@nmrao@richie@msiadak do you guys have any suggestions? 



Sonya Mihaljova
Community and Education Specialist
Enroll at the SmartBear Academy today and learn our products via exclusive video courses.
Community Hero

Re: How can I export a soapUI project with endpoints included?

Hi @BinaryJava 

 

I did startr looking at this earlier in the week but I was getting an error response when I tried importing the swagger to a different project and then work got in the way.

 

In regards to importing a .wadl that has hosts set as ${#Project#URL} it kindof makes sense that when you import the endpoints are being blanked.  If the endpoints are set rather than parameterized then when you import the .wadl - the endpoints are set correctly, however if they're parameterized with say project level properties - the endpoint is being blanked on import cos I'm guessing the export of the .wadl doesn't include project level properties.  I dont know whether the functionality should or not (desirable feature?)??????

 

Anyway - I'll have a look at the swagger option over the weekend when I have more time,

 

ta

 

rich

 

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the title of the post to something more descriptive? This will help people when searching for problems.
Moderator

Re: How can I export a soapUI project with endpoints included?

Hi @BinaryJava,

 

As far as I understand, you use Swagger 2.0. In this version, there are two values that define the endpoint: host and schemes.

 

In OpenAPI 3.0.0, there is one value that defines the URL: url (under the servers). So, I can advise that you use the newer version of Swagger.

 


Anastasia
Customer Care Team

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.

View solution in original post

New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors