-
Notifications
You must be signed in to change notification settings - Fork 44
Define ISO Server
Raghavendra Balgi edited this page Apr 20, 2020
·
2 revisions
Please note that the ISO server is very limited in terms of functionality and something that I developed to test the Isosim client functions. Hopefully someday I'll add more features to it. `
In this below example we define a server 'MyTestIsoServer' using spec 'Iso8583-MiniSpec' which will listen at port 5656. This server will only respond to messages of MTI 1100 (Authorization) messages i.e first four bytes equal '\x31313030' (You can further add more message selectors for 1420, 1200 etc)
- For messages where amount equals 400, the server will respond with a action code 000 and approval code ISO123
- For messages where amount is less than 600, the server will respond with action code 100 (Please note that conditions are processed in order, so if amount = 400, the condition amount < 600 is not evaluated)
- The 'Any' condition is a default condition which will respond with action code 200 when there are no other matches - Please note that Amount field has to be present in the message
Note: While I've missed it above, you also need to set Message Type to 1110 as a 'Set Field Value' in each Processing Condition above
- Introduction
- Building
- Up and Running
- Specs
- Servers
- Using the UI
- Test Case Management
- Miscellenous