Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocketSampler cause jmeter does not exit normally. #50

Open
isaacdong opened this issue Jan 12, 2016 · 0 comments
Open

WebSocketSampler cause jmeter does not exit normally. #50

isaacdong opened this issue Jan 12, 2016 · 0 comments

Comments

@isaacdong
Copy link

static WebSocketSampler.executor will be better if it's under control of A Test Plan or some user defined KEY.

my TEMP solution is:
add if(! executor.isTerminated()) executor.shutdownNow(); at the end of public void testEnded(String host).

public void testEnded(String host) {
for (ServiceSocket socket : connectionList.values()) {
socket.close();
}
if(! executor.isTerminated()) executor.shutdownNow();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant