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 21.1
edited by Bouke Reitsma
on 2023/07/05 11:21
on 2023/07/05 11:21
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -15,56 +15,60 @@ 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 thestandard ManagefunctionalityineMagiz, you canacquire additional 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 eMagiz inheManagephaseofeMagiz. Seebelow foranillustration of this functionality.36 +* [[Regression Testing>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.intermediate-testing-in-emagiz-regression-testing.WebHome||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 +* [[Intermediate Solution Architecture>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Solution Architecture.WebHome||target="blank"]] 43 +* [[Advanced Solution Architecture>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Solution Architecture.WebHome||target="blank"]] 42 42 43 - Formoreinformationon datasinkplease checkoutthefollowing [[Data sink>>doc:Main.eMagizAcademy.Microlearnings.Advanced Level.DataManagement.advanced-data-management-data-sink||target="blank"]]45 +{{warning}} Performance testing on the eMagiz portal or documentation portal is NOT allowed. {{/warning}} 44 44 45 - However,insome cases, there are additional legal requirements you needto meet.These legal requirements require you to prove for anextendedperiod (i.e.,seven years)that a specific message was sent at a particular moment in time. For this requirement, we have the long-termarchiving functionality in eMagiz.47 +=== 3.4 End-To-End Testing === 46 46 47 - ====3.3LongTerm Archiving====49 +The last testing option discussed in this fundamental is a user acceptance test or End-to-End test. In this test, not only developers or testers are involved, but also end-users or other people from the business side. Therefore this testing method is more functionally focused than the previously discussed tests. A User Acceptance test aims to let the business (users) accept the solution created. Normally, this is the last step before pushing the solution to production. 48 48 49 - Thelong-termarchiving functionalityis anexpansionof theatasinkfunctionality.By adding a specific tag to theogicwithin the flow,the data will beplaced inthedata sinkandplacedinourlong-termarchivingsolution.In thisolution,we willkeepthedata for astandardperiod ofsevenyearsbeforedeleting the datafrom the long-termrchivingsolution.Thisallows youto retrieve chunksof data frome long-termarchivingvia a ticketrequestinour supportportal. As a result,we will provideyou with the requested data promptly.51 +All the previously mentioned eMagiz functionality helps you complete an End-to-End test or to solve issues found within the test effectively. More information on this testing method can be found in the microlearning: 50 50 51 - Formoreinformationon datasink pleasecheckout thefollowing [[Longterm archiving>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.DataManagement.advanced-data-management-long-term-archiving||target="blank"]]53 +* [[User Acceptance Testing>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.intermediate-testing-in-emagiz-user-acceptance-testing||target="blank"]] 52 52 53 53 == 4. Key takeaways == 54 54 55 -* Each eMagiz model has a standard Manage phase in which statistics are kept on your environment 56 -* With these statistics, you can determine whether messages have been received by and sent by eMagiz 57 -* This functionality does not allow you to see the content of the messages itself 58 -* On top of that, eMagiz offers Data Sink and long term Archiving as additional licensed features 59 -* Data sink is helpful for an Ops scenario to check whether a specific message is processed by eMagiz (Traceability) 60 -* Long term archiving is helpful for legal purposes as it gives you the option to prove for seven years that a specific message is sent at a specific time (Compliancy) 57 +* There are different testing methods with different goals 58 +* Not every testing method can be done at any stage of development 59 +* For every testing method, eMagiz has documentation and when possible features to support testing 61 61 62 62 == 5. Suggested Additional Readings == 63 63 64 -If you are interested in this topic and want to learn how youcancontrolyour Cloudwith thehelp of the eMagiz platform, please check out our microlearnings offeringon eMagizCloud Management:63 +If you are interested in this topic and want to learn more on how testing can be done within the eMagiz platform, please check out our microlearnings on testing in eMagiz: 65 65 66 -* [[Crashcourse Messaging>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Messaging.crashcourse-messaging-interpreting-queue-statistics||target="blank"]] 67 -* [[Data sink>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Data Management.advanced-data-management-data-sink||target="blank"]] 68 -* [[Long term archiving>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Data Management.advanced-data-management-long-term-archiving||target="blank"]] 65 +* [[Intermediate Testing in eMagiz>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.WebHome||target="blank"]] 66 +* [[Advanced Testing in eMagiz>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Testing in eMagiz.WebHome||target="blank"]] 67 +* [[Crash Course Platfrom>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]] 68 +* [[Testing API Gateway>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing API Gateway.intermediate-testing-emagiz-api-gateway-testing-api-gateway||target="blank"]] 69 +* [[Regression Testing>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.intermediate-testing-in-emagiz-regression-testing.WebHome||target="blank"]] 70 +* [[Intermediate Solution Architecture>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Solution Architecture.WebHome||target="blank"]] 71 +* [[Advanced Solution Architecture>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Solution Architecture.WebHome||target="blank"]] 72 +* [[User Acceptance Testing>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.intermediate-testing-in-emagiz-user-acceptance-testing||target="blank"]] 69 69 70 70 )))((({{toc/}}))){{/container}}{{/container}}