Service Virtualization

  • 1.  Not able to go through proxy server

    Posted Aug 02, 2017 03:02 AM

    Hello All,

     

    I am adding below properties so that services I am hitting from my Lisa test case will go through proxy server. After adding these properties in local.properties file in local machine , post this closing and re opening Lisa. Even after this , we are getting proxy authentication failure error in response.

     

    Can any one suggest what can be reasin and how it can be done? We ahve checked with security team , they said that account is having access to server. Is password required or must to configure here?

     

    lisa.http.webProxy.host=proxyarray.service.test.group

    lisa.http.webProxy.nonProxyHosts=127.0.0.1

    lisa.http.webProxy.port=8080

     

    lisa.http.webProxy.host.domain=test01global

    lisa.http.webProxy.host.account=file id or service account having access to proxy server

    lisa.http.webProxy.host.credential=password



  • 2.  Re: Not able to go through proxy server

    Posted Aug 02, 2017 03:10 AM

    <faultstring>(407)Proxy Authentication Required</faultstring>
          <detail>
            <string>return code:  407
    &lt;HTML&gt;&lt;HEAD&gt;
    &lt;TITLE&gt;Access Denied&lt;/TITLE&gt;
    &lt;/HEAD&gt;
    &lt;BODY&gt;
    &lt;FONT face="Helvetica"&gt;
    &lt;big&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/big&gt;&lt;BR&gt;
    &lt;/FONT&gt;
    &lt;blockquote&gt;
    &lt;TABLE border=0 cellPadding=1 width="80%"&gt;
    &lt;TR&gt;&lt;TD&gt;
    &lt;FONT face="Helvetica"&gt;
    &lt;big&gt;Access Denied (authentication_failed)&lt;/big&gt;
    &lt;BR&gt;
    &lt;BR&gt;
    &lt;/FONT&gt;
    &lt;/TD&gt;&lt;/TR&gt;
    &lt;TR&gt;&lt;TD&gt;
    &lt;FONT face="Helvetica"&gt;
    Your credentials could not be authenticated: "General authentication failure due to bad user ID or authentication token.". You will not be permitted access until your credentials can be verified.
    &lt;/FONT&gt;
    &lt;/TD&gt;&lt;/TR&gt;
    &lt;TR&gt;&lt;TD&gt;
    &lt;FONT face="Helvetica"&gt;
    This is typically caused by an incorrect username and/or password, but could also be caused by network problems.
    &lt;/FONT&gt;
    &lt;/TD&gt;&lt;/TR&gt;
    &lt;TR&gt;&lt;TD&gt;
    &lt;FONT face="Helvetica" SIZE=2&gt;
    &lt;BR&gt;
    For assistance, contact your network support team.
    &lt;/FONT&gt;
    &lt;/TD&gt;&lt;/TR&gt;
    &lt;/TABLE&gt;
    &lt;/blockquote&gt;
    &lt;/FONT&gt;
    &lt;/BODY&gt;&lt;/HTML&gt;</string>

     

    This error I am getting..Please some one help me.



  • 3.  Re: Not able to go through proxy server
    Best Answer

    Posted Aug 02, 2017 12:19 PM

    Shivan,

     

    It looks like you need to provide an username and password.

    This is part of the error you posted above: "This is typically caused by an incorrect username and/or password"

    Add the account and password in the properties below, restart Workstation and try again:

       lisa.http.webProxy.host.account=file id or service account having access to proxy server

       lisa.http.webProxy.host.credential=password

     

    Hope it helps.

    Heloisa

     



  • 4.  Re: Not able to go through proxy server

    Posted Aug 02, 2017 10:18 PM

    Yes that's what I am going to try today. I am waiting for password to get from respective team.

     

    Cheers..



  • 5.  Re: Not able to go through proxy server

    Broadcom Employee
    Posted Aug 02, 2017 09:35 AM

    Try the nonProxyHosts as below..

     

    ## ==============================================
    ## HTTP Proxy Server
    ## ==============================================
    lisa.http.webProxy.host=your.proxy.server
    ##list of excluded machine names or ip addresses delimited by pipes, * wildcard accepted <machine name or ip>[|<machine name or ip>]*

    lisa.http.webProxy.nonProxyHosts=127.0.0.1|localhost
    lisa.http.webProxy.port=8080