How to list all the rest api's of the webpage using webdriver?

113 views
Skip to first unread message

testingzeal

unread,
Nov 6, 2014, 7:19:02 PM11/6/14
to webd...@googlegroups.com
I have a need to list out all the rest api calls of a webpage using selenium? Can some one please help me with this?

Thanks


Jeff

unread,
Nov 6, 2014, 8:12:44 PM11/6/14
to webdriver
How do you get them without selenium?  

I ask tongue in cheek because there is not really a standard for a web application to publish ReST calls like a SOAP service (via WSDL) would, though if your developers publish a WADL (slim chance) it might work.

Otherwise there is no real set standard for querying for a list of ReST API's, short of using an add-on tool like Enunciate or Swagger but they may not be as automation friendly as desired.

On Thu, Nov 6, 2014 at 5:19 PM, testingzeal <jsel...@gmail.com> wrote:
I have a need to list out all the rest api calls of a webpage using selenium? Can some one please help me with this?

Thanks


--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver.
For more options, visit https://groups.google.com/d/optout.



--
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent

Ken P

unread,
Nov 11, 2014, 2:34:36 PM11/11/14
to webd...@googlegroups.com
Use a proxy.

Dmitri Tikhanski

unread,
Nov 12, 2014, 12:52:38 AM11/12/14
to webd...@googlegroups.com
You can capture all API calls using i.e. HttpFox Firefox addon or any other sniffer tool of your choice. Also you can use Apache JMeter to record API calls and do performance testing on API directly.  
Reply all
Reply to author
Forward
0 new messages