Use this test to ensure that you can send data to a partner endpoint. This article describes how to set up the test, run it, and verify that it ran successfully.
Test Requirements
This test requires the following resources:
- File System Endpoint: The source endpoint for outbound integration with your Partner Endpoint and the destination for inbound integration with your Partner Endpoint.
- Access Point: This is the Access Point that enables CIC to access your File System Endpoint above.
- Partner Endpoint: FTP, SFTP, or AS2 Endpoint to represent a partner endpoint. This example uses an FTP Endpoint.
- Test Data Flows: You need to create two data flows.
- Data Flow 1 to send data from the File System Endpoint to the Partner Endpoint.
- Data Flow 2 to send data from the Partner Endpoint to the File System Endpoint.
Set Up the Tests
- Create Access Point: Create the Access Point and install your CIC Agent. For more details on creating your Access Point and installing your CIC Agent, please see Managing Access Points.
- Verify Access Point: Your Access Point should have a status of "Active".
To check Access Point's status, go to Network > Access Points.
The following table describes Access Point statuses.
Access Point status Description Active Access Point is running as expected and the test passes.
Pending Indicates the CIC Agent software is not yet active on the server where it was installed. If you created the Access Point recently (in the last 5-10 minutes), the activation process might not yet be complete. If it has been longer than that, contact Cleo Support.
Not Responding The Access Point is not responding to messages sent by the CIC Cockpit. Check the following:
- Network connections are up and running
- The machine where the CIC Agent is installed is up and running, and the CIC Agent service is running.
Down The Access Point has been unresponsive for more than three minutes and is considered down. Check the following:
- Network connections are up and running
- The machine where the CIC Agent is installed is up and running, and the CIC Agent service is running.
Updating CIC is in the process of updating the CIC Agent software. Wait for the update to complete. There is nothing further to check. - Create File System Endpoint: Create a File System Endpoint that references the Access Point you just created. For more details on creating this Endpoint, please see Managing Endpoints and File System endpoint.
- Alternative Verification of Access Point: While creating your Endpoint, you can also verify that your CIC Agent and Access Point are working properly. Once you select your Access Point, you should be able to browse the endpoint's file system as shown in the figure below. This will only work if the CIC Agent is active and CIC can connect to the Endpoint (via the Access Point).
If the Access Point is not active and healthy, you see a message like this instead of folders on your file system.
If you see this, go to the Network > Access Point screen and follow the guidance in Step 2 above to troubleshoot your Access Point issues.
- Create Partner Endpoint: Create an FTP Endpoint to act as your Partner Endpoint. For details on creating the FTP Endpoint, see Managing Endpoints and FTP(S) endpoint.
- Create Data Flow 1: Create Data Flow 1 from your FTP Endpoint to your File System Endpoint. For details on how to create Data Flows, see Managing Data Flows.
- Create Data Flow 2: Create Data Flow 2 from your File System Endpoint to your FTP Endpoint.
Run the Tests
- Test 1 - Receive Data: To test that your File System Endpoint can RECEIVE data:
- Upload one or more test files to the FTP server associated with your FTP Endpoint.
- Run the data flow: Go to Integrations > Data Flows, find Data Flow 1, and click it to open it.
- Click Run Now in the upper right of the page.
- Test 2 - Send Data: To test that your File System Endpoint can SEND data.
- Log in to the server represented by your File System Endpoint (where your CIC Agent is installed).
- Navigate to the folder configured as the From (Source) endpoint for Data Flow 2.
- Upload one or more test files to the folder.
- Run Data Flow 2: Go to Integrations > Data Flows, find Data Flow 2 (or whatever you named it) in the list of Data Flows, and click it to open it.
- Click Run Now in the upper right corner to run Data Flow 2 (as shown below).
Verify the Results
- Verify Test 1 - Receive Data: To verify that your File System endpoint can receive data, check the following:
- File received at destination: Go to the computer specified in the File System Endpoint, navigate to the folder indicated as the destination in Data Flow 1, and verify that the files you expect to receive are there.
- File removed from source: Log in to the FTP server specified in the FTP Endpoint and ensure that the file is gone. If all is working properly, the file is removed from the FTP server when the upload completes.
- Job successful: Running a Data Flow creates a Job that contains the details of the Data Flow's run. To view job details:
- Navigate to Activity > Jobs to display a list of Jobs recently run.
- Find the relevant Job by looking for the FTP Endpoint and File System Endpoint in the From and To columns, respectively.
- Click the Job to view its information. The Job should be successful. Navigate to the Logs tab to see details of the Data Flow's run.
- Verify Test 2 - Send Data: To verify that your File System Endpoint can send data, check the following:
- File received at destination: Log in to the FTP server specified in the FTP Endpoint, navigate to the folder indicated as the destination in Data Flow 2, and verify the test file is there.
- File removed from source: Go to the computer specified in the File System Endpoint and navigate to the folder specified as the source folder in Data Flow 2. Verify that the test file is no longer there.
- Job successful: Running a Data Flow creates a Job that contains the details of the Data Flow's run. To view job details:
- Navigate to Activity > Jobs to display a list of Jobs recently run.
- Find the relevant Job by looking for the File System Endpoint and FTP Endpoint in the From and To columns, respectively.
- Click the Job to view its information. The Job should be successful. Navigate to the Logs tab to see details of the Data Flow's run.
Comments
0 comments
Please sign in to leave a comment.