infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Testing file .dat how or where do i create one
System
Originally posted by gricelda lopez
hello, i'm trying to test a xlate, it requires a .dat file of course
and im not sure where would i go just to create one.
any help is appreciated
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Gricelda,
Is this an inbound file you need?
You could use an editor.
Another technique I have used is to use the Xlate itself.
What I do is to build all the fields by COPYing literals to the fields, then I run the tester and when I have everything the way I want it I save the output from the tester to a file.
System
Originally posted by gricelda lopez
Thank you Jim.. I didnt know i could use the editor. Will do that and test away....thanks!!!!
RobertKersemakers
Hmmm... A bit weird to create your own inbound testing file, no? The sending party/application should supply you with one or more test messages.
Of course making your own test message will work if the sending party can't (immediately) provide you with messages. But you will make assumptions that may not hold up.
Jim Kosloskey
Robert,
It is not normal however it happens every so often.
I don't worry too much about making false assumptions since I don't really start any configuration until we are well along in a very detailed integration specification.
At the point where I am satisfied the structure is confirmed, I can build an Xlate that will handle most everything (including iterations).
Most of the time when we are that point, the source system can provide messages I can test with - but not always.
So now I use the configuration I built based on the spec and an Xlate to build to that configuration. I save the output of the Xlate tester to a file.
The I build the Xlate that is supposed to take the source messages and create the receiving messages and I test that.
I can vary the data sufficiently to test most of the construct parsing and some of the other logic as well. By the time the source system delivers messages I am well on my way.
I used this techniques successfully recently with the UHC 278 project. UHC in their test environment was not able to provide any 278 Results but I needed to be relatively sure I could handle their specified result sets completely.
By using the Xlate trick I was able to have that so fully tested by the time we rolled into production that there were only a couple of issues.
The key is to have detailed specifications created as a result of anlaysis (not relying on the vendor specifications which we all know is full of half truths or just plain errors).