HP WBEM Services Software Developer's Kit for HP-UX Provider and Client Developer's Guide A.01
Provider Implementation
Testing and Debugging Providers
Chapter 478
Testing and Debugging Providers
The following kinds of testing should be considered:
• Installation
• Schema modification during installation: verify that guidelines for
upgrading schema are observed. (See Chapter 3, Rules for Updating
Schema.)
• Normal operation
• Invalid requests
• Continuous hours of operation (CHO)
• Memory leaks
• Thread-safe operation
• Code coverage/path analysis
• Requests that return very large responses; for example, returning a
large number of instances
• Very large/long requests
• Large number of concurrent requests
• Provider shutdown
• Update/re-install
• Removal
Installing and Running a Provider
Run-time testing of providers must be done on a system on which HP
WBEM Services for HP-UX is running. In order to make a provider
available for testing, the following steps should be taken:
1. Create a symbolic link (with the ln -s command) to the shared
library in /opt/wbem/providers/lib. For example:
$ ln -s /<test-path>/libTestProviderModule.sl
/opt/wbem/providers/lib