Unanswered question

[Fatal Error] :1:80: The reference to entity "B_Inquiry_Medical" must end with the ';' delimiter.?

I'm running a scenario from the command prompt (via batch file) in NoGUI mode. The test launches fine, but when finished, gives the error above in the command prompt and neoload.log file. I've attached the log file from the time period in question, along with the batch file I'm using to launch the project. This has worked with other HTTP projects, but now I'm using it for Web Services testing and we're getting this strange error message.

Ryan B.
Ryan B.

Ryan B.

Level
0
39 / 100
points

Answers

Could you try to open that file "C:\Temp\Smoke_PPR_WS_JUnitResults.xml" related to the Junit report? Is the content valid?

Also could you try to save that file elsewhere instead of the Temp folder?

Ryan B.
Ryan B.

Ryan B.

Level
0
39 / 100
points

Nouredine, I ran the batch file again, this time saving the Smoke_PPR_WS_JUnitResults.xml file to the C:\. When the failure occurs, Neoload does not write the JUnitResults.xml file anywhere. The only files it writes are the Report.xml and ExitCode.txt files, which I've uploaded here.

The process may not have rights to write files at the root of the C:\ folder. You should try another folder and make sure anyone can write into it.

Also please confirm that the content of the Junit file is correct when it gets created.

Ryan B.
Ryan B.

Ryan B.

Level
0
39 / 100
points

I moved the output directory to My Documents folder to ensure I had write permissions. Same result occurred. Test runs, encounters the original error message, and fails to write the JUnit.xml results file. Attached are the Exit Code file and Report XML.

I'm confused. Looking at the output from the test execution the reports have been successully created without any error. And you do not have anymore the parsing error that you mentioned in the beginning of that thread.

The exit code is due to the SLA thresholds that you set in your project. When they fails the exit code is 1 and 0 if they succeed.

If you would like to override that exit code you can use the "-exitCodeFailIgnore" option in the command line.

 

Ryan B.
Ryan B.

Ryan B.

Level
0
39 / 100
points

The test failed in the exact same manner as before, I just didn't copy the neoload_log file to my last response. I need the JUnit xml file to be created so I can verify if the SLAs are being met. I'm automating this process and integrating with UCD/ALM, so I'm relying on a Java process to parse the JUnit XML file and establish whether or not SLAs are met. This SAXParseException is prohibiting the JUnit XML file from being created, which will cause my automated process to fail. Attached is an excerpt from the neoload log file that captured the error from this morning. Nothing has changed since I first raised this issue.