Enhanced
Enhanced
Simulator
Quick Start Guide
15 Dec 2022
Contents
Contents
Contents ......................................................................................................... 2
Chapter 7 How to add and set up a test Card for Issuer Testing ........ 24
Adding a card in CardList .............................................................................................................. 25
Procedure............................................................................................................................................ 25
Link card to the transaction ......................................................................................................... 28
Procedure............................................................................................................................................ 28
Procedure............................................................................................................................................ 78
Chapter 19 FAQ’s...................................................................................... 91
SQL Data Base Usage and Purpose........................................................................................... 91
How to set a delay in an Acquirer Testing in Response Profiles ........................................ 92
What is difference between Pause command and Delay option ...................................... 93
How can we resolve, if facing issue with Simulator tool alignment or how to
configure the simulator application alignments correctly (right-handed to left-
handed setting) ................................................................................................................................ 93
Notices ......................................................................................................... 96
Trademarks ................................................................................................. 96
Disclaimer .................................................................................................... 96
Translation .................................................................................................. 96
Test Mode
Enhanced
Legacy MAS/MDFS Professional
Simulator Test Mode Simulator Project Description
APS Host Testing Acquirer Switch Simulator will act as Issuer|Network for
Mode Acquirer Host
IPS Host Testing Issuer Switch Simulator will act as Acquirer|Network for
Mode Issuer Host
APS Stand Alone Acquirer Processor Simulator will act as Acquirer only (Not
recommended for customers)
IPS Stand Alone Issuer Processor Simulator will act as Issuer only (Not
recommended for customers)
APSTERMINALSTREA Card Based (This is only for internal testing and Not
MTCPIP Acquirer Testing recommended for customers)
Allows the user to connect the Enhanced
Simulator to the MasterCard Terminal
Simulator. Refer link for more information
(accessible to Mastercard Internal only)
APSTERMINALSTREA Card Based Issuer (This is for Customers Issuer Testing) Allows
MTCPIP Testing the user (Issuers) to connect the Enhanced
Simulator to the MasterCard Terminal
Simulator.
Refer Chapter “Mastercard Terminal
Simulator Connectivity For Card Based Issuer
Testing" for more information.
NOTE:
• Acquirer customer should use Acquirer Switch Project for Acquirer testing.
• Issuer customer should use Issuer Switch Project for Issuer testing.
• Customers are not recommended to use ‘Acquirer Processor’, ‘Issuer Processor’ and ‘Card
Based Acquirer Testing’ Projects.
Naming Difference
Similar Tabs
‘Test Preparation’, ‘Test Monitor’, and ‘Test Similar to: ‘Test Preparation’, ‘Test
Results’ Execution’, and ‘Log Data’ respectively
Test Preparation > Transaction Profiles Similar to: Test Preparation > TRIC > Select Specific
Test Case > Right pane ‘Messages’ > Send Messages
for
MAS
and open the .xts(e.g. ‘MAS Acquirer Switch MAS 22Q4.xts’) file from your created
project.
5. Navigate to Simulators > Maintain Simulators, then expand Connection Details and
select the communication node within the tree:
NOTE: Parameters are shown as read-only if the Simulator is connected. To edit these values,
you must first disconnect the Simulator via the toolbar controls.
7. Connecting your host to the Simulator ‘MAS / MDFS Acquirer Switch’ uses the IP of
the machine on which the Simulator is running (localhost) and port 2000. Note that
you can modify the Port to match with your host to build a connection. The Acquirer
Switch is the server, and your host is the client. You will need to configure the same
IP and Port to the Host to build a connection.
NOTE: The port should be unique or different in each instance of the simulator (legacy simulator as
well as enhanced simulator). It is recommended that MAS Acquirer Switch should use a
different port than MDFS Acquirer Switch. Please note that Simulator always holds the port
(e.g. 2222), so if you are using the same port (2222) in Enhanced simulator as used in legacy
simulator (2222), then you may face connection issue. To resolve this, give any different port
(e.g. 3333) in the legacy simulator and try connecting, this will unhold/free the previous port (2222)
and now user can use port (2222) in Enhanced simulator as the port (2222) is available to use.
8. Clicking on the connection icon
on the Switch toolbar will establish the connection between the ‘MAS / MDFS
Acquirer Switch’ and your Host.
©2022 Mastercard. Proprietary. All rights reserved.
Enhanced Professional Simulator —Quick Start Guide • 15 Dec 2022 15
9. To view basic information about connection toolbar.
4. Once the project is created, user can any time open it from File > Open and click on “MAS /
MDFS Issuer Switch” project. If the project is not listed in the ‘Open’ list, then click on
and open the .xts(e.g. ‘MAS Issuer Switch MAS 22Q4.xts’) file from your created project.
©2022 Mastercard. Proprietary. All rights reserved.
Enhanced Professional Simulator —Quick Start Guide • 15 Dec 2022 18
5. Navigate to Simulators > Maintain Simulators, then expand Connection Details and
select the communication node within the tree:
7. Connecting your host to the Simulator ‘MAS / MDFS Issuer Switch’ uses the IP of
the machine on which Simulator is running (localhost) and port 2000. Note that you
can modify the Port to match with your host to build connection. The Issuer Switch
is the server, and your host is the client. You will need to configure the same IP and
Port to the Host to build a connection.
NOTE: The port should be unique or different in each instance of the simulator (legacy simulator as
well as enhanced simulator). It is recommended that MAS Acquirer Switch should use a
different port than MDFS Acquirer Switch. Please note that Simulator always holds the port
(e.g. 2222), so if you are using the same port (2222) in Enhanced simulator as used in legacy
simulator (2222), then you may face connection issue. To resolve this, give any different port
(e.g. 3333) in the legacy simulator and try connecting, this will unhold/free the previous port (2222)
and now user can use port (2222) in Enhanced simulator as the port (2222) is available to use.
8. Clicking on the connection icon
on the Switch toolbar will establish the connection between the ‘MAS / MDFS Issuer
Switch’ and your Host.
9. Basic information about connection toolbar.
4. Customer can use the ‘Copy details from selected project’ option to copy/migrate their
existing project data from the selected project to new project.
5. The ‘Copy details from selected project’ option will copy/migrate the following data from
their selected project to this new project.
Procedure
1. In an Issuer Switch project, navigate to the Simulators > Simulation Data.
Folder' option .
3. Then click on 'New Item' and you will get a popup to choose card type.
NOTE: User also can copy the existing card and modify the details.
4. Choose a card type and click on OK.
5. Right click to edit/modify card details, such as making the card default.
Procedure
1. Navigate to ‘Test Preparation’ tab and select an exsisting folder or create a
2. Click on 'New Test Case' to create a new test case or select the
exsisting test case in which you want to link the card.
3. If a new test case iss created using step two, then add the transaction message
of your choice from the ‘Send Message’ list.
8. Modify the data element and its values from ‘Edit Message’ section shown in
above screen.
9. Execute the transaction by navigating to the ‘Test Execution’ tab and select the
test case you intend to execute, then click Run Selected Test Case(s) .
Procedure
1. Navigate to Simulators > Simulation Data.
2. Expand the ‘Crypto Keys (CryptoListInstances)’ folder.
3. Follow steps four through six to create a new crypto key or go to directly to
step seven to use any existing crypto keys.
4. Select a folder in ‘Crypto Keys’ or create a new folder by clicking on 'New
Folder' option .
5. Then click on 'New Item' and choose PIN key set length.
7. Once the Crypto Key is completed, you'll need to configure the same to
acquirer profile ‘Acquirers (AcquirerListInstances)’.
NOTE: Acquirer Profile will be picked up on the biases of ‘Acquirer ID’
which belongs to DE 32 in request message. So, here if DE 32 in MTI
0100 message is ‘123456’ then the respective Acquirer profile with
Acquirer ID match with DE 32 will be used in transaction.
10. You'll need to configure the same keys in your host system to perform the
encryption decryption with matching keys.
Procedure
1. Navigate to the Simulators > Simulation Data.
2. Expand the ‘Crypto Keys (CryptoListInstances)’.
Folder' option .
5. Then click on 'New Item' and choose PIN key set length.
7. Once the Crypto Key is completed, you'll need to configure the same to ‘Issuers
(IssuerListInstances)’.
8. Expand ‘Issuers (IssuerListInstances)’ and select the issuer profile you are using.
10. You'll need to configure the same keys in your host system to perform the
encryption decryption with matching keys.
Procedure
1. Navigate to Simulators > Simulation Data > Expand CustomBINTable.
2. Click on a BIN table from the list or create a new BIN table by clicking on 'New
Item' .
3. The right pane of the display should show the BIN details.
4. Setup the BIN range with RangeMin and RangeMax in ‘Criteria’. The cards categories
under the defined BIN range will pick up the data from the respective Bin table.
Procedure
1. Navigate to Simulators > Simulation Data > Expand CardList
2. Click on a chip card from the list or create a new chip card by referring to
Chapter 7: "Adding a card in CardList."
3. The right of the display should show the card details.
Item' .
Procedure
1. In an “Issuer Switch” project, navigate to Test Preparation > Expand 'MAS/
MDFS Test Cases' folder or create a new folder by clicking on 'New Folder'
option .
2. Then click on 'New Test Case' and give it a name and enter.
3. From the right of the screen, select any transaction profile from the Messages
> Send Message and add it to the test case by clicking on ‘Add Transaction’.
Procedure
1. Select a test case you want to edit its data elements.
2. Click to the ‘Send’ message of the selected transaction.
3. Click ‘Edit Message’ and see the data elements and its values in the
transaction.
Procedure
1. Select a test case to add the data elements.
2. Click ‘Send’ of the selected transaction.
3. Click ‘Edit Message.' The lower right panel of the screen shows the option for
‘Valid Elements.’
Note: The ‘Issuer response profiles’ are locked initially and restricted for modification. If
customer wants to do any modification in Mastercard provided test case library
‘IssuerResponseProfile_MAS/MDFS (AcquirerSwitch.tclx)’ then please follow the steps below.
Procedure
3. Once the file is saved, open the same file by clicking on Open Library option. Now the
file is unlocked and will be available with all the modification option enabled.
Note: The ‘Issuer response profiles’ are locked initially and restricted for modification. If
customer want to create their own ‘Issuer response profiles’, please follow the steps below.
Procedure
5. Click on ‘New local library’ on your system and give it a name. E.g. ‘User_IRP.tclx’
8. To get back to the original ‘IssuerResponseProfile_MAS / MDFS’ library, user can use ‘Open
Procedure
1. Once the local library is created by using above steps, click on 'New Folder' option
and then click on ‘New Test Case (Insert)’ and give it name.
2. Then click on ‘Receive Messages’ and see the messages that are expected to receive on
Acquirer Switch project.
3. Select the receive message for which you want to create/trigger an Issuer Response
8. Users need to send the same DE values as above, in transaction request message (E.g.
0100 message) from their Acquirer Host to trigger this Issuer Response Profile/Test case.
9. Now, to add Data Element into the Issuer response profile/Response message. Users need
to click on ‘Send’ Message (E.g. 0110_Authorization_Request_Response) Edit Message.
12. Also, user can just execute the Issuer response profile from tab by clicking
on ‘Run Selected Test Case(s)' button and then the ‘Acquirer Switch’ simulator will
wait for the request message to execute the Issuer response profile and send the
appropriate message in response.
Procedure
1. Navigate to File > Options
2. Click 'On' in 'Crypto Logging' and all crypto activities will be included in the log
data.
Procedure
1. Navigate to ‘Log Data’.
2. Expand ‘Sending Message’ to see the message sending from the Simulator.
4. Expand ‘Parsed Content’ to see the data elements and values parsed in the
transaction message.
Procedure
1. Navigate to ‘Log Data’.
2. Click on 'Export Log' in .xlog format and save it to your local machine.
3. To export the selected logs, select the rows you intend to export.
4. Right click and choose the option in the format you want to export to the logs.
Procedure
1. Navigate to ''Log Data.'
2. Click on 'Open Saved Log,' browse the .xlog file and open.
2.
3. Navigate to the Maintain Simulators Issuer Switch Tcp Server Com Module Port.
Then give a different Port Number to both the instances. Make sure that both the
simulator instances have different port number than each other.
4. Now, user can connect the two different instances from their same or different host
machines by configuring the Ip and port.
5. Please note that same project cannot be open in two different instances.
6. If user wants to use same project (E.g. MAS Issuer Switch MAS 22.Q4) in two different
instance then user can make a copy of the same project from where the project is
saved on their local machine (E.g. Path- C:\Users\<user>\OneDrive -
Mastercard\Documents\Mastercard\MAS 22Q4\Projects) and give it a different
name(E.g MAS Issuer Switch MAS 22Q4 - Copy).
7. In your other instance Navigate to ‘Open’ tab click on and open the
.xts file from your copied project.
8. Also, user can create new project with different name to connect with another host
This section explains the steps needed to conduct Card Based Issuer Testing.
1. Prerequisites
2. Project
Select “Create” a new Card Based Issuer testing project will be created.
Once the project is created (MAS or MDFS), two simulators will be available for the user.
CAD2HOST:
CAD 2 HOST TCP Server COM Module
Issuer Switch
Issuer Switch TCP Client Com Module
Connection
MAS
1. The ‘CAD 2 HOST TCP Server COM Module’ is in a wait state for incoming CAD2Host
messages from the Terminal Simulator on Port 3331
2. The ‘Issuer Switch TCP Client COM Module’ needs to connect with User’s Issuer host and
set to Port 2004 (Please refer Chapter ‘How to connect the Simulator to your host
machine for Issuer Host testing’ for connection)
1. The ‘CAD 2 HOST TCP Server COM Module’ is in a wait state for incoming messages
from the Terminal Simulator the default Port set to 3431 (customers can change the
port to 3331 in MDFS in order to connect to the default Terminal Simulator port)
2. The ‘Issuer Switch TCP Client COM Module’ needs to connect with User’s Issuer host and
set to Port 3001 (Please refer Chapter ‘How to connect the Simulator to your host
machine for Issuer Host testing’ for connection)
Click the Connect option to connect the ‘CAD 2 HOST TCP Server COM Module’ to
Mastercard Terminal Simulator and to connect ‘Issuer Switch TCP Client COM Module’ to
your Issuer Host. The connections should look like the below to begin:
Note: The CAD 2 Host TCP Server Com Module channel will be spinning – waiting on incoming
message from the Terminal Simulator.
The Mastercard Authorization (MAS) or Debit (MDFS) simulators are normally pre-configured
to accept transactions from the Mastercard Terminal Simulator on port 3331(for MAS) and
3431(For MDFS - (customers can change the port to 3331 in MDFS in order to connect to the
default Terminal Simulator port)).
• Open the terminal.txt file stored in the installation\scripts folder
(C:\MasterCard\Terminal Simulator\Scripts by default).
• Under ‘TCPIP Settings’ section change the following values to the IP address of the
©2022 Mastercard. Proprietary. All rights reserved.
Enhanced Professional Simulator —Quick Start Guide 15 Dec 2022 83
machine on which MAS/MDFS is running, and port 3331(for connecting to MAS) and
3431(For connecting to MDFS (customers can change the port to 3331 in MDFS in
order to connect to the default Terminal Simulator port)) unless Enhanced MAS/MDFS
settings have been changed to another value. If the Terminal Simulator is on the same
machine as MAS/MDFS then the IP address can remain at 127.0.0.1
5. Execution
At this stage the user can begin to send messages into the project and running simulators
using the Mastercard Terminal Simulator. Please see the user guide that is provided with the
Terminal Simulator for more details.
Once messages are exchanged, detail of the exchanges can be viewed on the following
interfaces:
Terminal Simulator <> Issuer Switch <> User’s Issuer Host message exchanges can be
viewed on the Log Details tab.
Results of send and received message can be viewed on Log Details tab.
6. Supported Messages
Only messages mentioned in the below tables are in scope for the Card Based Issuer testing
feature:
For MAS
For MDFS
The Migration Utility is available to users to allow them to migrate their legacy MAS/MDFS
user(customized) files/libraries to new Enhanced Simulator supported format. Clients moving
onto the new Enhanced Professional Version of MAS and MDFS will need a utility to convert
their files (Card Profiles, Merchant Profiles, Bin Tables, Response Profiles and Issuer Test
cases) so their custom data can be used on the new platform. The 'Migration Utility User
Guide' is embedded in 'Help' section in the Migration Utility tool to help users to use the tool.
To install the utility simply unzip the downloaded file and open the folder. Right click on the
setup.exe file and select Run as administrator. Open the ‘Mastercard Migration Utility v10’
shortcut.
At the end , only 11 fields (out of 75 possible fields) from the legacy model can be migrated to
Enhanced Simulator - this means that for some bin table entries, 85% of the data may not be
migrated
The Migration Utility does not handle the Semicolon ‘;’ (special character) present in
field value. So, this causes an error when the Semicolon present in field value.
©2022 Mastercard. Proprietary. All rights reserved.
Enhanced Professional Simulator —Quick Start Guide 15 Dec 2022 88
All the ‘Add New Instruction’ from legacy simulator Issuer response profile will not
be able to migrate by Migration Utility.
All fields but request/response instructions are supposed to be converted. Here are
examples of such skipped instructions (Note: the following is copied from the log file
generated when migrating
C:\ProgramData\Mastercard\OTP\Data_MAS_22_4_0\Reference\Credit\IssuerResponse
Profiles_Reference.tre – some other instructions may be skipped):
WARNING : Seqtype reqinstruction is not supported: 'ARQCValidate': 'ARQCValidate' is
skipped.
WARNING : Seqtype reqinstruction is not supported: 'DoNotRespond': 'DoNotRespond' is
skipped.
WARNING : Seqtype reqinstruction is not supported: 'Log': 'Log' is skipped.
©2022 Mastercard. Proprietary. All rights reserved.
Enhanced Professional Simulator —Quick Start Guide 15 Dec 2022 89
WARNING : Seqtype reqinstruction is not supported: 'PINValidate': 'PINValidate' is
skipped.
WARNING : Seqtype reqinstruction is not supported: 'SetMchipKeySetReq':
'SetMchipKeySetReq' is skipped.
WARNING : Seqtype reqinstruction is not supported: 'ValidateCVC3Track1':
'ValidateCVC3Track1' is skipped.
WARNING : Seqtype reqinstruction is not supported: 'ValidateCVC3Track2':
'ValidateCVC3Track2' is skipped.
WARNING : Seqtype respinstruction is not supported: 'ARPCGenerate': 'ARPCGenerate'
is skipped.
WARNING : Seqtype respinstruction is not supported: 'AddCommand': 'AddCommand' is
skipped.
WARNING : Seqtype respinstruction is not supported: 'AddCommand[1]':
'AddCommand[1]' is skipped.
WARNING : Seqtype respinstruction is not supported: 'AddCommand[2]':
'AddCommand[2]' is skipped.
WARNING : Seqtype respinstruction is not supported: 'AddCommand[3]':
'AddCommand[3]' is skipped.
WARNING : Seqtype respinstruction is not supported: 'AddCommand[4]':
'AddCommand[4]' is skipped.
WARNING : Seqtype respinstruction is not supported: 'AddCommand[5]':
'AddCommand[5]' is skipped.
WARNING : Seqtype respinstruction is not supported: 'AddCommand[6]':
'AddCommand[6]' is skipped.
WARNING : Seqtype respinstruction is not supported: 'AddCommand[7]':
'AddCommand[7]' is skipped.
WARNING : Seqtype respinstruction is not supported: 'AddTag': 'AddTag' is skipped
The purpose of using SQL local dB is to store test logs data and recall this data in a
performant manner versus XML stored on disk. As you are aware, log files can be huge, and
this was a conscious design decision in the best interest of system performance. SQL localdb is
program embedded and cannot be split, removed nor called from an API.
3. Can anyone outside of the DB host connect to this SQL database using connection
string/auth?
1. No, Local DB does not accept remote connections
2. Additionally
The answer to question two, explains why we are getting SQL issues, where Admin is
installing this on behalf the other user
This also means that it is more secure as only the user on that profile can connect to the
specific DB, which makes it more secure.
4. What is the data used for & should this DB be backed up?
It used for logging and no need for backup.
5. Can you tell whether the SQL Server required?
Yes, this uses SQL Server Express (local DB). This is a cut down version of SQL server (a
light database)
©2022 Mastercard. Proprietary. All rights reserved.
Enhanced Professional Simulator —Quick Start Guide 15 Dec 2022 91
6. if Yes, then - can it be deployed outside the local system?
No, Is this required???
7. If it can be deployed outside the local system, then can we use the most recent version of
SQL Server instead of the outdated 2014 version?
8. Can a SQL server Enterprise Edition be used instead of LocalDB?
No- the version or product of database can not be changed or selected by the person
installing the application.
9. Can the latest version of SQL server be used?
The customer / installer cannot choose the version. It is on the roadmap for FIS to update
the version used, but dates are unavailable at this time for this work.
The database installed does not permanently hold any important information – it only is
there to hold temporary data that we parse from the log to then have faster access and
fast query capabilities. If this explains to the client how it’s used and that it doesn’t hold
any permanent information.
10. Will this be upgraded to SQL 2019?
Yes, we are in the process of upgrading it to the latest version of SQL and will be available
soon.
5. Once you add a delay you will see this in your test:
How can we resolve, if facing issue with Simulator tool alignment or how to configure the
simulator application alignments correctly (right-handed to left-handed setting)
Proprietary Rights
The information contained in this document is proprietary and confidential to
Mastercard International Incorporated, one or more of its affiliated entities
(collectively “Mastercard”), or both.
This material may not be duplicated, published, or disclosed, in whole or in part,
without the prior written permission of Mastercard.
Trademarks
Trademark notices and symbols used in this document reflect the registration
status of Mastercard trademarks in the United States. Consult with the Global
Customer Service team or the Mastercard Law Department for the registration
status of particular product, program, or service names outside the United States.
All third-party product and service names are trademarks or registered
trademarks of their respective owners.
Disclaimer
Mastercard makes no representations or warranties of any kind, express or implied,
with respect to the contents of this document. Without limitation, Mastercard
specifically disclaims all representations and warranties with respect to this
document and any intellectual property rights subsisting therein or any part
thereof, including but not limited to any and all implied warranties of title, non-
infringement, or suitability for any purpose (whether or not Mastercard has been
advised, has reason to know, or is otherwise in fact aware of any information) or
achievement of any particular result.
Translation
A translation of any Mastercard manual, bulletin, release, or other Mastercard
document into a language other than English is intended solely as a convenience to
Mastercard customers. Mastercard provides any translated document to its
customers “AS IS” and makes no representations or warranties of any kind with
respect to the translated document, including, but not limited to, its accuracy or
reliability. In no event shall Mastercard be liable for any damages resulting from
reliance on any translated document. The English version of any Mastercard
document will take precedence over any translated version in any legal proceeding.