How can you test core enterprise applications that are being migrated from a mainframe to cloud in the timeframe of a weekend? Here's how we do this here, at Astadia, with successful results. We'll use a recent migration project we have been working one as an example.
The goal of the migration was to move the core application, its data, and its users to a service-oriented architecture supported by a Java/J2EE framework and an infrastructure with a RDBMS running on Linux in the company’s private cloud. The project's objectives included cutting maintenance costs, reducing technology risk, and increasing business flexibility and system availability.
Moving such system over a weekend is already an enormous technical challenge, but ensuring that all functions work as they did before is a gigantic task. A real challenge is to limit as much as possible the work that is required to test and accept the applications that are moved to a completely different OS. Two important concerns companies need to address before they put their transformed system into production and try to run their business with it are: “Does it all work?” and “How can we be sure?”
Application software and system testing is a standard part of application design, development, maintenance and implementation, and likewise for systems that are migrated. It is performed to provide users with an accurate view of the stability and quality of the application software and system, in order to assist users to proceed to acceptance for implementation.
Elements of importance evaluated during testing are:
To support application software and system testing, usually a test plan is developed/updated, including very detailed test scenarios. A test scenario is the method followed by the tester in which way the application software and system is tested according to the user requirement.
A typical test scenario contains details of what is being tested, the test data to use and what is expected to happen when the test is executed. Selecting or creating test data and test systems is quite intricate because the developer of the test scenario needs to think about the many diverse aspects of the intended purpose with the test.
The number of potential test cases for even a simple application function can be very high. Consequently, the development of a new or the maintenance of an existing test scenario is labor intensive, because it contains details of every single application function that needs to be evaluated, and each test case requires a very precise specification, such as:
In this traditional approach to testing, often companies use the help of end users to test the application software and system.
In other cases, companies have a specialized team to conduct testing or sometimes companies ask the assistance from externals who specialize in testing services. There are nevertheless some important drawbacks:
A smart testing strategy to select feasible test cases is required with increasing application software and system complexity. When more test and examination cases exist, subsequently the complexity of the test strategy grows. And, more time and resources required for testing means increased cost.
Take the system of Société Générale Private Banking in Luxembourg with approximately 10 million lines of SAG’s Natural in close to 20,000 application programs, accessing hundreds of gigabytes of on-line data stored in SAG’s pre-relational database management system ADABAS. The system is used by thousands of users, executes 7000 scheduled batch processing jobs daily, receives some 1000 files transferred per day from external sources and handles more than 50000 service calls over Entire-X each day.
The project involved the use of tools to automate the migration of this core system in a single big-bang step to avoid business interruption while the project is in progress. A key benefit of these tools is the speed with which converted code can be made available for testing. The functionality of the system is entirely preserved, which means that this is a project of a highly technical nature. Consequently, the user community is hardly involved, except during final acceptance of the system.
Despite the fact that the functionality of the system is not touched by the migration project, testing is still indispensable. And in this case the responsibility of all tests, before acceptance of the system by the user community, lies with the migration team which is not necessarily acquainted with the working of the system.
Download: TestMatch - Automated testing of mainframe OLTP
Ensuring that all common cases are documented in test scenarios ready for use by the migration team for a system of this size is an immense task, let alone running and verifying all cases until the business users can accept that the migrated system is production-ready.
Many companies refrain from performing such a migration project because they realize that the impact on the ROI, by the volume of work related to preparation, execution and validation of tests, destroys the business case.
How to remove the burden of manual development and execution of test scenarios, and how to minimize human interaction to validate the test results?
Learn more: Automated Testing in Mainframe Migrations
If it would be possible to extract and to store test scenarios from the day-to-day system activities, in other words from all transactions generated by the users and by other sources, for later use during the testing, that would already be very helpful.
This made it possible for Société Générale to significantly reduce the human efforts required to test this large and complex system, up to a level where it was stable enough to enter final acceptance testing, before the switch-over to production status was made.
Get in touch with our experts and find out how Astadia's range of tools and experience can support your team.
contact us now