Service Virtualization

 View Only
  • 1.  Not able to run and record Google maps api

    Posted Jul 31, 2017 08:08 PM

    Hi,

     

    I am trying to record google maps geocoding api's request and response on Devtest 8.4.

     

    When i am running the request in soap UI or google chrome i am getting the response.

     

    But when i am trying to record the service request is not coming to recorder. so i created one rest step and gave the request and when i am running it still i am not getting the response. I am getting sockettimeout exception.

     

    please tell me how can i run this request using devtest.

     

    below is the sample request

    https://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&key=YOUR_API_KEY

    APi key is unique for each user.



  • 2.  Re: Not able to run and record Google maps api

    Posted Aug 02, 2017 06:26 PM

    Does the browser use a proxy server to provide access to Google?

    As a test, use Workstation and create a Test Case. Add a REST step and try sending your sample request.

    Do you get any sort of exception?



  • 3.  Re: Not able to run and record Google maps api

    Broadcom Employee
    Posted Aug 02, 2017 07:43 PM

    prat130193 does the solution provided in Getting socket timeout exception on running rest request in devtest  solve this issue?