SOAPUI thread end troubleshooting
Hello guys,
I got a big problem using open source version of soapui. I got a server that run permantly and that load wsdl project and run them when a network client ask it.
But when I look the jvm status on my java server with visual vm I see a lot of test suite runner threads that are never end.
This is how a part of my code work :
public class MyTestCaseRunner extends AbstractSoapUITestRunner implements TestSuiteRunListener, ProjectRunListener {
....
@Override
public boolean runRunner(){
final WsdlProject project = XXX.loadWsdlProject(path);
initProjectProperties(project);
project.run(new StringToObjectMap(), false);
}
}
Each time I run the runRunner method a lot of thread are created for running test suite but they never end.
It's a big problem for me because my server must run 24 hours a day. When I come in the moorning I see hundreds of threads in Park state.
Is that a bug in SOAPUI thread pool management or is there a mistake or a bad approach in my code ?
Thanks for your help.