Hi, I am using jsch session in my test cases. I setup the server in first step(groovy) of every test case and close it in last step(groovy). I am currently using following code: Setup server code: import com.jcraft.jsch.Session; def servName = context.expand( '${#Project#servName}' ) ServerConfig servCon = new ServerConfig(servName) def session = servCon.serverConnect(servName) context.testCase.metaClass.session = session //Note: ServerConfig is a library. Session Disconnect code: import com.jcraft.jsch.Session; def session = context.testCase.session session.disconnect(); This works for multiple test cases running sequentially. But when I runt testcases in parallel I get following error: ERROR:An error occurred [session is down], see error log for details I am thinking this is due to one of the test cases finishing early and running session disconnect code, which disconnects all session. Please help how can I run test cases in parallel, with individual sessions running and closing.