Ask a Question

How can I export a soapUI project with endpoints included?

SOLVED
BinaryJava
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}?

3 REPLIES 3
sonya_m
SmartBear Alumni (Retired)

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

 

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


Sonya Mihaljova
Community and Education Specialist

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
Nastya_Khovrina
SmartBear Alumni (Retired)

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.

 


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: