Hi, For some reasons, I am getting "Response message: Unauthorized" (Response code : 401) for the Ajax requests in my script. The same request works fine for many threads and few randomly fail. I added Authorization Manager at Test plan level and thread group as well with valid userid/password. Cookie Manager is also set and the Cookie data shows all the required variables with right data.
I checked the Server log and it shows either one of the below: Unexpected exception caught in AjaxExceptionFilter org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.RuntimeException: Value for xxxxxOrderId cannot be null at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656) OR Unexpected exception caught in AjaxExceptionFilter org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.RuntimeException: xxxxxx Order Id is required for getting XXX Quote Data at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)</</i>b> xxxxxOrderId reported in the error message was not null and I checked the values using Debug sampler. Could any one please help me what other areas I need to look at? Or any suggestions? Appreciate your help. Thanks! -- View this message in context: http://jmeter.512774.n5.nabble.com/AJAX-calls-with-unathorized-error-message-tp4301745p4301745.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org