UI overview
This section includes detailed description of all pages and dialog boxes in Testing Tool.
1. Integration Objects page
Integration Objects page looks:
On this page you can:
-
synchronize integration objects of the required
Agents(see Synchronization with Agent system section); -
view last synchronization result (to do it click on
Last Sync Resultbutton);Last Sync Resultbutton is available after synchronization and until page is refreshed. -
view the integration objects of the selected
Agent; -
view deleted objects (to do it click on
Browse deleted objectsswitcher) - it shows the objects that have been deleted on remote system after previous synchronization; -
remove deleted objects (to do it select the object(s) and click on
) - it deletes all related objects in scope of Testing Tool(e.g. recordings, test cases), and it doesn’t delete the object(s) fromChange Tracking Tool → Tracked Objectspage;You should switch view for deleted objects to be able to delete them.
-
delete test IFlows for CPI systems (to do it click on
and choose the action); -
add, remove modules for PRO systems (to do it click on
and choose the action):-
Add modulesaddsFigaf Agent ModuleorSAP Log Module(depending on chosen value ofMessages logging approachoption on Agent Configuration) to communication channel’s modules chain; -
Remove modulesis opposite toAdd modules; -
Remove ALL modulestriggers removing from all objects. It is used while uninstallation;Add modulesandRemove modulescan be used only for primary objects (sender agreements for wildcard sender ICOs, wildcard receiver ICOs for receiver agreements, sender scenario in the bridges). -
Modules management reportdownloads modules management history report with historical changes for communication channels made by Figaf Tool; -
PI agent reportdownloads report with channels, operation mappings and function libraries configurations.
-
-
record messages to start configuring testing (to do it select the object(s) and click on
Record messagesbutton) - it opensCreate recording requestsdialog box; -
create
test case(to do it select the object and clickCreate Testcase) - it opens Test case creation page;Record messagesandCreate Testcasecan be used only for primary objects (sender agreements for wildcard sender ICOs, wildcard receiver ICOs for receiver agreements, sender scenario in the bridges).Selected objects should be licensed for Testing (see Configure Object Licenses for details).
-
open details of integration objects (to do it click on
or
buttons) - it opens Integration Object Detailspage (see Integration Object Details page).
2. Integration Object Details page
Integration Object Details page includes several tabs with various information about integration object:
-
Common Informationtab shows the object metadata. It looks a little bit different for PRO and CPI objects:-
For PRO objects:
Here you can open
Tracked Object Detailsclicking onTracked Object, and configure the following parameters:-
Scenario typeconfigures scenario type for the integration object. EnableOverride scenario typeto be able to configure the parameter. In most cases Figaf Tool initializes this parameter appropriately but in some cases this parameter should be defined manually. Be careful with updates it may lead to unexpected behavior. -
Messages Logging Approachconfigures messages logging approach for the integration object. OnlySAP Log ModuleorICO Loggingcan be configured. EnableOverride Messages Logging Approachto be able to configure the parameter. The option is visible whenUse the most appropriate messages logging approach by default per scenariois enabled for the agent. -
Scenario validationcontains the following validations:-
Is it ok to test without modules or not:
warning- ifICO Loggingis used for the object having custom modules,information- forSAP Log Module/Agent Module. -
Undetermined scenario type. Default value for ICO is
UNDEFINED. If processing type isUNDEFINEDthe following operations are blocked for the ICO: modules addition (deletion should work), recording creation, test case running, polling. -
Undetermined default adapter modules (that affects modules addition):
errorforSAP Log Module/Agent Module,warningforICO Logging. -
Detect if ICO logging is configured properly for current scenario. If setting are not found at all, then there is a message to check if BI/AM logging is enabled (they are global or scenario is not 7.5):
-
When logging settings are not found:
informationwhenSap Log Moduleenabled. -
When logging settings are found:
information- if BI and AM not found andSap Log Moduleenabled,warning- if BI and AM not found andICO Loggingenabled.
-
-
-
Communication channelswith information about modules. It’s possible toAdd ModulesandRemove Moduleson this page. -
Channel selection strategyconfigures strategy applied to channels listed inChannels filter for modules update(EXCLUDE_CHANNELS(default) orINCLUDE_CHANNELS). -
Channels filter for modules update- is a list of communication channels which shouldn’t be updated (ifChannel selection strategyisEXCLUDE_CHANNELS) or which should be updated (ifChannel selection strategyisINCLUDE_CHANNELS). Start typing the communication channel name and select it to add it to the list.Channel selection strategyandChannels filter for modules updateoptions must be configured for each ICO/SA/RA separately. -
Message interfaces which should be polled- is a list of message interfaces to be polled. -
Update channels with passwords. If false, it prevents updating of communication channels if they have password parameters in the modules chain. -
Has external sender. This option should be set manually if separate splitter scenario is used for triggering current scenario or when external correlation id is sent with the message andSAP Log ModuleorICO Loggingintegration types are configured onAgent. Regarding the second case, it is required because we searchAdapter Framework Dataentries (entries in theSAP Message Monitoring) and determine root entries where root entry is calculated by default as an entry with matching interface info and without parent id and correlation id. EnablingHas external senderoption disables some checks for root entry determination and makes it possible to have root entry with the link to external parent. But such configuration will cause issues when non-root messages with the same interface and with the link to real parent entry are fetched fromSAP Message Monitoring. -
Add LogVersion status to the messages lookup during the polling- enable it if you want to add LogVersion status to the messages lookup during the polling. -
Test separately from parent scenarioenables possibility to test the ICO in Async/Sync bridge separately. The option is available on Async/Sync bridges child objects pages. The option is relevant only forSAP log module/ICO Loggingintegrations.You also need to enable
Record synchronous service response if existssetting on recording configuration page. -
Enable old polling approachenables old polling approach for scenario. That option has effect if old polling approach is not enabled globally by default (in bootstrap properties:irt.testing.pro.polling.async-with-splitter-scenario.use-old-approach,irt.testing.pro.polling.async-without-splitter-scenario.use-old-approach,irt.testing.pro.polling.sync-scenario.use-old-approach,irt.testing.pro.polling.async-sync-bridge-scenario.use-old-approach). When the option is enabled the following settings are shown:-
Enable automatic messages lookup optimization during the polling. Default value istrue. Disable this option if you poll messages for scenario with the 1 receiver interface and 1 receiver channel but with the message split or scenario with the interfaces/receiver/message split without BI staging enabled and your agent usesSAP Log moduleorICO Logging. If it’sfalse, the following options can be configured:-
Forcibly lookup successors during the pollingenables successors lookup using message id. -
Forcibly lookup parent during the pollingenables parent lookup by msgId using refId/parentId. -
Forcibly lookup by Reference ID/Correlation ID during the pollingenables lookup by refId/correlationId using message id.
-
-
-
-
For CPI objects:
-
For CPI IFlow objects
Initialize inbound order number from SAP_ApplicationIDconfigures order numbers initialization for inbound messages using SAP_ApplicationID (see e2e flow description here). -
For IFlow Chain objects
Sender IFlowconfigures sender IFlow in the chain,Chained IFlowsconfigures IFlows followingSender IFlowin the chain.
-
-
-
Recording Configurationtab shows current recording configuration and provides functionality to change the configuration. The following settings are configured:-
For PRO objects:
-
Messages Countdefines how many messages will be recorded. -
per unique message/partner combinationsets up a recording strategy per message/partner, so that expected message groups count meansn messages per message/partner. It also requires a timeout is hours to define an expected period of recording. -
Message Expressiondefines some specific text, e.g. 'demo2019'. -
Partner Expressiondefines XPath expression, e.g. '//Seller'. This means that once it is processing this data it will then go into it. -
Order expressionsmeans when you are receiving messages if there are some correlation or some id that you need to use for ordering these. You need it if you have a message that being split, otherwise it is pretty difficult to see which of the messages you need to compare. -
Message FilterandPartner Filterdefine interfaces to be recorded. -
Use alphanumeric order numberenables calculation of order number as a string instead of a number. -
Don’t calculate order number for a single entry- if true, order number is set to1(if there are 1 inbound and 1 outbound messages). -
Record synchronous service response if existsis used when you have sync call. We test it the following way:-
You have a message that being processed.
-
The first part is the sender adapter.
-
Then we go to the receiver adapter.
-
We log it before it’s been sent to the SOAP channel for instance.
-
We log it in the response coming back from the SOAP channel.
-
We log it just before it’s delivered to livery segment system.
-
If
Record synchronous service response if existsis true, we log response coming back and use that to set up testing.Enable it if you record messages for child ICO in Async/Sync bridge.
-
-
Record payloads logged by the adapter if possibleis used to record JSON payloads logged by the Rest adapter or CSV payloads logged by the File adapter. Supported only forSAP Log ModuleandICO Loggingmessage retrieving ways. -
Record BI caption for inbound messages forciblyis used to recordBImessage instead ofirtLogStage1. Supported only forSAP Log Modulemessage retrieving way.
-
-
For CPI objects:
-
Messages Countdefines how many messages will be recorded. -
Message Expressiondefines some specific text, e.g. 'demo2019'. -
Partner Expressiondefines XPath expression, e.g. '//Seller'. This means that once it is processing this data it will then go into it. -
Order expressionsmeans when you are receiving messages if there are some correlation or some id that you need to use for ordering these. You need it if you have a message that being split, otherwise it is pretty difficult to see which of the messages you need to compare. -
Use alphanumeric order numberenables calculation of order number as a string instead of a number. -
Don’t calculate order number for a single entry- if true, order number is set to1(if there are 1 inbound and 1 outbound messages). -
Download additional payloads- if true, additional payloads (e.g. MPL attachments, datastore entries) are recorded. -
Use only finishing run stepsenables functionality when only the last messages in a test case will be compared. If true,Run steps selection strategyandRun steps filtercan’t be set. -
Run steps selection strategyandRun steps filterconfigure steps which should be recorded. Since 2209 it’s possible to configure run steps filter in BPMN Model with viewer dialog clicking on
button.If it’s IFlow Chain object, it’s possible to configure Run steps filterfor each IFlow used in IFlow Chain separately.
-
-
-
Test Configurationtab shows test configurations of the integration object. There are the following properties can be configured here:-
Comparison Typedefines used comparison strategy. Most of the timeAUTOis fine. -
EDI functional group correlation key pathdefines path to data element or component element which can be used as a group identifier during comparison. Define a value if there are several functional groups in EDI outbound messages. The path format is described below. -
EDI message correlation key pathdefines path to data element or component element which can be used as a message identifier during comparison. Define a value if there are several messages in EDI outbound messages. Don’t define a value if there are several groups with 1 message in each group.EDI functional group correlation key pathandEDI message correlation key pathmust be configured in the special format:<segment prefix><data element index and options><component element index (optional)>
where:
-
<segment prefix>- shouldn’t contain[or], for example,UNE,DTM+137. -
<data element index and options>:[<standalone index>]or[<standalone index>|<option>]. -
<component element index>: for example,1.-
<standalone index>: for example,1 -
Available option:
-
substring- the option defines a substring rule for group/message correlation id path in EDI comparison. The option has the following syntax:substring(<characterIndex>|<characterIndex>), wherecharacterIndexis index of the first or last character of substring that should be used as an identifier, could have positive or negative value:-
substring(-2|),substring(-2), andsubstring(-2|0)uses 2 last characters, e.g.somestriNG. -
substring(-5|-1)uses 4 characters starting from the fifth character from the end, e.g.somesTRINg. -
substring(1|-1)uses all characters starting from the second and ending with penultimate, e.g.sOMESTRINg. -
substring(-1|1)uses the first and the last characters, e.g.SomestrinG.
-
-
-
Examples:
-
Only segment prefix:
UNE,DTM+137. -
Segment prefix with data element index:
UNH[0],IMD[1]. -
Segment prefix with data element index and option:
UNE[1|substring(-2|)]. -
Segment prefix with data element index and component element index:
UNB[2][4].
-
-
Item Ignoredefines XPath expressions (divided by semicolon) to ignore, e.g. '/Invoice/Date'.For EDI type you can configure items in the special format
<segment prefix><data element indexes and options><component element indexes (optional)>+<data element indexes and options><component element indexes (optional)>+<data element indexes and options><component element indexes (optional)>+...
where:
-
<segment prefix>- shouldn’t contain[or], for example,UNE,DTM+137. -
<data element indexes and options>:[<standalone/ranged index>, …, <standalone/ranged index>|<option1>, <option2>] -
<component element indexes>:[<standalone/ranged index>, …, <standalone/ranged index>]-
<standalone index>: for example,1 -
<ranged index>: for example,0-4 -
Available options:
-
empty-missing -
java formatting which matches regex
%[\\d.]*([dfeg]{1})$, for example:%.3f,%.6e.
-
-
Examples:
-
Only segment prefix:
UNE,DTM+137. -
Segment prefix with data element indexes:
UNH[0],IMD[0-2],IMD[0,2]. -
Segment prefix with data element indexes and options and component element indexes:
UNB[0][1|empty-missing][0][2-5,7-8,9-10][4,5].
For XML type you can configure items in the special format
<XPath><options>
where:
-
<XPath>- standard XPath expression, for example,//targetElem. -
<options>:{{<option1>,<option2>}}-
Available options:
-
empty-missing -
java formatting which matches regex
%[\\d.]*([dfeg]{1})$, for example:%.3f,%.6e. -
@<xml_attribute>which configures ignoring of some particular xml attribute differences.
-
-
Examples:
-
Only XPath expression:
//targetElem. -
XPath expression with additional ignoring options:
/targetElem{empty-missing,%.3f}. -
XML attribute ignoring:
/targetElem/@id.
-
-
Message Properties Ignoredefines dynamic properties (divided by semicolon) to ignore, e.g. 'X-Vcap-Request-Id'. If you have a lot of dynamic properties with the same prefix (e.g.DynamicProperty1andDynamicProperty2), you can define just common prefix (DynamicProperty) to ignore all dynamic properties with this prefix during comparison.gItem IgnoreandMessage Properties Ignoreproperties can be configured during result comparison in Differences dialog that can be opened from Test Run Details page. -
Order Expressionsdefines how to order messages. -
Collection Item Identification Expressions(only for XML type) defines rules to compare a collection with the different order of elements in the expected and actual messages. This setting should be configured in the following format:<path to the collection>-><relative path to the identification element>
If path to your collection is
/example/collectionand path to element identified collection idexample/collection/object/id, thenCollection Item Identification Expressionsis/example/collection->object/id. -
Result Notification Delay (in minutes). When current test object is used in some test suite, value of this option is used in the calculation of the min amount of time between the time when test suite run report is generated and its sending through email.Result Notification Delayfor test suite is calculated as the max ofResult Notification Delayvalues configured for each test object used by this test suite. Configure delay properly when testing of current scenario takes a lot of time. -
Define headers from inbound message to send forciblyenables forcible sending of headers configured inHeaders to send forciblyfield.The feature works only for IFlows having not standard sender channel. Then a copy IFlow (with replaced sender) will be created and have ProcessDirect sender if the headers are defined. Otherwise copy IFlow will be not created (when standard sender channel) or created with HTTP sender, that doesn’t support a possibility to send some specific headers (e.g. Camel headers), will be created. -
Use alphanumeric order numberenables calculation of order number as a string instead of a number. -
Don’t calculate order number for a single entry- if true, order number is set to1(if there are 1 inbound and 1 outbound messages). -
Use expected message encoding during comparison. Enable if you want to forcibly use encoding from expected message instead of dynamically determined encoding from actual result. Have effect only for the following message types: EDIFACT, X12, TEXT. -
Ignore XML attributesconfigures XML attributes ignoring during comparison. -
XML attributes comparisonconfigures separate XML attributes comparison. -
Trim whitespaces before XML comparisonenables ignoring whitespaces during comparison of XML payloads. By default, option is enabled. -
For PRO objects you can configure additional settings for testing:
-
Don’t use original receiver communication (mock endpoints)(for BE scenarios) enables testing with mock data. It uses the replacement of original receiver channel links in the test scenario by our REST channel links. For each original receiver channel, Figaf Tool creates and keeps actual the REST channel with the prefixFigafIRT_. That channel calls endpoint which just receives code 200 without the body. All custom modules from the original channel are copied to that REST channel. So requests to the original receiver are avoided. -
Use splitter- if true, B2B splitter is used. If you have B2B messages and you want to send them in with the B2B splitter, you can specify which scenario to set them up and to send them in with this specific splitter.
There is also global splitter setting that you can use (see Agent Configuration, field
Default splitteron Agent dialog box). -
Decide to test with/without sender modules automatically- true by default. When sender communication channel has custom modules, the standard way of testing for PRO scenarios in Figaf Tool (through common infrastructure scenario) will not work correctly because these custom modules will not be triggered. Figaf Tool determines such case automatically ifDecide to test with/without sender modules automaticallyis true, as a result, special infrastructure scenario will be created for making correct test. Otherwise you can decide to apply or not such behavior for current test object.After disabling
Decide to test with/without sender modules automaticallynew optionRun migration tests with modules on sender sideis available. You have to decide by yourself should it be selected or not. -
Generate new numbers for each message- it adds theNumberRange Moduleto the test channel, so you can use theB2B NROto maintain a list of numbers. -
Don’t send message after testing- it can be applied only to standard EO/EOIO scenarios and only whenFigaf Agent Moduleintegration type is configured onAgent. Agent Module throws specific exception after processing of 2nd stage message (after sender mapping). Then Figaf Tool triggers cancellation of such message. As a result, the message is not sent to real receiver but tested in Figaf Tool. It causes critical limitation for BE scenarios because only sender mapping is tested. -
Test 3rd stage messages in baseline test cases- if true, it creates test run result for 3rd stage message (sync service response) so comparison between expected and actual results is processed. -
Validate receiver integration- if true, AFD status will be compared with the expected valuesuccess. If they are not equal, it will be shown onDifferencesdialog as a dynamic configuration propertyhttp://figaf.com/testing/virtual-property|MessageStatus. The feature works only forSAP Log moduleandICO Logging. -
Don’t skip adapter-specific properties by default during message sending- if true, message properties that start with one of prefixesDEFAULT_IGNORED_PROPERTY_PREFIXESor equal to one ofDEFAULT_IGNORED_PROPERTIESaren’t skipped during message sending. -
Define additional dynamic properties to send with the test messageenables configuration of additional dynamic properties.
-
-
For CPI objects you can configure:
-
Don’t use original receiver communication (mock endpoints)enables testing with mock data. Linked test cases are run with replacing real receivers responses by previously recorded responses (from corresponding receivers) on Agent Object. Figaf Tool clones original test object (IFlow) with replacing sender and receiver channels to HTTPS where receiver channel endpoints are special Figaf Tool API. To use this mocking service you need to have configured Figaf Tool to use the cloud connector (see cloud connector properties configured in run command). -
Use a separate IFlow to send messagesenables testing by calling another IFlow. If true,Sender IFlowcan be selected.Use a separate IFlow to send messagesandDon’t use original receiver communication (mock endpoints)can’t be used simultaneously.Please note that if shared configuration is configured for the IFlow with enabled
Use a separate IFlow to send messages,Test with mock datashould be disabled in the shared configuration.If
Sender IFlowhas multiple entry points, the first one will be selected for running.If
Sender IFlowhas a not standard sender channel, a copy IFlow (with replaced sender) will be created. But a target IFlow will never be changed if we use aSender IFlow. -
Use only finishing run stepsenables functionality when only the last messages in a test case will be compared. If true,Run steps selection strategyandRun steps filtercan’t be set. -
Run steps selection strategyandRun steps filterconfigure steps which should be tested. Since 2209 it’s possible to configure run steps filter in BPMN Model with viewer dialog clicking on
button.If it’s IFlow Chain object, it’s possible to configure Run steps filterfor each IFlow used in IFlow Chain separately.
-
-
-
Several actions can be done on this tab:
-
View related
test suitesclicking onTest Suite Title. It opens Test Suite page. -
View recording details clicking on
. It opens 'Recording Request Details' page. -
Copy recording clicking on
icon and then on Copybutton. It opens 'Copy Recording Requests' dialog box.
-
Fetch policyswitches the way how messages will be fetched from the message monitoring. There are several possible values:-
Fetch historic messages- takes messages from message monitoring in order of their creation depending on specified period inHistoric lookup periodproperty (the left bound is calculated as current time minus specified lookup period). When you useFetch historic messagesoption, be sure that historic messages have enough metadata to record them. ForSAP Log Moduleintegration type messages should have logged state withirtLogStage<x>labels, where x=1…4, forICO Loggingintegration type messages should have logged state withBIandAMlabels.Fetch historic messagesis used for all CPI agents and when PRO Agent hasMessages logging approachequals toSAP Log ModuleorICO Logging(see Agent Configuration). -
Fetch future messages- only messages sent after recording creation will be recorded. -
Fetch chosen message groupsenables message groups configuration. Once it’s selected,Chosen root messagescan be configured by clicking on
button. It opens search dialog where you can select root message groups for recording.Fetch chosen message groupsis used only when PRO Agent hasMessages logging approachequals toSAP Log ModuleorICO Logging(see Agent Configuration) and scenarios used in recordings aren’t RDs.
-
-
RD historic lookup period (only for PRO agents)is shown for agents with enabled dual stack recording (see propertyEnable dual stack recordingon Agent Configuration) and similar toHistoric lookup period (only for PRO Agents). -
Update channels with password(PRO Agents). -
You can configure more properties clicking on
:-
For PRO objects:
-
Messages Countdefines how many messages will be recorded. -
per unique message/partner combinationsets up a recording strategy per message/partner, so that expected message groups count meansn messages per message/partner. It also requires a timeout is hours to define an expected period of recording. -
Message Expressiondefines some specific text, e.g. 'demo2019'. -
Partner Expressiondefines XPath expression, e.g. '//Seller'. This means that once it is processing this data it will then go into it. -
Order expressionsmeans when you are receiving messages if there are some correlation or some id that you need to use for ordering these. You need it if you have a message that being split, otherwise it is pretty difficult to see which of the messages you need to compare. -
Message FilterandPartner Filterdefine interfaces to be recorded. -
Use alphanumeric order numberenables calculation of order number as a string instead of a number. -
Don’t calculate order number for a single entry- if true, order number is set to1(if there are 1 inbound and 1 outbound messages). -
Record synchronous service response if existsis used when you have sync call. We test it the following way:-
You have a message that being processed.
-
The first part is the sender adapter.
-
Then we go to the receiver adapter.
-
We log it before it’s been sent to the SOAP channel for instance.
-
We log it in the response coming back from the SOAP channel.
-
We log it just before it’s delivered to livery segment system.
-
If
Record synchronous service response if existsis true, we log response coming back and use that to set up testing.Enable it if you record messages for child ICO in Async/Sync bridge.
-
-
-
For CPI objects:
-
Messages Countdefines how many messages will be recorded. -
Message Expressiondefines some specific text, e.g. 'demo2019'. -
Partner Expressiondefines XPath expression, e.g. '//Seller'. This means that once it is processing this data it will then go into it. -
Order expressionsmeans when you are receiving messages if there are some correlation or some id that you need to use for ordering these. You need it if you have a message that being split, otherwise it is pretty difficult to see which of the messages you need to compare. -
Use alphanumeric order numberenables calculation of order number as a string instead of a number. -
Don’t calculate order number for a single entry- if true, order number is set to1(if there are 1 inbound and 1 outbound messages). -
Download additional payloads- if true, additional payloads (e.g. MPL attachments, datastore entries) are recorded. -
Use only finishing run stepsenables functionality when only the last messages in a test case will be compared. If true,Run steps selection strategyandRun steps filtercan’t be set. -
Run steps selection strategyandRun steps filterconfigure steps which should be recorded. Since 2209 it’s possible to configure run steps filter in BPMN Model with viewer dialog clicking on
button.If it’s IFlow Chain object, it’s possible to configure Run steps filterfor each IFlow used in IFlow Chain separately.
As a result of recording coping, new recording will be created.
-
-
-
-
Delete selected recording requests clicking on
button.In current version of Figaf Tool recordings are not stopped, they are deleted. -
Create
Test Casesclicking on
button. It opens 'Test Case creation' dialog box. After test caseis created the source recording should be removed from recordings table.-
You should create
test casesfor recordings having recorded inbound/outbound messages, otherwise you will get the error. -
You can create
test casesfor recordings having not enough (less than configuredMessages Count) recorded inbound/outbound messages, thentest casewith available messages will be created, and recording will stay in Recordings table (having less messages count).
-
-
Poll remote messages clicking on
Poll remote messagesbutton. Before polling remote messages you should send the messages to the scenario or wait for messages if the scenario is scheduled, otherwise, you won’t get any messages.Since Figaf Tool 2.15 automatic polling is added for SAP CPI
Agents. Once the messages have been run successfully, automatic polling is started.Since Figaf Tool 2.15.2 active polling statistics can be viewed. If there is polling in progress for the integration objects and you open another poll remote data dialog, then
-
recordings/test runs which are in both polling requests will be marked as
SKIPPED_AS_DUPLICATEand statistics will be copied from original item and shown on UI in the new one. -
recordings/test runs which are not in the original polling request will be
SKIPPEDin the new one.
Since Figaf Tool 2305 polling will not be started if there is already a started polling requests with same objects in progress or polling has been already completed for all selected objects.
If you have polled almost all messages and you just need to poll small number of messages to finish testing, you can enable option
Ignore messages cache during pollingon Application configuration page. When this option is enabled, already polled messages won’t be skipped. It affects performance when the amount of messages is large and you just need to poll small number to finish testing. -
-
Open last polling result clicking on
Open Last Polling Resultbutton.Open Last Polling Resultbutton is available after polling remote data and until page is refreshed. -
Record messages clicking on
Record messagesbutton. It opensCreate recording requestsdialog box.
-
-
Agent Test Casestab showstest caseswhich have current Integration Object as Agent Object. This tab looks:
On this tab you can:
-
View
test casedetails clicking on
. It opens Test Case Details page. -
Select the test case(s) and do actions:
-
Run the test case(s) clicking on
or
buttons:-
Runuses static links to test objects defined in the test case. -
Run onresolves these links dynamically at the moment of test run. It is possible to see how these links are resolved throughCurrent Mapping Configurationbutton - it opens 'Mapping Configuration' dialog box:
There are Agent Objects (parent nodes) and Test Objects (child nodes) in opened dialog box.
-
-
-
Click on table’s
button and choose:-
Create Test Case(PRO) opens Test case creation page. -
Merge Test Casesmerges two selected test cases' messages. It removes previous test cases run results.You should select two test cases with the same Agent Object, Message and Partner. -
Add to test suiteadds selected test case(s) to new or existing test suite. It opens 'Create Test Suite' dialog box:
You can choose to create new test suite or to use existing one. If you enable
Open Test Suite’s page after creationoption, Test Suite page will be opened after saving. -
Trim testsremoves messages from selected test case(s). It keeps number of inbound messages equals to the value ofHow many messages to keep in the test case?property of 'Trim Test Cases' dialog box:
-
Migrate to CPI(PRO) migrates PI test cases to CPI (see Migrate test cases from PI to CPI scenario).
-
-
It opens Migrate Test Cases dialog:
Where you can configure test suite (new or existent one) and CPI IFlow or IFlow Chain created manually or created during PI to CPI migration with Pipeline All profile. If you want to open Test Suite page, enable Open Test Suite’s page after test cases migration option.
If selected IFlow was migrated from PI agent using PI to CPI migration feature, you are able to configure mapping between platforms. Since 2208.1 it’s possible to configure IFlow element ids in BPMN Model with viewer dialog clicking on
button.
Once you configure all fields, click on Save. It opens confirmation:
As the result, new test case will be created and attached to the test suite.
During the copying of the messages, interface related parameters (stepId, activity, branchId) of the last stage are initialized by value ${determineDuringFirstRun}. For other stages for bridges and BE scenario value ${shouldBeMappedManually} is used. Original stage number is temporary saved in the step number, then it will be replaced by real value - it needs for BE and bridges to distinguish different original stages.
… Delete removes selected test case(s).
… Clean removes all test run results and reports of selected test case(s).
-
Linked Test Casestab showstest caseswhich have current Integration Object as test object. This tab looks:
On this tab you can:
-
View
test casedetails clicking on
. It opens Test Case Details page. -
Select the test case(s) and do actions:
-
Run the test case(s) clicking on
or
buttons:-
Runuses static links to test objects defined in the test case. -
Run onresolves these links dynamically at the moment of test run. It is possible to see how these links are resolved throughCurrent Mapping Configurationbutton - it opens 'Mapping Configuration' dialog box:
There are Agent Objects (parent nodes) and Test Objects (child nodes) in opened dialog box.
-
-
Detach link between current Integration Object and selected
test caseclicking onDetachbutton.
-
-
3. Test Suites page
Test Suites page shows all existing test suites. The page looks:
On this page you can:
-
view test suites unrelated or related to tickets (to see test suites related to tickets click on
Hide Ticket related Test Suitesswitcher); -
reset message interfaces to
${determineDuringFirstRun}for chosen test suites to be able to reinitialize them in runtime; -
delete selected test suite(s) clicking on
Delete; -
delete selected test suite(s) run results clicking on
Clean; -
run selected test suite(s) clicking on
; -
view test suite details clicking on
button. It opens Test Suite page.
4. Test Suite page
Test Suite page includes several tabs with various data related to the test suite:
On each tab you are able to edit the test suite data (to start editing click on
button):
-
Test Suite Title.Test Suite Titlemust be unique. -
Scheduled- if true,TestSuiteRunnertask runs this test suite according to configured cron expression (configureTestSuiteRunnerproperty on Application configuration page).Agent Objects used for testing should be licensed, otherwise, scheduled test suites won’t be run. -
Send report by email- if true,TestSuiteResultNotifiertask sends test suite excel report to email configured on Application configuration page (configureTestSuiteResultNotifier,SMTP host,SMTP port,SMTP username,SMTP password,Email Protocol,Email From,Email Toproperties on Application configuration page). -
Use default test systems for runningenablesRun onbehavior for scheduled test suite running - test suite will be run on all Agents licensed as test systems excluding marked as production systems.You can check licensed Agents on License page. Production systems can be checked on Agent Configuration.
To save changes click on
button, to reset -
.
To run the test suite click on
or
buttons:
-
Runuses static links to test objects defined in the test case. -
Run onresolves these links dynamically at the moment of test run. It is possible to see how these links are resolved throughCurrent Mapping Configurationbutton - it opens 'Mapping Configuration' dialog box:
There are Agent Objects (parent nodes) and Test Objects (child nodes) in opened dialog box.
| You can’t run test suite without linked test cases. |
To create recordings click on Record messages button. It opens the dialog where you can select an integration object then Create recording requests dialog box will be opened.
-
Here you can:
-
View Agent Object clicking on
Agent Object Title(it opens Integration Object Details page). -
Delete recordings (see corresponding actions here).
-
View recording configuration clicking on
icon and then on Configbutton (see settings here). -
Copy recording clicking on
icon and then on Copybutton (see settings here). -
Poll remote messages for selected recordings.
-
Create test cases for selected recordings clicking on
.
-
-
LINKED TEST CASEStab shows test cases linked to current test suite and looks:
Here you can:
-
View Agent Object clicking on
Agent Object Title(it opens Integration Object Details page). -
Add test cases clicking on
button. It opens 'Add Test Cases to the test suite' dialog box:
Just select the
Agent, the object and required test cases and click on 'OK'. -
Select test case(s) and do actions:
-
Detach test case(s) from test suite clicking on
button. It deletes the link between current test suite and selected test case(s).
-
-
View test case details clicking on
button. It opens Test Case Details page.
-
-
LAST RESULTtab shows last test suite run result and looks:
On this tab you can:
-
View Agent and Test Objects clicking on
Agent Object TitleorTest Object Title. It opens Integration Object Details page. -
Poll remote results clicking on
Poll remote results.Since Figaf Tool 2.15 automatic polling is added for SAP CPI
Agents. Once the messages have been run successfully, automatic polling is started.Since Figaf Tool 2.15.2 active polling statistics can be viewed. If there is polling in progress for the integration objects and you open another poll remote data dialog, then
-
recordings/test runs which are in both polling requests will be marked as
SKIPPED_AS_DUPLICATEand statistics will be copied from original item and shown on UI in the new one. -
recordings/test runs which are not in the original polling request will be
SKIPPEDin the new one.
Since Figaf Tool 2305 polling will not be started if there is already a started polling requests with same objects in progress or polling has been already completed for all selected objects.
If you have polled almost all messages and you just need to poll small number of messages to finish testing, you can enable option
Ignore messages cache during pollingon Application configuration page. When this option is enabled, already polled messages won’t be skipped. It affects performance when the amount of messages is large and you just need to poll small number to finish testing. -
-
View last polling result clicking on
Open Last Polling Result.Open Last Polling Resultbutton is available after polling remote data and until page is refreshed. -
Export as a test case to PIT (only for PRO) clicking on
Export as a Test Case to PIT.Export as a Test Case to PITis available only for licensed version after the test suite running. -
Compare testing results and build reports clicking on
button.The option reprocesses comparison and report generation asynchronously. It makes sense to execute the option once you have configured a new "ignore rule". -
Do the following actions clicking on
and choosing corresponding option:-
Rerunreruns required test case. -
View testcaseopens 'Test Case Details' page. -
Download report.Report type can be one of 2 types:
-
xlsxreport:-
Contains information about test run/test suite run results.
-
By default only failed results are added to
xlsxreport. If you want to change this behavior, go toConfiguration → Applicationpage and enableShow successful messages in the test suite’s reportproperty.
-
-
ziparchive with 3csvreports:-
test-run-metadata.csv- contains common information about test run/test suite run (e.g. test object, counters for success/error/unexpected/not/compared/unfinished test run/test suite run results). -
diff-report.csv- contains diff report for test run/test suite run. -
processed-messages-report.csv- contains processed messages report for test run/test suite run.
-
The report type is defined from
Use bundled CSV report generation strategyproperty configured on Application configuration page. If it’s true, the report type iszip, otherwise, it’sxlsx. -
-
View resultsopens Test Run Details page.
-
-
-
RESULTS HISTORYtab shows results of all test suite runs and looks:
-
Configure
Running Date filterto hide some test suite run results. -
Select the result and do actions:
-
Compare testing results and build reports clicking on
button.The option reprocesses comparison and report generation asynchronously. It makes sense to execute the option once you have configured a new "ignore rule". -
Poll remote results for unfinished runs clicking on
Poll remote results.Since Figaf Tool 2.15 automatic polling is added for SAP CPI
Agents. Once the messages have been run successfully, automatic polling is started.Since Figaf Tool 2.15.2 active polling statistics can be viewed. If there is polling in progress for the integration objects and you open another poll remote data dialog, then
-
recordings/test runs which are in both polling requests will be marked as
SKIPPED_AS_DUPLICATEand statistics will be copied from original item and shown on UI in the new one. -
recordings/test runs which are not in the original polling request will be
SKIPPEDin the new one.
Since Figaf Tool 2305 polling will not be started if there is already a started polling requests with same objects in progress or polling has been already completed for all selected objects.
If you have polled almost all messages and you just need to poll small number of messages to finish testing, you can enable option
Ignore messages cache during pollingon Application configuration page. When this option is enabled, already polled messages won’t be skipped. It affects performance when the amount of messages is large and you just need to poll small number to finish testing. -
-
View last polling result clicking on
Open Last Polling Result.Open Last Polling Resultbutton is available after polling remote data and until page is refreshed. -
Export as a test case to PIT (only for PRO) clicking on
Export as a Test Case to PIT. -
Delete testing results clicking on
button.
-
-
Download report of the test suite run result clicking on
button in the table row.Report type can be one of 2 types:
-
xlsxreport:-
Contains information about test run/test suite run results.
-
By default only failed results are added to
xlsxreport. If you want to change this behavior, go toConfiguration → Applicationpage and enableShow successful messages in the test suite’s reportproperty.
-
-
ziparchive with 3csvreports:-
test-run-metadata.csv- contains common information about test run/test suite run (e.g. test object, counters for success/error/unexpected/not/compared/unfinished test run/test suite run results). -
diff-report.csv- contains diff report for test run/test suite run. -
processed-messages-report.csv- contains processed messages report for test run/test suite run.
-
The report type is defined from
Use bundled CSV report generation strategyproperty configured on Application configuration page. If it’s true, the report type iszip, otherwise, it’sxlsx. -
-
View Test Suite Run details clicking on
. It opens Test Suite Run page.
-
5. Test Suite Runs page
Test Suite Runs page shows the test suites that were run in period defined in Running Date filter and looks:
The following actions are available on this page:
-
Viewing test suite details: click on
Test Suiteand it opens Test Suite page. -
Testing results comparison and reports building clicking on
button.The option reprocesses comparison and report generation asynchronously. It makes sense to execute the option once you have configured a new "ignore rule". -
Remote results polling. Select unfinished test suite run(s) and click on
Poll remote resultsbutton.Since Figaf Tool 2.15 automatic polling is added for SAP CPI
Agents. Once the messages have been run successfully, automatic polling is started.Since Figaf Tool 2.15.2 active polling statistics can be viewed. If there is polling in progress for the integration objects and you open another poll remote data dialog, then
-
recordings/test runs which are in both polling requests will be marked as
SKIPPED_AS_DUPLICATEand statistics will be copied from original item and shown on UI in the new one. -
recordings/test runs which are not in the original polling request will be
SKIPPEDin the new one.
Since Figaf Tool 2305 polling will not be started if there is already a started polling requests with same objects in progress or polling has been already completed for all selected objects.
If you have polled almost all messages and you just need to poll small number of messages to finish testing, you can enable option
Ignore messages cache during pollingon Application configuration page. When this option is enabled, already polled messages won’t be skipped. It affects performance when the amount of messages is large and you just need to poll small number to finish testing. -
-
Downloading consolidated diff report for test suite runs. Select test suite run(s) and click on
Diff reportbutton. It will take diff info from all related test runs/test run results with ERROR status and build CSV file (semicolon as a separator) with the following information:
Combination of fields
Message,Partner,Diff State,Old Value,New Valueorganize a unique key,Affected Test SuitesandAffected Messages countare aggregated.Affected Messages count- is count of failed test run results (outbound messages) which contain the error determined by the key. Obviously, if some error occurred in one message several times, that message will be counted only once.Correlation between old and new value for now properly added only for EDI types (EDIFACT and X12).
-
Export as a test case to PIT.
-
Deleting selected testing results.
-
Downloading report.
Report type can be one of 2 types:
-
xlsxreport:-
Contains information about test run/test suite run results.
-
By default only failed results are added to
xlsxreport. If you want to change this behavior, go toConfiguration → Applicationpage and enableShow successful messages in the test suite’s reportproperty.
-
-
ziparchive with 3csvreports:-
test-run-metadata.csv- contains common information about test run/test suite run (e.g. test object, counters for success/error/unexpected/not/compared/unfinished test run/test suite run results). -
diff-report.csv- contains diff report for test run/test suite run. -
processed-messages-report.csv- contains processed messages report for test run/test suite run.
-
The report type is defined from
Use bundled CSV report generation strategyproperty configured on Application configuration page. If it’s true, the report type iszip, otherwise, it’sxlsx. -
-
Viewing Test Suite Run details clicking on
. It opens Test Suite Run page.
6. Test Suite Run page
Test Suite Run page opens a historical test suite run and browse related test runs:
On this page you can:
-
View linked test suite. It opens Test Suite page.
-
Work with test runs:
-
View Agent and Test Objects clicking on
Agent Object TitleorTest Object Title. It opens Integration Object Details page. -
Poll remote results clicking on
Poll remote results.Since Figaf Tool 2.15 automatic polling is added for SAP CPI
Agents. Once the messages have been run successfully, automatic polling is started.Since Figaf Tool 2.15.2 active polling statistics can be viewed. If there is polling in progress for the integration objects and you open another poll remote data dialog, then
-
recordings/test runs which are in both polling requests will be marked as
SKIPPED_AS_DUPLICATEand statistics will be copied from original item and shown on UI in the new one. -
recordings/test runs which are not in the original polling request will be
SKIPPEDin the new one.
Since Figaf Tool 2305 polling will not be started if there is already a started polling requests with same objects in progress or polling has been already completed for all selected objects.
If you have polled almost all messages and you just need to poll small number of messages to finish testing, you can enable option
Ignore messages cache during pollingon Application configuration page. When this option is enabled, already polled messages won’t be skipped. It affects performance when the amount of messages is large and you just need to poll small number to finish testing. -
-
View last polling result clicking on
Open Last Polling Result.Open Last Polling Resultbutton is available after polling remote data and until page is refreshed. -
Do the following actions clicking on
and choosing corresponding option:-
Rerunreruns required test case. -
View testcaseopens 'Test Case Details' page. -
Download report.Report type can be one of 2 types:
-
xlsxreport:-
Contains information about test run/test suite run results.
-
By default only failed results are added to
xlsxreport. If you want to change this behavior, go toConfiguration → Applicationpage and enableShow successful messages in the test suite’s reportproperty.
-
-
ziparchive with 3csvreports:-
test-run-metadata.csv- contains common information about test run/test suite run (e.g. test object, counters for success/error/unexpected/not/compared/unfinished test run/test suite run results). -
diff-report.csv- contains diff report for test run/test suite run. -
processed-messages-report.csv- contains processed messages report for test run/test suite run.
-
The report type is defined from
Use bundled CSV report generation strategyproperty configured on Application configuration page. If it’s true, the report type iszip, otherwise, it’sxlsx. -
-
View resultsopens Test Run Details page.
-
-
-
Menu options:
-
Compare resultsfor selected test runs. -
Open Used Mapping Configurationopens used mapping configuration. -
Test suite run reportdownloads test suite run report.Report type can be one of 2 types:
-
xlsxreport:-
Contains information about test run/test suite run results.
-
By default only failed results are added to
xlsxreport. If you want to change this behavior, go toConfiguration → Applicationpage and enableShow successful messages in the test suite’s reportproperty.
-
-
ziparchive with 3csvreports:-
test-run-metadata.csv- contains common information about test run/test suite run (e.g. test object, counters for success/error/unexpected/not/compared/unfinished test run/test suite run results). -
diff-report.csv- contains diff report for test run/test suite run. -
processed-messages-report.csv- contains processed messages report for test run/test suite run.
-
The report type is defined from
Use bundled CSV report generation strategyproperty configured on Application configuration page. If it’s true, the report type iszip, otherwise, it’sxlsx. -
-
Export to CSVdownloads test runs CSV report. -
Extract related source data as a test casecopies message groups related to filtered (not successful or not compared) test run results from all test runs to the new test case. -
Rerunreruns selected test runs.
-
7. Test Cases page
Test Cases page shows all existing test cases and looks:
On this page you can:
-
View Agent Object clicking on
Agent object. It opens Integration Object Details page. -
View Test Objects clicking on corresponding
button and selecting the object. It opens Integration Object Details page. -
View Test Suites clicking on corresponding
button and selecting the test suite. It opens Test Suite page. -
Run selected test case(s) clicking on
or
buttons:-
Runuses static links to test objects defined in the test case. -
Run onresolves these links dynamically at the moment of test run. It is possible to see how these links are resolved throughCurrent Mapping Configurationbutton - it opens 'Mapping Configuration' dialog box:
There are Agent Objects (parent nodes) and Test Objects (child nodes) in opened dialog box.
-
-
Click on table’s
button and choose:-
Create Test Caseopens Test case creation page. -
Merge Test Casesmerges two selected test cases' messages. It removes previous test cases run results.You should select two test cases with the same Agent Object, Message and Partner. -
Add to test suiteadds selected test case(s) to new or existing test suite. It opens 'Create Test Suite' dialog box:
You can choose to create new test suite or to use existing one. If you enable
Open Test Suite’s page after creationoption, Test Suite page will be opened after saving. -
Trim testsremoves messages from selected test case(s). It keeps number of inbound messages equals to the value ofHow many messages to keep in the test case?property of 'Trim Test Cases' dialog box:
-
Deleteremoves selected test case(s). -
Cleanremoves all test run results and reports of selected test case(s).
-
-
View Details of the test case clicking on it’s
button. It opens Test Case Details page.
8. Test Case page
Test Case Details page includes several tabs with various data related to the test suite:
-
Test Case Informationtab shows general information about the test case, linked test objects and test suites. This tab looks:
On this tab you can:
-
Edit the test case title, message or partner (to start editing click on
button). To save changes click on
button, to reset -
. -
View Agent Object clicking on
Agent Object Title. It opens Integration Object Details page. -
View Test Objects clicking on required Test Object Title. It opens Integration Object Details page.
-
View Test Suites that the test case is linked to clicking on required Test Suite Title. It opens Test Suite page.
-
Add or remove Test Object(s) clicking on
or
buttons respectively.Test Objects are only from the same platform as Agent Object can be added. -
Add the test case to new or existing Test Suite or remove the test case from Test Suite(s) clicking on
or
buttons respectively.
-
-
Messagestab shows inbound/outbound messages in the test case and looks differently for PRO and CPI Agent Objects:-
For PRO Agent Objects:
The following actions can be executed for both PRO and CPI Agent Objects:
-
Calculate ordering numberscalculates ordering numbers based on configuration on Recording Configuration tab of related integration object or suitable Shared Configuration. -
Calculate file type and encodingcalculates messages file types and encoding based on Encoding Determination configuration if encoding determination rules exist or standard algorithm if they don’t exist. -
Options available in the message’s
button:-
View/Edit messageopens 'Message Details' page. -
Delete message groupremoves all messages with the same 'Inb. Group' as the one that the option selected for. It’s possible to delete only message or delete messages and related test run results (reports will be rebuilt in this case). -
Copy message groupcopies all messages (with the same 'Inb. Group' as the one that the option selected for) to selected test case(s). -
Change interface metadataopens 'Change message interface metadata' dialog box:
You can configure required changes here.
Change messages globallyapplies changes to all messages with 'Source Message Interface Metadata'. -
Downloaddownloads message xml file for PRO and file without extension for CPI.
-
-
-
For CPI Agent Objects:
The following actions can be executed for CPI Agent Objects:
-
Generate groovy scripts test datagenerates groovy scripts (see Groovy scripts unit testing). -
Options available in the message’s
button:-
Build groovy scriptgenerates groovy script (see Groovy scripts unit testing). -
Generate test data for current messagegenerates json.
-
-
-
-
Messages Anonymizationtab helps to configure anonymized test case based on current test case and looks:
It works only for XML messages. On this tab you can:
-
Add message mappings selecting
Message group idand clicking twice on the element you want to anonymize:
You also can add message mappings clicking on
button in Applied mappingstable. In such case you have to defineElement pathby yourself.It opens 'Create mapping' dialog box:
Select desired function:
-
Multiply by random value from rangemultiplies source values by a random number from the range defined by values ofFromandtoproperties. If you want to get integers, setCount of number after a decimal pointproperty value as 0, otherwise, define desired value. Example with filled properties:
To test function enter
Test valueand click onTest function. -
Generate value from templategenerates values fromTemplateproperty value. You can define template using special characters ('#' for number, '?' for uppercased character, '*' for lowcased character, e.g.###- template for 3 random numbers) or anonymization variables defined in Anonymization variables, e.g.${firstname} ${lastname}. Example with filled properties:
To test function click on
Test function.
-
-
Edit message mapping clicking on
button in Applied mappingstable. -
Delete message mapping clicking on
button in Applied mappingstable. -
Create new test case with anonymized data clicking on
Clone anonymized test casebutton. It opens 'Clone anonymized test case' dialog box:
After submitting the dialog new test case will be created.
-
-
Testing Resultstab shows the test case run results and looks:
On this tab you can:
-
View Test Object clicking on 'Test Object'. It opens Integration Object Details page.
-
Run the test case clicking on
or
buttons:-
Runuses static links to test objects defined in the test case. -
Run onresolves these links dynamically at the moment of test run. It is possible to see how these links are resolved throughCurrent Mapping Configurationbutton - it opens 'Mapping Configuration' dialog box:
There are Agent Objects (parent nodes) and Test Objects (child nodes) in opened dialog box.
-
-
Select test case run result(s) and:
-
Poll remote messagesandOpen Last Polling Result.Since Figaf Tool 2.15 automatic polling is added for SAP CPI
Agents. Once the messages have been run successfully, automatic polling is started.Since Figaf Tool 2.15.2 active polling statistics can be viewed. If there is polling in progress for the integration objects and you open another poll remote data dialog, then
-
recordings/test runs which are in both polling requests will be marked as
SKIPPED_AS_DUPLICATEand statistics will be copied from original item and shown on UI in the new one. -
recordings/test runs which are not in the original polling request will be
SKIPPEDin the new one.
Since Figaf Tool 2305 polling will not be started if there is already a started polling requests with same objects in progress or polling has been already completed for all selected objects.
If you have polled almost all messages and you just need to poll small number of messages to finish testing, you can enable option
Ignore messages cache during pollingon Application configuration page. When this option is enabled, already polled messages won’t be skipped. It affects performance when the amount of messages is large and you just need to poll small number to finish testing.Open Last Polling Resultbutton is available after polling remote data and until page is refreshed. -
-
Compare results clicking on
.The option reprocesses comparison and report generation asynchronously. It makes sense to execute the option once you have configured a new "ignore rule". -
Delete the result(s) clicking on
.
-
-
The options available in result’s
button:-
Download report.Report type can be one of 2 types:
-
xlsxreport:-
Contains information about test run/test suite run results.
-
By default only failed results are added to
xlsxreport. If you want to change this behavior, go toConfiguration → Applicationpage and enableShow successful messages in the test suite’s reportproperty.
-
-
ziparchive with 3csvreports:-
test-run-metadata.csv- contains common information about test run/test suite run (e.g. test object, counters for success/error/unexpected/not/compared/unfinished test run/test suite run results). -
diff-report.csv- contains diff report for test run/test suite run. -
processed-messages-report.csv- contains processed messages report for test run/test suite run.
-
The report type is defined from
Use bundled CSV report generation strategyproperty configured on Application configuration page. If it’s true, the report type iszip, otherwise, it’sxlsx. -
-
View resultsopens Test Run Details page. -
Mark as Test Casecreates new test case from chosen groups of testing results. Testing results become expected messages in the new test case. -
Update Test Case using Test Run Results. It replaces corresponding messages in the current test case by messages of testing result. There are 2 strategies available:
-
Drop all old messages- all old messages will be deleted from the test case and messages of testing result will be copied. -
Replace only messages from the test run- only corresponding messages in the current test case will be replaced by messages of testing result. So if the test case has some messages which aren’t used during comparison, these messages will not be deleted.
-
-
-
9. Test Runs page
Test Runs page shows the test cases that were run in period defined in Running Date filter and looks:
On this page you can:
-
Poll remote messages.
Open Last Polling Resultbutton is available after polling remote data and until page is refreshed. -
Compare results clicking on
.The option reprocesses comparison and report generation asynchronously. It makes sense to execute the option once you have configured a new "ignore rule". -
View Agent Object clicking on 'Agent Object'. It opens Integration Object Details page.
-
View Test Object clicking on 'Test Object'. It opens Integration Object Details page.
-
The options available in run’s
button:-
Download report.Report type can be one of 2 types:
-
xlsxreport:-
Contains information about test run/test suite run results.
-
By default only failed results are added to
xlsxreport. If you want to change this behavior, go toConfiguration → Applicationpage and enableShow successful messages in the test suite’s reportproperty.
-
-
ziparchive with 3csvreports:-
test-run-metadata.csv- contains common information about test run/test suite run (e.g. test object, counters for success/error/unexpected/not/compared/unfinished test run/test suite run results). -
diff-report.csv- contains diff report for test run/test suite run. -
processed-messages-report.csv- contains processed messages report for test run/test suite run.
-
The report type is defined from
Use bundled CSV report generation strategyproperty configured on Application configuration page. If it’s true, the report type iszip, otherwise, it’sxlsx. -
-
View resultsopens Test Run Details page.
-
10. Test Run Details page
Test Run Details page looks:
On this page you can:
-
Select data
Perspectivefor the table:-
Tree Tableis default value for all regression test cases except aggregation ones (for baseline and aggregation test casesTree Tablemode is disabled). This table has a merged functionality of Message runs tab and Results tab.Tree Tablerepresents 2 tables: old Test Run Results table (i.e.Flat Tablein the new terms) and Message Runs table on the other tab.
It has full pagination, filtering and sorting. Sorting is a bit tricky because of pagination: if you sort by column belonging to a Message Run, it should work naturally, just like in all other tables. But if you sort by Test Run Result columns, Test Run Results will be sorted in scope of each Message Run.
-
Flat Tableis the old Test Run Results table:
-
-
Poll remote messages.
Open Last Polling Resultbutton is available after polling remote data and until page is refreshed. -
Rerun test case if it’s run in scope of test suite run.
-
Compare results clicking on
.The option reprocesses comparison and report generation asynchronously. It makes sense to execute the option once you have configured a new "ignore rule". If comparison fails for a particular test run result, you can view error details clicking on
.
-
Open related test case. It opens Test Case Details page.
-
Open related test suite run. It opens Test Suite Run page. The link is shown only if you run test suite linked with related test case.
-
Open Agent and Test Objects.
-
View ignore lists (
Applied items ignore expressionsandApplied Message properties ignore expressions). IT shows ignore lists configured on Test Configuration tab of Integration Object page. -
Open actual test configuration. It opens Test Configuration tab of Integration Object page.
-
View used comparison configurations. It opens Comparison Configuration dialog.
-
Execute actions available in run’s
button:-
Download report.
Report type can be one of 2 types:
-
xlsxreport:-
Contains information about test run/test suite run results.
-
By default only failed results are added to
xlsxreport. If you want to change this behavior, go toConfiguration → Applicationpage and enableShow successful messages in the test suite’s reportproperty.
-
-
ziparchive with 3csvreports:-
test-run-metadata.csv- contains common information about test run/test suite run (e.g. test object, counters for success/error/unexpected/not/compared/unfinished test run/test suite run results). -
diff-report.csv- contains diff report for test run/test suite run. -
processed-messages-report.csv- contains processed messages report for test run/test suite run.
-
The report type is defined from
Use bundled CSV report generation strategyproperty configured on Application configuration page. If it’s true, the report type iszip, otherwise, it’sxlsx. -
-
Mark selected message group as Test Case. It creates new test case from chosen groups of testing results. Testing results become expected messages in the new test case.
-
Update Test Case using Test Run Results. It replaces corresponding messages in the current test case by chosen messages of testing result. There are 2 strategies available:
-
Drop all old messages- all old messages will be deleted from the test case and chosen messages of testing result will be copied. -
Replace only selected messages- only corresponding messages in the current test case will be replaced by chosen messages of testing result.
-
-
-
Execute actions available in message’s
button:-
View result. It opens
Test Run Resultpage. -
Download inbound message, expected result, actual result.
-
Build groovy script (see Groovy scripts unit testing).
-
Diffs opens
Differencesdialog box. Here you can add items (click twice on the required item) and message properties (click on the required message property) to ignore list.Add items and message properties to ignore list once.
-
Binary diffs opens
Differencesdialog box (see above) with binary comparison. Current configurations are used for this comparison type. -
Diff2Html diffs opens Diff2Html comparison dialog. Current configurations are used for this comparison type.
-
Ignore step (CPI) adds current step to ignore list.
-
Browse related messages (PRO) is runtime viewer for related message monitoring entries. It looks for message monitoring entries on the PI system by the currently persisted PI message id (used in id and refId filters). For not received entries we know only the id of the sent message, then once the message is received it’s overwritten by a related AFD message id.
From the Related messages dialog it’s possible to open PI message page on SAP system and browse message log in the separate dialog:
Use these options to analyze the root cause of the UNFINISHED state of the result to check what’s going on on PI system.
-
Open message monitor (PRO).
-
Open message monitor via dispatcher (PRO).
-
-
Check messages statuses (whether messages have been sent successfully or some error occurred):
11. Shared Configuration page
Shared Configuration page contains shared configurations and looks:
On this page you can:
-
Create shared configuration clicking on
button. It opens Create shared configuration:
-
Titleof shared configuration. Should be unique. -
Platformfor which shared configuration should be configured. -
Useis the way which should be used during shared configuration determination:Messages/PartnersorTest Cases.-
Messagesis messages list. for which the shared configuration is applied. -
Partnersis partners list. for which the shared configuration. -
Test Casesis test cases list. This configuration can be used if you want to run different test cases with different configurations.
-
-
Integration Objectsis integration objects list. All integration objects are from the same agent.Shared configuration is applied to any combinations of Messages,Partners,Test Cases, andIntegration Objectsvalues during comparison. -
Comparison Typedefines used comparison strategy. Most of the timeAUTOis fine. -
EDI functional group correlation key pathdefines path to data element or component element which can be used as a group identifier during comparison. Define a value if there are several functional groups in EDI outbound messages. The path format is described below. -
EDI message correlation key pathdefines path to data element or component element which can be used as a message identifier during comparison. Define a value if there are several messages in EDI outbound messages. Don’t define a value if there are several groups with 1 message in each group.EDI functional group correlation key pathandEDI message correlation key pathmust be configured in the special format:<segment prefix><data element index and options><component element index (optional)>
where:
-
<segment prefix>- shouldn’t contain[or], for example,UNE,DTM+137. -
<data element index and options>:[<standalone index>]or[<standalone index>|<option>]. -
<component element index>: for example,1.-
<standalone index>: for example,1 -
Available option:
-
substring- the option defines a substring rule for group/message correlation id path in EDI comparison. The option has the following syntax:substring(<characterIndex>|<characterIndex>), wherecharacterIndexis index of the first or last character of substring that should be used as an identifier, could have positive or negative value:-
substring(-2|),substring(-2), andsubstring(-2|0)uses 2 last characters, e.g.somestriNG. -
substring(-5|-1)uses 4 characters starting from the fifth character from the end, e.g.somesTRINg. -
substring(1|-1)uses all characters starting from the second and ending with penultimate, e.g.sOMESTRINg. -
substring(-1|1)uses the first and the last characters, e.g.SomestrinG.
-
-
-
Examples:
-
Only segment prefix:
UNE,DTM+137. -
Segment prefix with data element index:
UNH[0],IMD[1]. -
Segment prefix with data element index and option:
UNE[1|substring(-2|)]. -
Segment prefix with data element index and component element index:
UNB[2][4].
-
-
Item Ignoredefines XPath expressions (divided by semicolon) to ignore, e.g. '/Invoice/Date'.For EDI type you can configure items in the special format
<segment prefix><data element indexes and options><component element indexes (optional)>+<data element indexes and options><component element indexes (optional)>+<data element indexes and options><component element indexes (optional)>+...
where:
-
<segment prefix>- shouldn’t contain[or], for example,UNE,DTM+137. -
<data element indexes and options>:[<standalone/ranged index>, …, <standalone/ranged index>|<option1>, <option2>] -
<component element indexes>:[<standalone/ranged index>, …, <standalone/ranged index>]-
<standalone index>: for example,1 -
<ranged index>: for example,0-4 -
Available options:
-
empty-missing -
java formatting which matches regex
%[\\d.]*([dfeg]{1})$, for example:%.3f,%.6e.
-
-
Examples:
-
Only segment prefix:
UNE,DTM+137. -
Segment prefix with data element indexes:
UNH[0],IMD[0-2],IMD[0,2]. -
Segment prefix with data element indexes and options and component element indexes:
UNB[0][1|empty-missing][0][2-5,7-8,9-10][4,5].
For XML type you can configure items in the special format
<XPath><options>
where:
-
<XPath>- standard XPath expression, for example,//targetElem. -
<options>:{{<option1>,<option2>}}-
Available options:
-
empty-missing -
java formatting which matches regex
%[\\d.]*([dfeg]{1})$, for example:%.3f,%.6e. -
@<xml_attribute>which configures ignoring of some particular xml attribute differences.
-
-
Examples:
-
Only XPath expression:
//targetElem. -
XPath expression with additional ignoring options:
/targetElem{empty-missing,%.3f}. -
XML attribute ignoring:
/targetElem/@id.
-
-
Message Properties Ignoredefines dynamic properties (divided by semicolon) to ignore, e.g. 'X-Vcap-Request-Id'. If you have a lot of dynamic properties with the same prefix (e.g.DynamicProperty1andDynamicProperty2), you can define just common prefix (DynamicProperty) to ignore all dynamic properties with this prefix during comparison.gItem IgnoreandMessage Properties Ignoreproperties can be configured during result comparison in Differences dialog that can be opened from Test Run Details page. -
Order Expressionsdefines how to order messages. -
Collection Item Identification Expressions(only for XML type) defines rules to compare a collection with the different order of elements in the expected and actual messages. This setting should be configured in the following format:<path to the collection>-><relative path to the identification element>
If path to your collection is
/example/collectionand path to element identified collection idexample/collection/object/id, thenCollection Item Identification Expressionsis/example/collection->object/id. -
Use alphanumeric order numberenables calculation of order number as a string instead of a number. -
Don’t calculate order number for a single entry- if true, order number is set to1(if there are 1 inbound and 1 outbound messages). -
Use expected message encoding during comparison. Enable if you want to forcibly use encoding from expected message instead of dynamically determined encoding from actual result. Have effect only for the following message types: EDIFACT, X12, TEXT. -
Ignore XML attributesconfigures XML attributes ignoring during comparison. -
XML attributes comparisonconfigures separate XML attributes comparison. -
Trim whitespaces before XML comparisonenables ignoring whitespaces during comparison of XML payloads. By default, option is enabled. -
Validate receiver integration(PRO only) - if true, AFD status will be compared with the expected valuesuccess. If they are not equal, it will be shown onDifferencesdialog as a dynamic configuration propertyhttp://figaf.com/testing/virtual-property|MessageStatus. The feature works only forSAP Log moduleandICO Logging. -
Define additional dynamic properties to send with the test message(PRO only) enables configuration of additional dynamic properties. -
Test with mock data(CPI only) enables testing with mock data. Linked test cases are run with replacing real receivers responses by previously recorded responses (from corresponding receivers) on Agent Object. Figaf Tool clones original test object (IFlow) with replacing sender and receiver channels to HTTPS where receiver channel endpoints are special Figaf Tool API. To use this mocking service you need to have configured Figaf Tool to use the cloud connector (see cloud connector properties configured in run command). -
Use only finishing run steps(CPI only) enables functionality when only the last messages in a test case will be compared. If true,Run steps selection strategyandRun steps filtercan’t be set. -
Run steps selection strategy(CPI only) andRun steps filter(CPI only) configure steps which should be tested. Since 2208.1 it’s possible to configure the steps in BPMN Model with viewer dialog clicking on
button.If it’s IFlow Chain object, it’s possible to configure Run steps filterfor each IFlow used in IFlow Chain separately.
-
-
Edit/View shared configuration clicking on its
or
button. -
Delete selected shared configurations.
-
View messages, partners, test cases, and integration objects lists clicking on corresponding
button.