Forum Discussion
redfish4ktc2
12 years agoSuper Contributor
Forget my previsous post, the error is related to the servlet. As you suggest, the mockOperation is null in your case so there is a NullPointerException
see https://github.com/SmartBear/soapui/blo ... .java#L422
line 422: out.print( "<td>" + result.getMockOperation().getName() + "</td>" );
Error could also occurs on line 425
I guess there is something missing in the implementation because on line 423, there is a null check for the MockResponse
Anyway, you have the following solution: patch the servlet to add null check. Can you manage it by yourself?
Last question for my understanding: how did you configure the mock to generate the http header only response? with groovy script? could you share this information please?
Thanks
see https://github.com/SmartBear/soapui/blo ... .java#L422
line 422: out.print( "<td>" + result.getMockOperation().getName() + "</td>" );
Error could also occurs on line 425
I guess there is something missing in the implementation because on line 423, there is a null check for the MockResponse
Anyway, you have the following solution: patch the servlet to add null check. Can you manage it by yourself?
Last question for my understanding: how did you configure the mock to generate the http header only response? with groovy script? could you share this information please?
Thanks