Project

Profile

Help

Pulp 3 Smoke Test Plan » History » Revision 11

Revision 10 (pthomas@redhat.com, 09/06/2017 06:31 PM) → Revision 11/12 (pthomas@redhat.com, 09/08/2017 08:53 PM)

# Pulp 3.0 Smoke Test Plan 

 Verify that the following functionalities are working. This document assumes that the tests are performed by an authenticated user unless otherwise specified. working 

 **Authentication** 

 1.    Add a user 

     ~~~ 
        Userid -Required 
        Username - Required 
        Password - Required 
        Other info - Non Required 
     
     ~~~ 

 2.    View user(s) 

     ~~~ 
         List single user 
         List single user detail 
         List multiple users 
     ~~~ 

     
 3.    Update any user details 

     ~~~ 
         Update required user info 
         Update optional user info 
         List the user to verify 
     ~~~ 

 4.    Delete a user  

     ~~~ 
        Delete a user by id 
        Delete admin user 
        Delete last user 
     ~~~ 


 **Repository** 

 1.    Using the API Create a repo  

     ~~~ 
        Required info 
        Optional info    
     ~~~ 

     
 2.    Update all mutable repo fields  

     ~~~ 
     Update required info 
     Update optional info 
     Add optional info 
     Remove optional info 
     ~~~ 

 3.    Delete a repo  

     ~~~ 
      Delete a repo by repo-id 
      Delete multiple repos 
     
     ~~~ 

 4.    List all repos 

     ~~~ 
        # All fields are included 
        # Pagination is supported 
     # List a repository's associated importers and publishers by type 
        # All fields are included 
        # Pagination is supported 
     
     ~~~ 


 **Importer** 

 1.    Using the API Create an importer 

     ~~~ 
        Required info 
        Optional info    
     ~~~ 


 <!-- end list --> 

 1.    Read an importer 

     ~~~ 
        # All fields are included  
     # List a repository's associated importers and publishers by type 
        # All fields are included 
     
     ~~~ 

 2.    Update all mutable importer fields 

     ~~~ 
     Update required info 
     Update optional info 
     Add optional info 
     Remove optional info 
     ~~~ 

 3.    Delete an importer (asynchronous) 

 <!-- end list --> 

 ~~~ 
  Delete an importer 
  Delete multiple importers 
 
 ~~~ 

 **Publisher** 

 1.    Create a publisher 

     ~~~ 
        Required info 
        Optional info    
     ~~~ 


 <!-- end list --> 

 1.    Read a publisher 

 <!-- end list --> 

 ~~~ 
    # All fields are included  
 # List a repository's associated importers and publishers by type 
    # All fields are included 
 
 ~~~ 

 1.    Update all mutable publisher fields 

     ~~~ 
     Update required info 
     Update optional info 
     Add optional info 
     Remove optional info 
     ~~~ 


 <!-- end list --> 

 1.    Delete a publisher (asynchronous) 

     ~~~ 
      Delete a publisher 
      Delete multiple publishers 
     ~~~ 


 **Tasks** 

 1.    List all tasks 

     ~~~ 
       All tasks are listed 
       Tasks can be filtered by ['state', 'id', 'group'] 
       See a detail view for a specific task  
     ~~~ 

 2.    Cancel a task 

     ~~~ 
     Cancel a task by task_id 
     Cancel completed task 
     Cancel multiple tasks 
     ~~~ 


 \*Un Authenticated user 

 1.    View the status of Pulp workers, resource managers, and celerybeats. 

     ~~~ 
     View pulp-worker status 
     View resource manager status 
     View celerybeat status 
     ~~~ 

 2.    View the status of httpd's connection to the database and message broker.