The Source for Java Technology Collaboration


WSRPv2 Producer and Consumer Admin Testcases

Testcase ID Synopsis Steps to Execute Expected Results
wsrp_001 Installation PC and WSRP 1.Install Portlet Container and verify 2.Download WSRP Configurator jar 3.Add above jar to SDK and restart server producer/Consumer Admin portlet should be added to PC and WSRP tab appears
wsrp_002 Wsrp Admin Portlets check 1.Go to PortletContainer URL and check Producer Consumer Admin portlet Under Portlet Tab Producer/Consumer Admin portlet should be present.
wsrp_003 Create New producer 1.Navigate to PC portlets Tab 2.Click New button of Producer Admin portlet 3.Enter a Producer name in textfield and Click Submit button New producer should be created and status with Disabled
wsrp_004 Adding Portlet and Enable Producer 1.Navigate to PC portlets Tab 2.Click on above Created Producer name hyperlink 3.Add a portlet from unpublished to Published portlets and Click Submit button 4.Navigate to New producer and check radio button of Status to Enable New producer status should be Enabled
wsrp_005 Create New Consumer with known WSDL 1.Navigate to PC portlets Tab 2.Click New button of Consumer Admin portlet 3.Enter a Producer's WSDL in textfield and Click Get button 4.Enter a Name for new consumer and Click submit button New configured producer should be created and status with Enabled
wsrp_005 Create New Consumer with known WSDL 1.Navigate to PC portlets Tab 2.Click New button of Consumer Admin portlet 3.Enter a Producer's WSDL in textfield and Click Get button 4.Enter a Name for new consumer and Click submit button New configured producer should be created and status with Enabled
wsrp_006 Create a channel 1.Navigate to PC portlets Tab 2.Click New button of Consumer Admin portlet 3.Click on Create hyperlink under channel 4.Enter a Channel name and click Save button Navigate to WSRP Tab Newly created remote portlet should be available
wsrp_007 Delete Producer 1.Navigate to PC portlets Tab 2.Check the desired producer to be delete 3.Click Delete Button on Producer Admin portlet Should not display the deleted producer
wsrp_008 Delete Consumer 1.Navigate to PC portlets Tab 2.Check the desired Consumer to be delete 3.Click Delete Button on Consumer Admin portlet Should not display the deleted Consumer
wsrp_009 Disable producer status 1.Navigate to PC portlet tab 2.Click on desired Producer 3.Check the radio button of Status from Enable to Disable 4.Check for remote portlet Remote Portlet should show error message ERROR: Content not avilable. REMOTE_EXCEPTION
wsrp_010 Disable Consumer status 1.Navigate to PC portlet tab 2.Click on desired Consumer 3.Check the radio button of Status from Enable to Disable 4.Check for remote portlet Remote Portlet should show error message ERROR: Content not available. PRODUCER_STATUS_NOT_OK
wsrp_011 Create Consumer registration 1.Navigate to PC portlet tab 2.Click the hyperlink provided under Consumer registration of desired producer 3.Click on New button 4.Enter Name and Consumer Agent in the text field 5.Click submit button New Consumer registration should be created with Handle
wsrp_012 Delete Consumer registration 1.Navigate to PC portlet tab 2.Click the hyperlink provided under Consumer registration of desired producer 3.Check the desired Consumer registration 4.Click on Delete button Deleted Consumer registration should not available
wsrp_013 Out-Of-Band 1.Navigate to PC portlets Tab 2.Click New button of Producer Admin portlet 3.Enter a Producer name in textfield and Select Inband registration Not supported. 4.Click Submit button 5.Click on above Created Producer name hyperlink 6.Add a portlet from unpublished to Published portlets and Click Submit button 7.Navigate to New producer and check radio button of Status to Enable New producer should be created and status with Enabled
wsrp_014 Out-Of-Band Create registration Handle 1.Navigate to PC portlets Tab 2.Click New button of Producer Admin portlet 3.Click on Manage hyperlink of above created Producer 4.Enter Name and Consumer Agent and Click submit New Consumer registration with Handle should be created
wsrp_015 Out-Of-Band Create Consumer 1.Navigate to PC portlets Tab 2.Click New button of Consumer Admin portlet 3.Enter a Producer's WSDL in textfield and Click Get button 4.Enter a Name for new consumer and and registration Handle obtained from above producer and Click submit button New configured producer should be created and status with Enabled
wsrp_016 Create a Channel for out-of-band 1.Navigate to PC portlets Tab 2.Click New button of Consumer Admin portlet 3.Click on Create hyperlink under channel 4.Enter a Channel name and click Save button Remote portlet should be available for Out-of-band test
wsrp_017 Update service Description Test 1.Follow the procedure of testcase wsrp_3 to wsrp_06 2.Now navigate to Producer portlet and producer hyperlink 3.Add few more portlets from Unpublished list 4.Navigate to Consumer Admin portlet and click on desired Configured producer 5.Click Update Service Button 6.Create channel should have above producers New portlet on the list Navigate to WSRP Tab Newly created remote portlet should be available.
wsrp_018 Disable producer 1.Navigate to PC portlets Tab 2.Click New button of Producer Admin portlet 3.Click on desired producer hyperlink 4.Check Disable of this Producer Remote portlet should display Error Content not available: REMOTE_EXCEPTION
wsrp_019 Disable Consumer 1.Navigate to PC portlets Tab 2.Click New button of Consumer Admin portlet 3.Click on Create hyperlink under channel 4.Check Disable of this Consumer Remote portlet should display Error Content not available: PRODUCER_STATUS_NOT_OK
wsrp_020 Delete consumer registration 1.Navigate to PC portlets Tab 2.Click New button of Producer Admin portlet 3.Click on Manage hyperlink of created Producer 4.Check and click Delete button The registration should be deleted
wsrp_021 Delete Channel 1.Navigate to PC portlets Tab and Consumer Admin portlet 2.Click on Delete Windows hyperlink 3.Select a portlets to be deleted 4.Navigate to WSRP Tab and check for portlets Remote portlets of deleted channel should not be displayed
wsrp_022 RegistrationLess? Producer 1.Create a producer with registration not required 2.Create a Configured producer with above producer WSDL 3.Create a channel and check remote channel Remote portlet Should not have edit button.(Right now it shows Edit button.)
wsrp_023 Interop Test 1.Configure Webserver to allow proxy 2.Get a well know WSDL and add to Consumer 3.Create a channel and add a portlet Navigate to WSRP tab and check for external portlets.It should work as expected Test with WSDL: http://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.asmx?Operation=WSDL
wsrp_024 Unistall WSRP Alone 1. Stop Glassfish / App Server 2. cd $SERVER_DOMAIN/wsrp 3. ant -f setup.xml -DSERVER_HOME= -DSERVER_DOMAIN=<server-domain> uninstall-wsrp No Producer / Consumer Admin portlet should be on PC.

