- Newest
- Most votes
- Most comments
The issue you're experiencing is that the Tomcat server is shutting down after the batch tests are completed, which prevents the online test cases from starting. This is actually expected behavior according to the automation process.
In the AWS Blu Age L3 Workshop, the Tomcat server is programmed to stop after all test cases are executed as part of the automation process (specifically in the Execution.xml file). The log you shared shows that all batch jobs (TRANBKP, POSTTRAN, INTCALC, TRANBKP again, COMBTRAN, and CREASTMT) executed successfully, but then the server shut down before online tests could begin.
There are a few approaches to solve this issue:
-
Modify the Execution.xml file to postpone the Tomcat shutdown until after the online tests are completed. You can reorder the execution steps to ensure the server remains running for the online tests.
-
Add debug messages to help understand the shutdown sequence and ensure Tomcat shuts down gracefully after all tests (including online tests) are completed.
-
Check the Tomcat logs in the log folder and the execution.log for more details about why the server is shutting down.
-
If you're specifically having issues with blank screens during online testing, you might need to try using Tomcat 10 for the carddemo-automation project, which is available in c:\work\program.
As long as your batch test results show "Succeeded" (which they do in your log), the scheduled shutdown itself isn't necessarily a problem - it's just happening before your online tests can run.
Sources
L3-Automation-Execute-Online test cases error(tomcat server shutting down after batch test) | AWS re:Post
Workshop: Modernization Automation Step: Online screens are not showing | AWS re:Post
answered a year ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
