Troubleshooting
Can’t install TestNG Eclipse Plugin
Note that, https://testng.org/testng-p2-update-site/ is the official update site for TestNG Eclipse Plugin
If you failed to install TestNG Eclipse Plugin with following error:
- Unable to read repository at https://beust.com/eclipse/content.xml.
- HTTP Service ‘Service Unavailable’: https://beust.com/eclipse-beta/content.xml
- An error occurred while collecting items to be installed session context was:(profile=epp.package.committers, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at https://beust.com/eclipse/updatesites/6.11.0.201703011520/plugins/org.testng.eclipse_6.11.0.201703011520.jar. Read timed out
You can follow thses steps try to fix/bypass the problem:
- Check if you have any http proxy setting, or behind the company firewall, make sure you can access the update site:
https://testng.org/testng-p2-update-site
- Add vmargs ‘-Djava.net.preferIPv4Stack=true’ to Eclipse config.ini, read the wiki [1] for the detail.
- Or, for whatever reason, you still can’t access https://testng.org/testng-eclipse-update-site in the Eclipse IDE, you can download the offline updatesite, then copy to your workstation.
TestNG Eclipse Plugin not showing up
On Windows platform, if you installed plugin succeed, but it’s not showing up, please make sure install Eclipse to a folder where your user has full rights (Ex., user home dir).
see relate StackOverflow answer: https://stackoverflow.com/a/3448786/4867232