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
Highlighted
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.

 



Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

3 REPLIES 3
Highlighted
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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
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 Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Highlighted
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.

 



Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Compete with community members in the TechCorner Challenge and get into the Leaderboard!

Rank Participant Points Earned
1 msiadak 12
2 nmrao 8
3 HimanshuTayal 3
Top Kudoed Authors