Selenium + Testng + Maven + Jenkins

I’m getting the following error when trying to run a Selenium/TestNg test from Jenkins.

[ERROR] Suite file /development/apps/config/jenkins/jobs/teste-automatizado/workspace/Abc/testng.xml is not a valid file

Below are my POM and testng.xml files. Am I doing something wrong here? Any help? Thanks in advance.


<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">



<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE suite SYSTEM "">
<suite name="Suite">
  <test name="Test">
      <class name="tests.TestCreateAssistTest"/>

Hello @tester_br!

Welcome to the community!

The error indicates the testng.xml file is not valid. This line

appears odd to me. I wonder if the &gt in the middle or the %E2%80%9D&gt near the end are not being interpreted as needed. I also notice that the first quote on the name attributes is not an opening quote. Usually XML files are constructed with fonts that have no distinction of open or closed quotes.


use any online xml parser -->
I am not recommending this particular one, it was 1st on google

An error has been found!
Errors in the XML document:

1: 24 The system identifier must begin with either a single or double quote character.

Here’s xml that works…

Hi @devtotest and @ike, thanks for your answer.
There was some problem when I copied the xml here, I just updated with the correct one. I’m able to launch the testng.xml successfully from eclipse and command line but from Jenkins I get this error.