Service Virtualization

  • 1.  UnknowHostException in Rest VS

    Posted Apr 10, 2019 08:26 AM

    Hi,

     

    I am facing an issue while virtualizing an APi call using recording, PFB details:

     

    My Server Host is something like: mycase-i-sit-10320.cloud-np.intranet/mort/cases

    This URI is an Mulesoft routed URI, which doesn't have host and port, thus when trying to record transaction on above URI throwing unknownHostException.

     

    Solution: Alternative, i tried to get an host and port of mulesoft server where this services are deployed, but it doesn't work for me, it is not responding with correct response

     

    Any suggestion wold be helpfull



  • 2.  Re: UnknowHostException in Rest VS

    Posted Apr 10, 2019 10:22 AM

    ++

    I took "mycase-i-sit-10320.cloud-np.intranet" as hostName and port as 443, it is showing connection refused.

    Can anyone suggest what could be the problem.

     

    Note: when i am using Above URI along with its reource name, i am getting proper response.

    however when recording same URI, it throw's connection error

    May be due to wrong port