Why do we get "completed with error" message after printing the PDF for Test Plan?
I have a TEst PLan, to is attached number of Test Cases, say 50 while doing the Print PDF(Export Comprehensive/Export Detail) of the Test Plan, I am gettig the message of "completed with error", however i could not find out the difference in the content of the UI of the TEst Plan and the printed PDF.
RQM 4.0.3 General Release is being used.
4 answers
Hi Sarvendra,
It sounds like you do have the PDF artifact but you are not sure if the error thrown resulted in any missing sections/ data or possibly malformed data in the output. There is no easy way to diff what you see in the PDF with the test plan in the UI and all of its linked artifacts (e.g. 50 plus testcases).
I would suggest some general troubleshooting first. You might try to use the Duplicate feature to duplicate the test plan either to the same project or a different project and see if the same error is thrown when exporting the PDF. If the problem does occur in the duplicated test plan, you can try to remove all test cases from the duplicate copy and see if the same error is thrown. If it is not, you can add groups of test cases back to the test plan and try to isolate the problem.
I would also mark the exact time you reproduce the problem and look for exceptions/stack traces in the qm.log (or SystemOut.log with WAS) to see if there is more information on generic error from the UI printed to the log. A stack trace may help further isolate the problem.
Thanks,
Brett
It sounds like you do have the PDF artifact but you are not sure if the error thrown resulted in any missing sections/ data or possibly malformed data in the output. There is no easy way to diff what you see in the PDF with the test plan in the UI and all of its linked artifacts (e.g. 50 plus testcases).
I would suggest some general troubleshooting first. You might try to use the Duplicate feature to duplicate the test plan either to the same project or a different project and see if the same error is thrown when exporting the PDF. If the problem does occur in the duplicated test plan, you can try to remove all test cases from the duplicate copy and see if the same error is thrown. If it is not, you can add groups of test cases back to the test plan and try to isolate the problem.
I would also mark the exact time you reproduce the problem and look for exceptions/stack traces in the qm.log (or SystemOut.log with WAS) to see if there is more information on generic error from the UI printed to the log. A stack trace may help further isolate the problem.
Thanks,
Brett
Comments
Hi Sarvendra,
What version of RQM are you using? What OS is hosting RQM and are you using Tomcat or WAS?
It sounds like isolating down to a problem artifact is not the right approach. I have seen cases where data in an artifact caused a PDF export error and the isolation approach worked to find the culprit. Typically those stop the job entirely or the PDF exports with unexpected characters like XHTML tags in certain sections.
Are there possibly other jobs in the Export Job Queue? From the PDF menu where you export the test plan go to View Export Job Queue. Look for export jobs that may be stuck and need to be cleared/deleted. If possible, delete jobs from the queue and try exporting the test plan with nothing in the queue.
Can you also put an example of the exception you mentioned for test case ID 101 here?
Thanks,
Brett
What version of RQM are you using? What OS is hosting RQM and are you using Tomcat or WAS?
It sounds like isolating down to a problem artifact is not the right approach. I have seen cases where data in an artifact caused a PDF export error and the isolation approach worked to find the culprit. Typically those stop the job entirely or the PDF exports with unexpected characters like XHTML tags in certain sections.
Are there possibly other jobs in the Export Job Queue? From the PDF menu where you export the test plan go to View Export Job Queue. Look for export jobs that may be stuck and need to be cleared/deleted. If possible, delete jobs from the queue and try exporting the test plan with nothing in the queue.
Can you also put an example of the exception you mentioned for test case ID 101 here?
Thanks,
Brett
Hi Brett
I have yet to confirm with stack traces. I will do that when my team will be there tomorrow, in co-ordination with me.