Changes for page Testing in eMagiz
Last modified by Erik Bakker on 2024/08/08 11:24
From version 24.1
edited by Erik Bakker
on 2024/08/08 10:14
on 2024/08/08 10:14
Change comment:
There is no comment for this version
To 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
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ebakker1 +XWiki.BoukeReitsma - Content
-
... ... @@ -1,5 +1,5 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 -In this fundamental ,wewillexplorehevarioustestingfunctionalities availablewithinthe eMagiz portal. Wewilldelveintodifferenttypes oftesting,includingunit testing,regressionsting,performancetesting,andend-to-endtesting,anddiscusshowthesetestingmethodsareintegrated within the eMagizplatform.Let'sdive intothedetailsofeachtestingmethodandunderstandhowtheycanbeeffectivelyappliedto ensuretheefficiencyandreliability of yourintegrations.2 +In this fundamental we discuss different testing methods available in software development and discuss how these methods can be used and/or implanted within the platform. Testing in eMagiz can already be done within the Create phase and within deployed integrations via the Deploy and Manage phases. After reading this fundamental you should be able to understand the concepts of different testing methods and how these are incorporated within the eMagiz platform. 3 3 4 4 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 ... ... @@ -15,63 +15,56 @@ 15 15 * End-To-End Testing 16 16 17 17 == 3. Testing in eMagiz == 18 + 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. 18 18 19 - Herewe will investigate the testing functionality incorporated within the eMagiz portal.We will focus on different aspects of testing that can be executedatdifferent moments within the development of your integrations. We cover four differenttypes of testing that are part of software testing in general and explain them on aconceptual level. For each test,we also discuss how those are integrated within the portal and where to find further explanations on applying those tests within eMagiz.21 +=== 3.1 Queue Statistics === 20 20 21 - ===3.1Unit testing===23 +In the Manage phase of eMagiz, we collect statistics to determine whether a message has been sent from one system to another. For example, we have the queue statistics for messaging and API Gateway. In this overview, you can zoom in on a specific queue and see the number of messages sent within that timeframe, the number of messages in the queue at a particular time, and whether or not messages are consumed at a specific moment in time. See below for an illustration of this concept. 22 22 23 - Unit testingisa commonpracticewithinsoftware platforms.Usually, developers performunit testsduring development. It entailstesting individual integrations or thecomponents withinanintegration, such astransformations ormappings. Thenit testimsto test early within the development processtoidentify and fix issues early before they become more complex and costly to find and solve.25 +[[image:Main.Images.Fundamental.WebHome@fundamental-traceability-in-emagiz--queue-statistics.png]] 24 24 25 -With ineMagiz,we havea dedicatedunittestingfunctionalitycalled"flowtesting." Oneofthekeybenefitsofflow testingis that yourintegrationdoes not have tobe deployed.Therefore,findingscan beeasilyimplementedduring development.eMagizsupportslive testingofcertaincomponentsto test communicationwith externalsystems.More informationonflow testscan be found in thefollowing microlearnings: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. 26 26 27 -* [[Crash Course Platfrom>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-understanding-flowtesting||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"]] 29 +For more information on queue statistics please check out the following [[Crashcourse Messaging>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Messaging.crashcourse-messaging-interpreting-queue-statistics||target="blank"]] 29 29 30 - ===3.2RegressionTesting===31 +In some cases, however, more traceability is needed for Ops work. For those use cases, we have additional functionality within eMagiz called data sink. 31 31 32 - Anothertesting method used within software development is regression testing.Regression tests ensure thatexisting functionalityisnotimpacted 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.33 +=== 3.2 Data Sink === 33 33 34 - Themain functionalitywithintheeMagizplatformtoperform regression testingonyourintegrationsis called"Automatedflow testing."Thereisanoptiontoautomate everyflowtest.When aflowtest isautomated,itwillrunallautomatedflowtestsonceanewversioniscommitted.Ifthetestfails,youwillbeotifiedoftheflow levelandget an overviewoftheresultonreleaseactivation.Moreinformationcanbefound inthe microlearning:35 +On top of the standard Manage functionality in eMagiz, you can acquire additional functionality that allows you to sink data at any given point in the flow into a bucket hosted by eMagiz. We advise you to do this twice per integration. Once when the message enters the eMagiz platform and once the message leaves the eMagiz platform. By providing a unique identifier (i.e., an order number), you can search through this data for maximum 180 days (minimum 30 days) to determine whether a specific message with a particular identifier is indeed received and/or delivered by eMagiz in the Manage phase of eMagiz. See below for an illustration of this functionality. 35 35 36 - *[[Regression Testing>>doc:Main.eMagiz Academy.Microlearnings.IntermediateLevel.Testing in eMagiz.intermediate-testing-in-emagiz-regression-testing.WebHome||target="blank"]]37 +[[image:Main.Images.Fundamental.WebHome@fundamental-traceability-in-emagiz--data-sink-view-manage.png]] 37 37 38 - === 3.3 PerformanceTesting===39 +[[image:Main.Images.Fundamental.WebHome@fundamental-traceability-in-emagiz--data-sink-search-options.png]] 39 39 40 - A thirdmethod for testingis theperformance test. Withina performance test, not the content is important but the amount of load you test on your test subject.n the case of integrations, itmeans, ingeneral, the number of messages sent over a certain integration.Normally, your productionenvironment handles more load than a test or acceptance environment.ith a performancetest, youcanestimate howmuch impact a new integration has onresources, suchas CPU or memory usage of the runtimes withinyour environment. More information on howto configure thesolutionitectureof your modelcan be found inthismicrolearning:41 +[[image:Main.Images.Fundamental.WebHome@fundamental-traceability-in-emagiz--data-sink-search-results.png]] 41 41 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"]] 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 44 45 - {{warning}}Performance testing on the eMagizor documentationportalis**not**allowed.{{/warning}}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 46 47 -=== 3. 4End-To-EndTesting ===47 +==== 3.3 Long Term Archiving ==== 48 48 49 -The l asttestingoptiondiscussedin this fundamental isauser acceptancetest orEnd-to-Endtest.Inthis test,notonlydevelopersortestersbutlsoend-usersor otherpeople fromthebusinessside areinvolved.Therefore,thistestingmethodismore functionallyfocusedthanthepreviouslydiscussedtests.A UserAcceptance testaimstoletthebusiness(users)accept thesolution created.Normally,thisisthelaststepbeforepushingthesolutiontoproduction.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 50 51 - Allthe previouslymentionedeMagiz functionalityhelpsyoucompleteanEnd-to-Endtest orsolveissues foundwithinthetest effectively.oreformationon this testinghodcanbefoundintheicrolearning: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 52 53 -* [[User Acceptance Testing>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.intermediate-testing-in-emagiz-user-acceptance-testing||target="blank"]] 54 - 55 55 == 4. Key takeaways == 56 56 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 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) 60 60 61 61 == 5. Suggested Additional Readings == 62 62 63 -If you are interested in this topic and want to learn more onhowtestingcanbe donewithinthe eMagiz platform, please check out our microlearnings on testingin eMagiz:64 +If you are interested in this topic and want to learn how you can control your Cloud with the help of the eMagiz platform, please check out our microlearnings offering on eMagiz Cloud Management: 64 64 65 -* [[Crash Course (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 66 -** [[Platform>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]] 67 -* [[Intermediate Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 68 -** [[Intermediate Testing in eMagiz (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.WebHome||target="blank"]] 69 -** [[Testing API Gateway (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing API Gateway.intermediate-testing-emagiz-api-gateway-testing-api-gateway||target="blank"]] 70 -** [[Regression Testing (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.intermediate-testing-in-emagiz-regression-testing.WebHome||target="blank"]] 71 -** [[User Acceptance Testing (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Testing in eMagiz.intermediate-testing-in-emagiz-user-acceptance-testing||target="blank"]] 72 -** [[Intermediate Solution Architecture (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Solution Architecture.WebHome||target="blank"]] 73 -* [[Advanced Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 74 -** [[Advanced Testing in eMagiz (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Testing in eMagiz.WebHome||target="blank"]] 75 -** [[Advanced Solution Architecture (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Solution Architecture.WebHome||target="blank"]] 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"]] 76 76 77 77 )))((({{toc/}}))){{/container}}{{/container}}