Additional Testing Tools
To test your Connector, TIBCO recommends that you make use of the tools described in this topic.
Visual Studio Attached Debugging
In addition to Unit Tests, you can test Connectors by attaching the Connector project to the running TIBCO Scribe® Agent process. This allows for precise testing of a Connector that is being used by a running TIBCO Scribe® Solution.
- After installing your Connector in TIBCO Scribe®, open the Connector solution in Visual Studio.
- Select Debug and Attach to Process.
- From the list of running processes, select Scribe.Core.ProcessorService.exe.
- Click Attach.
To see Scribe.Core.ProcessorService.exe, you may also need to select Show processes from all users and Show processes in all sessions.
TIBCO Scribe® Verbose Logging
Your Connector may provide extensive logging messages, basic and verbose, that provide information about what occurs when your Connector runs or that can help you debug your Connector. You can see how this type logging is implemented by exploring the sample Connector projects. When Connectors are running, they inherit the Agent's logging settings. By default, the TIBCO Scribe® Agent uses standard logging.
- Log into the TIBCO Scribe® User Interface.
- From the menu, select More > Agents.
- From the Agents page, select an Agent.
- From the Gear menu for that Agent, select Edit to display the Edit Agent dialog.
- Enable the Debug, Info, and Trace Agent logging options.
- Select OK.
The verbose logging option generates very large logs. After you are done debugging your Connector, be sure to disable these logging features.