Ask a Question

Some API pages are not found

SOLVED
Lucian
Community Hero

Some API pages are not found

Every now and then I look over some class and get some 404 like on this page. @Olga_T can you please forward this to somebody?



If my answer helped please click on the 'Accept as Solution' button.
1 ACCEPTED SOLUTION

Accepted Solutions
NBorovykh
Moderator

Re: Some API pages are not found

Hello Lucian,

 

The API Docs for SoapUI Pro classes and methods were recently moved. So, the resource you were trying to access by 

https://www.soapui.org/apidocs/pro/com/eviware/soapui/impl/wsdl/WsdlProjectPro.html

now should be accessed by

https://support.smartbear.com/readyapi/apidocs/pro/com/eviware/soapui/impl/wsdl/WsdlProjectPro.html

 

I've asked the Documentation team to fix the broken links. 

 

BTW, on this page, you can find the up-to-date links to all the ReadyAPI API Docs: https://support.smartbear.com/readyapi/docs/configure/plugins/dev/background/api.html

 

As for your code snippet, in the result of the getInterfaces() method call you get a HashMap (check the docs), and the way you iterate through it doesn't look correct.

 

Natalie
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

6 REPLIES 6
Lucian
Community Hero

Re: Some API pages are not found

And just to add some more info... some APIs seem to be outdated or something. For instance I have this code to get all the interfaces in a project and log the name:

 

// Get all interfaces in the project
def interfaces = testRunner.getTestCase().getTestSuite().getProject().getInterfaces()

interfaces.each() {
	log.info it.getName()
}

This doesn't work for me and I get some error saying that there is no signature for the getName() method. However the documentation link here says otherwise.



If my answer helped please click on the 'Accept as Solution' button.
Olga_T
Moderator

Re: Some API pages are not found

Hi Lucian,

Sure, I have contacted one of our engineers regarding your query.

They should reply here soon.

 


Olga Terentieva
SmartBear Assistant Community Manager

NBorovykh
Moderator

Re: Some API pages are not found

Hello Lucian,

 

The API Docs for SoapUI Pro classes and methods were recently moved. So, the resource you were trying to access by 

https://www.soapui.org/apidocs/pro/com/eviware/soapui/impl/wsdl/WsdlProjectPro.html

now should be accessed by

https://support.smartbear.com/readyapi/apidocs/pro/com/eviware/soapui/impl/wsdl/WsdlProjectPro.html

 

I've asked the Documentation team to fix the broken links. 

 

BTW, on this page, you can find the up-to-date links to all the ReadyAPI API Docs: https://support.smartbear.com/readyapi/docs/configure/plugins/dev/background/api.html

 

As for your code snippet, in the result of the getInterfaces() method call you get a HashMap (check the docs), and the way you iterate through it doesn't look correct.

 

Natalie
Customer Care Team

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

Re: Some API pages are not found

Hey Natalie, 

 

Thanks for the answer! You were right about my loop. The problem was I was using the getInterfaces method (which returns a map) when I was actually expecting to get a list. It worked fine after switching to getInterfaceList



If my answer helped please click on the 'Accept as Solution' button.
Olga_T
Moderator

Re: Some API pages are not found

Hi all,

 

@NBorovykh, thank you for your reply!

@Lucian, if the question was answered, please mark it as solved Smiley Wink

 

Thanks in advance,

 


Olga Terentieva
SmartBear Assistant Community Manager

Lucian
Community Hero

Re: Some API pages are not found

Marked the topic as solved. Thanks!


If my answer helped please click on the 'Accept as Solution' button.
cancel
Showing results for 
Search instead for 
Did you mean: