Forum Discussion

Cookg's avatar
Cookg
New Contributor
10 years ago

NTLM Security no longer worki in v 1.2 nd 1.3

HI, we are a paid subscriber of ready API and more specifically soap ng pro.

 

Since v 1.2 we have not been able to a single request to a web service and get a successful authentication using NTLM.  the same project imported into v1.1 and the free version works and autenticates perfectly.  Has something changes in v1.2 and 1.3 as we can no longer authenticate.  Very frustrating an v1.1 seems to just crash after large test scripts, seems like it had a memory leak?  and we cant upgrade as it no longer supports NTLM for us.  Has something changed?

  • TCal's avatar
    TCal
    New Contributor

    Hi Smartbear,

     

    We are also licensed users of SoapUI NG Pro.  

     

    Has anyone at smartbear looked into this regression?  It is failing in Ready API 1.1 and 1.3. Have you guys entered a bug report for this?  

     

    There is a java nullPointerException in the error log, and with this issue our responses are failing with a 401 Unauthorized.  It works fine in previous Pro versions of SoapUI prior to the Ready API introduction. 

     

    <SoapUI Error Log>

    Fri May 08 09:00:27 CDT 2015:ERROR:java.lang.NullPointerException
    java.lang.NullPointerException
    at org.apache.http.impl.auth.NTLMEngineImpl.stripDotSuffix(NTLMEngineImpl.java:175)
    at org.apache.http.impl.auth.NTLMEngineImpl.convertDomain(NTLMEngineImpl.java:188)
    at org.apache.http.impl.auth.NTLMEngineImpl.access$500(NTLMEngineImpl.java:45)
    at org.apache.http.impl.auth.NTLMEngineImpl$Type1Message.<init>(NTLMEngineImpl.java:766)
    at org.apache.http.impl.auth.NTLMEngineImpl.getType1Message(NTLMEngineImpl.java:128)
    at org.apache.http.impl.auth.NTLMEngineImpl.generateType1Msg(NTLMEngineImpl.java:1298)
    at org.apache.http.impl.auth.NTLMScheme.authenticate(NTLMScheme.java:125)
    at org.apache.http.impl.auth.AuthSchemeBase.authenticate(AuthSchemeBase.java:124)
    at org.apache.http.client.protocol.RequestTargetAuthentication.process(RequestTargetAuthentication.java:105)
    at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:108)
    at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:174)
    at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.preProcess(HttpClientSupport.java:113)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:452)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
    at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:233)
    at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:323)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:290)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:220)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:80)
    at com.eviware.soapui.impl.rest.RestRequest.submit(RestRequest.java:192)
    at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:794)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:212)
    at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:138)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

     

    <SoapUI Log>

    • Fri May 08 09:00:27 CDT 2015:ERROR:Exception in request: java.lang.NullPointerException
    • Fri May 08 09:00:27 CDT 2015:ERROR:An error occurred [java.lang.NullPointerException], see error log for details

    Tom

    • Cookg's avatar
      Cookg
      New Contributor
      Resolved the problem, copy httpclient1.1.jar from v1.1 to v1.3 lib folder. Delete the httpclient1.3.jar from 1.3

      Seems to work once done.