Changes for page Testing in eMagiz
Last modified by Erik Bakker on 2024/08/08 11:24
From version 6.1
edited by Bouke Reitsma
on 2023/07/05 10:45
on 2023/07/05 10:45
Change comment:
There is no comment for this version
To version 11.1
edited by Bouke Reitsma
on 2023/07/05 10:57
on 2023/07/05 10:57
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -15,41 +15,33 @@ 15 15 * End-To-End Testing 16 16 17 17 == 3. Testing in eMagiz == 18 - 18 + 19 19 This fundamental will zoom in on the testing functionality incorperated within the eMagiz portal. We will focus on different aspects of testing which can be executed at different moments within the development in your integrations. We cover four different types of testing which are part of software testing in general and explain them on a conceptual level. For each test we also discuss how those are integrated within the portal and where to find further explanation on applying those test within eMagiz. 20 20 21 -=== 3.1 Queue Statistics===21 +=== 3.1 Unit Testing === 22 22 23 - In theManagephaseof eMagiz,wecollectstatisticsto determinewhether amessagehas beensent fromonesystemtoanother.For example,we havethequeue statisticsfor messagingandAPI Gateway. Inthis overview,youcan zoom inon a specificqueueandseethenumber ofmessagessentwithinthattimeframe,the numberofmessagesin thequeueataparticulartime,andwhetheror not messages areconsumedata specific momentin time.See belowforanillustrationofthisconcept.23 +Unit testing is a common practice within software platforms. Usually, unit tests are performed by developers during development. It entails testing individual integrations or the components within an integration, such as transformations or mappings. The unit test aims to test early within the development process to identify and fix issues early before they become more difficult and costly to find and solve. 24 24 25 - [[image:Main.Images.Fundamental.WebHome@fundamental-traceability-in-emagiz--queue-statistics.png]]25 +Within eMagiz, we have a dedicated unit testing functionality called "flow testing." One of the key benefits of flow testing is that your integration does not have to be deployed. Therefore, findings can be easily implemented during development. eMagiz supports certain components' live testing to test communication with external systems. More information on flow tests can be found in the following microlearnings: 26 26 27 -With the help of this overview, you can determine that a queue has processed a message at a specific moment. However, the statistics do not tell you anything about the content of the data. For most use cases, this is sufficient as the fact that a message has been sent is proof that the receiving application has received the data and can be found in that application. 27 +* [[Crash Course Platfrom>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]] 28 +* [[Testing API Gateway>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing API Gateway.intermediate-testing-emagiz-api-gateway-testing-api-gateway||target="blank"]] 28 28 29 - Formoreinformation on queue statistics please check out the following[[CrashcourseMessaging>>doc:Main.eMagizAcademy.Microlearnings.Crash Course.Crash Course Messaging.crashcourse-messaging-interpreting-queue-statistics||target="blank"]]30 +=== 3.2 Regression Testing === 30 30 31 - In somecases,however,more traceability is needed forOpswork.For those use cases,wehave additional functionalitywithineMagizcalleddata sink.32 +Another testing method used within software development is regression testing. Regression tests ensure that existing functionality is not impacted by newly developed functionality. Running these tests is crucial to preventing unexpected negative changes for customers. Regression tests can be applied on different levels, from individual functionality to the whole platform. 32 32 33 - ===3.2DataSink===34 +The main functionality within the eMagiz platform to perform regression testing on your integrations is called "Automated flow testing." For every flow test, there is the option to automate them. When a flow test is automated, it will run all automated flow tests once a new version is committed. If the test fails, you will be notified on the flow-level and get a result overview on release activation. More information can be found in the microlearning: 34 34 35 - Ontop of theandard Manage functionality in eMagiz,youcan acquireditional functionality that allows you to sink data at any given point in the flow into a bucket hosted by eMagiz.Weadviseou to do this twice perintegration.Once whenthessage enters the eMagiz platform and oncethemessageleaveshe eMagiz platform. By providinga unique identifier(i.e.,an order number), you can search through this data for maximum 180 days (minimum 30 days)to determinewhether a specific message with a particular identifier isdeed received and/or delivered by eMagizin theManagephase of eMagiz. See below for an illustrationofthisfunctionality.36 +* [[Testing API Gateway>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.intermediate-testing-in-emagiz-regression-testing||target="blank"]] 36 36 37 - [[image:Main.Images.Fundamental.WebHome@fundamental-traceability-in-emagiz--data-sink-view-manage.png]]38 +==== 3.3 Performance Testing ==== 38 38 39 - [[image:Main.Images.Fundamental.WebHome@fundamental-traceability-in-emagiz--data-sink-search-options.png]]40 +A third method for testing is the performance test. Within a performance test, not the content is important but the amount of load you test on your test subject. In the case of integrations, it means, in general, the number of messages sent over a certain integration. Normally your production environment handles more load than a test or acceptance environment. With a performance test, you can estimate how much impact a new integration has on resources, such as CPU or memory usage of the runtimes within your environment. More information on how to configure the solution architecture of your model can be found in this microlearning: 40 40 41 -[[image:Main.Images.Fundamental.WebHome@fundamental-traceability-in-emagiz--data-sink-search-results.png]] 42 +* [[Crash Course Platfrom>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Solution Architecture.WebHome||target="blank"]] 43 +* [[Crash Course Platfrom>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Solution Architecture.WebHome||target="blank"]] 42 42 43 -For more information on data sink please check out the following [[Data sink>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Data Management.advanced-data-management-data-sink||target="blank"]] 44 - 45 -However, in some cases, there are additional legal requirements you need to meet. These legal requirements require you to prove for an extended period (i.e., seven years) that a specific message was sent at a particular moment in time. For this requirement, we have the long-term archiving functionality in eMagiz. 46 - 47 -==== 3.3 Long Term Archiving ==== 48 - 49 -The long-term archiving functionality is an expansion of the data sink functionality. By adding a specific tag to the logic within the flow, the data will be placed in the data sink and placed in our long-term archiving solution. In this solution, we will keep the data for a standard period of seven years before deleting the data from the long-term archiving solution. This allows you to retrieve chunks of data from the long-term archiving via a ticket request in our support portal. As a result, we will provide you with the requested data promptly. 50 - 51 -For more information on data sink please check out the following [[Long term archiving>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Data Management.advanced-data-management-long-term-archiving||target="blank"]] 52 - 53 53 == 4. Key takeaways == 54 54 55 55 * Each eMagiz model has a standard Manage phase in which statistics are kept on your environment