WSRP 2.0 Consumer Testcases

wsrp_025 Creating a WSRP Consumer creation for v1 WSRP Producer 1. Create a Proudcer in WSRP v1 deployment 2. In WSRP 2.0 consume the Producer with Consumer v2 admin interface 1. The Consumer admin interface should display only V1 in the dropdown list 2. Consumer should be created successfully and when window is created the portlet should be displayed successfully
wsrp_026 Creating a WSRP Consumer creation for v2 WSRP Producer 1. Create a Proudcer in WSRP v2 deployment 2. In WSRP 2.0 consume the Producer with Consumer v2 admin interface 1. The Consumer admin interface should display only V2 in the dropdown list 2. Consumer should be created successfully and when window is created the portlet should be displayed successfully
wsrp_027 Creating a WSRP Consumer creation for a v1 and v2 WSRP Producer 1. Create a Proudcer in WSRP v2 deployment which supports both V1 and V2 2. In WSRP 2.0 consume the Producer with Consumer v2 admin interface 1. The Consumer admin interface should display both V1 and V2 in the dropdown list 2. Consumer should be created successfully and when window is created the portlet should be displayed successfully for both V1 and V2
wsrp_028 Interoperability between v1 and v2 Consumers 1. In WSRP2.0 deployment create a producers which supports both v1 and v2 2. In a WSRP 1.0 deployment cosume the wsdl created in step 1 3. Create a window for the Consumer 1. The consumer should be created successfully and the portlet associated with it should be displayed remotely 2. The v2 features should not work but the portlet associated should be displayed
-- Main.bharani_wsrp - 24 Apr 2008

Topic WSRPv2ProducerandConsumerTestcases . { Edit | Ref-By | Printable | Diffs r2 < r1 | More }
 XML java.net RSS

Revision r2 - 25 Apr 2008 - 06:18:39 - Main.bharani_wsrp
Parents: WebHome > WSRP > WSRPv2