Service Virtualization

 View Only
  • 1.  Setting up proxy configuration in devtest

    Posted May 17, 2021 04:01 AM

    ​Hi Team,

    We would need to connect third party URL's to record the traffic, this would required to have proxy settings enabled from application end or server end.

    I have tried from local.properties by following the steps but it didn't work for me I do have service account username and password, could you please help how can we pass proxy authentication in the property file.

    lisa.http.webProxy.host=proxy.gateway.test

    lisa.http.webProxy.nonProxyHosts=127.0.0.1|localhost

    lisa.http.webProxy.port=80

     

    lisa.http.webProxy.host.domain= service account is not associated with any AD group so I left this option blank

    lisa.http.webProxy.host.account=svc_account_name

    lisa.http.webProxy.host.credential=password



  • 2.  RE: Setting up proxy configuration in devtest

    Posted May 17, 2021 09:22 AM
    Hi Sheeraz,

    Couple of thing you must check:
    1. what is the value of lisa.http.webProxy.preemptiveAuthenticationType
    2. DO you have connectivity for the 3rdparty url from your Devtest machine? - are you able to invoke the service from devtest by passing valid credentials and details
    3. After configuring proxy:
      --are you getting any errors in logs
      --Are there any transaction getting recorded
      --Is your request with proxy getting processed

    Refer to below link for similar issue reported earlier:
    https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?MessageKey=ceb5e53f-208c-43e4-8802-80fe279b550a&CommunityKey=94bda077-625b-4914-8ac3-c88a06c2cc23&tab=digestviewer#bmceb5e53f-208c-43e4-8802-80fe279b550a


    Thanks


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 3.  RE: Setting up proxy configuration in devtest

    Posted May 17, 2021 09:49 AM

    ​Please find my answers inline.

    1. what is the value of lisa.http.webProxy.preemptiveAuthenticationType
         - It is commented for now value is ntlm
    2. DO you have connectivity for the 3rdparty url from your Devtest machine? - are you able to invoke the service from devtest by passing valid credentials and details
         - No, we don't have connectivity with 3rd party URL's, tried configuring the above settings in the local.properties but it didn't help might I have configured something wrongly and left blank lisa.http.webProxy.host.domain= as my service account doesn't have any domain and not sure what to update here.
    3. After configuring proxy:
      --are you getting any errors in logs

    I tried recording the 3rd party URL but none of the port number were working for all it was throwing an error as port is in use and invalid port although I have used valid port.
      --Are there any transaction getting recorded
    No
      --Is your request with proxy getting processed

    No

    We don't have request /response to hit 3rd parties. we would need to record the transactions using that have to create a VS. I might missing few things configuring proxy setting could you please help.




  • 4.  RE: Setting up proxy configuration in devtest

    Posted May 17, 2021 10:00 AM
    Hi Sheeraz,

    If you want to check the connectivity from your machine to 3rd party API, you can use tools like postman or soapUI for easy verification.

    If you have the access to 3rd party API then only you will be able to record it.

    Also, as per my understanding domain is also imp, it should not be blank, please check with your service/network admin team once.

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 5.  RE: Setting up proxy configuration in devtest

    Posted May 21, 2021 10:11 AM
    Thanks Vaibhav for all your suggestions.

    I felt little challenging to setup proxy in the devtest as we were not having domain ​name.

    So, I have configured proxy as environment variable in the machine and it seems to be working.

    HTTPS_PROXY=http://username:password@proxy.gateway.com:80


  • 6.  RE: Setting up proxy configuration in devtest

    Posted May 21, 2021 10:17 AM
    Cool. Thanks for the update.

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------