Tech Me More

To quench our thirst of sharing knowledge about our day to day experience & solution to techincal problems we face in our projects.

Advertise with us !
Send us an email at diehardtechy@gmail.com

Friday, December 4, 2015

How to get rid of irritating SocketExceptions in TestNG?

While running your TestNG classes you may encounter some Exception like

java.net.SocketException: Software caused connection abort: socket write error

to avoid the SocketException in Eclipse please do the following changes.


  • Go to Windows from Menu Bar in Eclipse.
  • Select Preferences.
  • It will open a new window.
  • Choose TestNg and uncheck Use Project TestNG Jar.
  • Click apply and click OK.



No comments: