The Provider Test enables you to successfully test and display your portlets exposed as a web provider without an Oracle9iAS Portal installation. This article describes how to setup and use the Provider Test utility.
repositories=D:\ORACLE9iAS\Apache\Jserv\servlets\prohttp.jar
repositories=D:\ORACLKE9iAS\Apache\Jserv\servlets\testProvider.jar
Note: replace the directories listed above with your directory information.
The utility simulates Oracle9iAS Portal and makes calls to your provider. It tells you whether the calls made to register, deregister, and display show modes passed or failed. A message of fail for a show mode may mean that you are not displaying that show mode at all, it may not necessarily be an error. If you receive the fail message for a show mode that should be available, then it is a message that something is wrong. The utility checks the following api calls to the provider.
If your portlet does not display a particular mode, the Provider Test displays the result for that mode as 'failed'. Registration, DoLogin, and Deregistration are displayed at the end of the HTML output.
KNOWN ISSUESThe utility uses HTML Table to format the results and this problem can occur if the portlets are not rendering the correct html (especially in mode other then Show). Ensure that the tables are properly closed in other modes also.
For example: Porltet 1 of the PDK-Java samples does not close the HTML table in mode_show, therefore the other portlets do not show up properly in the HTML output of the Provider Test. Try view portlets 2 to 5 and/or view portlet 1 separately.