Anonymous_User Absent Member.
Absent Member.
388 views

Validator SAP Example


We don't have a native SAP connector. However, here is an example you
can use to test SAP. This is a real example we are using at a customer
site but has been scrubbed so I could share it with you all.

The basics of this are the following:

- Create an iDoc from SAP you can reuse. (just take a test idoc you've
used before and you can change the names, ids, etc. to make it unique)

The test will look like this:
- Use winscp (or any other scp command) to copy it to the IDM server
where the SAP driver is running via the execute connector.
- Let the driver process the iDoc as normal.
- Assert the various user objects, p objects, etc. are where they should
be in eDir.

This will allow you to have almost full test coverage of SAP. The only
thing I know of so far you wouldn't be able to test is the SAP logic
that creates the iDoc. But this would still if you 90% plus coverage
and is pretty easy to implement.

Here is a link to the sample test and sample batch files we used:

'SAP-Validator-Example' (http://tinyurl.com/popltoc)

This same concept can be used for testing Google drivers and others.

Let me know if you have any questions.


--
kgividen
------------------------------------------------------------------------
kgividen's Profile: https://forums.netiq.com/member.php?userid=4528
View this thread: https://forums.netiq.com/showthread.php?t=47819

Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.