Scenario 1. Successful
- In EAM, on the Admin Console tab, start the profile.
- Copy the contents of the folder ${XESProfileConfig}/sample_data/scenarios/1.HappyPath to ${XESWorkspace}/test-data/inbound.
- Go to the folder ${XESWorkspace}/test-data/outbound/associatedSurgeons to view the resulting file healthFlorida.dat.
Scenario 2. List Error
This scenario illustrates a case when the list of files that need to be downloaded from the FTP server could not be retrieved.
- Ensure that XESManager is up and running.
- In EAM, on the Admin Console tab, ensure that the profile is running.
- Copy the contents of the folder ${XESProfileConfig}/sample_data/scenarios/2.ListError to ${XESWorkspace}/test-data/inbound.
- In XESManager, on the top menu, click
, and then click Data Storage Monitoring.
- In Server URL, from the drop-down menu, select jdbc:h2:file:${XESWorkspace}/DS/data;AUTO_SERVER=TRUE
- Click Connect & Start.
- Select Live Items and click Search to see one record with the following path:
- IncompleteTriggerSessions – the session that was not completed
Scenario 3. File Download Error
This scenario illustrates a case when the required file could not be downloaded from the FTP server.
- Ensure that XESManager is up and running.
- In EAM, on the Admin Console tab, ensure that the profile is running.
- Copy the contents of the folder ${XESProfileConfig}/sample_data/scenarios/3.FileDownloadError to ${XESWorkspace}/test-data/inbound.
- In XESManager, refresh the page, select Live Items and click Search to see two records with the following paths:
- sessionsWithErrors- the session that was not completed because of errors
- downloadErrorFiles>{session id}>{file name} – the file that was not downloaded
Scenario 4. Long File Upload Error
This scenario illustrates a case when the initial file hash is different from the downloaded file hash. New records appeared during the downloading process.
- Ensure that XESManager is up and running.
- In EAM, on the Admin Console tab, ensure that the profile is running.
- Copy the contents of the folder ${XESProfileConfig}/sample_data/scenarios/ 4.LongUploadError to ${XESWorkspace}/test-data/inbound.
- In XESManager, refresh the page, select Live Items and click Search to see one record with the following path:
- LongLoadIssues>{session id} – you can view the contents of the file in the section Data on the right side of the page.
Scenario 5. List Read Retry Attempt Error
This scenario illustrates a case when the initial file hash is different from the downloaded file hash. New records appeared during the downloading process, but an error occurred while the route was trying to get the list.
- Ensure that XESManager is up and running.
- In EAM, on the Admin Console tab, ensure that the profile is running.
- Copy the contents of the folder ${XESProfileConfig}/sample_data/scenarios/ 5.ErrorReRead to ${XESWorkspace}/test-data/inbound.
- In XESManager, refresh the page, select Live Items and click Search to see one record with the following path:
- ReReadList>{session id} – you can view the contents of the file in the section Data on the right side of the page.
Profile Data Cleanup
- In EAM, on the Admin Console tab, stop the profile.
- Delete the contents of the folder ${XESWorkspace}/test-data/outbound.
- Delete the contents of the folder ${XESWorkspace}/DS.
- Delete the contents of the folder ${XESProfile}/elasticsearch/duplication-check-cluster.