0
“Couldn't connect to the RemoteTestNG Client” at launch of TestNG

Solved 1 Answers 168 Views
0 1
I am attempting to run the most basic example test using Eclipse, Selenium, Maven, and TestNG.

I am facing below error in eclispe.

“Couldn't connect to the RemoteTestNG Client”

1 Answer

0
Best answer
0

It looks like its memory issue. I resolved this by increasing memory size in eclipse.

Go to location where your eclipse executable is. Open eclipse.ini and change lines in bold.

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024m
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m

answered by
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...