TestNG by default disables loading DTD from unsecure Urls

后端 未结 14 1068
[愿得一人]
[愿得一人] 2021-01-02 00:10

I\'m using testng maven and selenium to run my tests, currently I have the following testng.xml file

Looks like the problem is with the &listeners and &class

14条回答
  •  佛祖请我去吃肉
    2021-01-02 00:52

    Adding those VM options : -ea -Dtestng.dtd.http=true solved this problem.
    But if you want to solve it for each run either for any class or method, you need to add the same in TestNG template, please refer to this screenshot. Intelij TestNg Template SS

提交回复
热议问题