Not able to Install TestNG in Eclipse-Kepler

醉酒当歌 提交于 2019-11-28 14:40:23

Go to https://dl.bintray.com/testng-team/testng-eclipse-release/

Click updatesites/

Click any version.

copy resulting URL and use that to install testNG

Example: Use following in eclipse install software. https://dl.bintray.com/testng-team/testng-eclipse-release/updatesites/6.11.0.201703011520/

URL http://beust.com/eclipse/content.xml will forward you to some other location (probably based on your geo location) to site with HTTPS enabled.

This site presented SSL certificate, which is not trusted by your JVM's keystore.

try it!

curl -Lv http://beust.com/eclipse/content.xml

Location: https://dl.bintray.com/testng-team/testng-eclipse-release//content.xml

In your screenshot it is notable by other error:

sun.security.validatorValidatorException : PKIX path building failed

You can try to use this guide to obtain and import site's CA certificate into your JVM's keystore.

But first I would examine this certificate if it's fake or even why JVM didn't recognize it (you are running up-to-date java installation, or not ?)

the issue should be fixed now, since the update site http://beust.com/eclipse/ redirects to http://dl.bintray.com/testng-team/testng-eclipse-release/ (non ssl).

Please try below options....
Option 1 : Follow steps in https://www.dev2qa.com/testng-eclipse-plugin/
Option 2 : If using Option 1, TestNG is not reflecting properly in eclipse follow below URL https://www.techbeamers.com/install-testng-in-eclipse-ide/
The URL for downloading the Zip file is for version 6.11. If you need a higher version get it downloaded from http://dl.bintray.com/testng-team/testng-eclipse-release/zipped/
6.14.0 version worked for me.

Just click on the following link

http://dl.bintray.com/testng-team/testng-eclipse-release/

Download the file "compositeArtifacts.xml" by clicking on it

Copy the downloaded file to your eclipse folder(Source location) For eg:- C:\Eclipse\eclipse

Now try again to install TestNG from eclipse, Done

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!