Pulp 3 Smoke Test Plan » History » Sprint/Milestone 12
pthomas@redhat.com, 09/08/2017 08:54 PM
1 | 1 | pthomas@redhat.com | # Pulp 3.0 Smoke Test Plan |
---|---|---|---|
2 | |||
3 | 12 | pthomas@redhat.com | Verify that the following functionalities are working. This document assumes that the tests are performed by an authenticated user unless otherwise specified. We will use file plugin to test some of these core functionalities but will not be testing File Plugin itself. |
4 | 1 | pthomas@redhat.com | |
5 | 3 | pthomas@redhat.com | **Authentication** |
6 | |||
7 | 1 | pthomas@redhat.com | 1. Add a user |
8 | 7 | pthomas@redhat.com | |
9 | ~~~ |
||
10 | 8 | pthomas@redhat.com | Userid -Required |
11 | Username - Required |
||
12 | Password - Required |
||
13 | Other info - Non Required |
||
14 | 7 | pthomas@redhat.com | |
15 | ~~~ |
||
16 | |||
17 | 1 | pthomas@redhat.com | 2. View user(s) |
18 | 7 | pthomas@redhat.com | |
19 | ~~~ |
||
20 | 8 | pthomas@redhat.com | List single user |
21 | List single user detail |
||
22 | List multiple users |
||
23 | 7 | pthomas@redhat.com | ~~~ |
24 | |||
25 | |||
26 | 3. Update any user details |
||
27 | 1 | pthomas@redhat.com | |
28 | 7 | pthomas@redhat.com | ~~~ |
29 | 8 | pthomas@redhat.com | Update required user info |
30 | Update optional user info |
||
31 | 7 | pthomas@redhat.com | List the user to verify |
32 | ~~~ |
||
33 | |||
34 | 4. Delete a user |
||
35 | |||
36 | ~~~ |
||
37 | 1 | pthomas@redhat.com | Delete a user by id |
38 | Delete admin user |
||
39 | Delete last user |
||
40 | ~~~ |
||
41 | |||
42 | |||
43 | **Repository** |
||
44 | |||
45 | 9 | pthomas@redhat.com | 1. Using the API Create a repo |
46 | 8 | pthomas@redhat.com | |
47 | ~~~ |
||
48 | Required info |
||
49 | Optional info |
||
50 | ~~~ |
||
51 | |||
52 | |||
53 | 2. Update all mutable repo fields |
||
54 | |||
55 | ~~~ |
||
56 | Update required info |
||
57 | Update optional info |
||
58 | Add optional info |
||
59 | Remove optional info |
||
60 | ~~~ |
||
61 | |||
62 | 3. Delete a repo |
||
63 | |||
64 | 1 | pthomas@redhat.com | ~~~ |
65 | 9 | pthomas@redhat.com | Delete a repo by repo-id |
66 | Delete multiple repos |
||
67 | |||
68 | 1 | pthomas@redhat.com | ~~~ |
69 | |||
70 | 9 | pthomas@redhat.com | 4. List all repos |
71 | 1 | pthomas@redhat.com | |
72 | 9 | pthomas@redhat.com | ~~~ |
73 | # All fields are included |
||
74 | # Pagination is supported |
||
75 | # List a repository's associated importers and publishers by type |
||
76 | # All fields are included |
||
77 | # Pagination is supported |
||
78 | |||
79 | ~~~ |
||
80 | |||
81 | |||
82 | 1 | pthomas@redhat.com | **Importer** |
83 | |||
84 | 9 | pthomas@redhat.com | 1. Using the API Create an importer |
85 | 1 | pthomas@redhat.com | |
86 | 9 | pthomas@redhat.com | ~~~ |
87 | Required info |
||
88 | Optional info |
||
89 | ~~~ |
||
90 | |||
91 | |||
92 | <!-- end list --> |
||
93 | |||
94 | 1. Read an importer |
||
95 | |||
96 | ~~~ |
||
97 | # All fields are included |
||
98 | # List a repository's associated importers and publishers by type |
||
99 | # All fields are included |
||
100 | |||
101 | ~~~ |
||
102 | |||
103 | 2. Update all mutable importer fields |
||
104 | |||
105 | ~~~ |
||
106 | Update required info |
||
107 | Update optional info |
||
108 | Add optional info |
||
109 | Remove optional info |
||
110 | ~~~ |
||
111 | |||
112 | 3. Delete an importer (asynchronous) |
||
113 | |||
114 | <!-- end list --> |
||
115 | |||
116 | ~~~ |
||
117 | Delete an importer |
||
118 | Delete multiple importers |
||
119 | |||
120 | ~~~ |
||
121 | |||
122 | 1 | pthomas@redhat.com | **Publisher** |
123 | |||
124 | 1. Create a publisher |
||
125 | |||
126 | 9 | pthomas@redhat.com | ~~~ |
127 | Required info |
||
128 | Optional info |
||
129 | ~~~ |
||
130 | |||
131 | |||
132 | <!-- end list --> |
||
133 | |||
134 | 1. Read a publisher |
||
135 | |||
136 | <!-- end list --> |
||
137 | |||
138 | ~~~ |
||
139 | # All fields are included |
||
140 | # List a repository's associated importers and publishers by type |
||
141 | # All fields are included |
||
142 | |||
143 | ~~~ |
||
144 | |||
145 | 1. Update all mutable publisher fields |
||
146 | |||
147 | ~~~ |
||
148 | Update required info |
||
149 | Update optional info |
||
150 | Add optional info |
||
151 | Remove optional info |
||
152 | ~~~ |
||
153 | |||
154 | |||
155 | <!-- end list --> |
||
156 | |||
157 | 1. Delete a publisher (asynchronous) |
||
158 | |||
159 | ~~~ |
||
160 | Delete a publisher |
||
161 | Delete multiple publishers |
||
162 | ~~~ |
||
163 | |||
164 | |||
165 | 3 | pthomas@redhat.com | **Tasks** |
166 | |||
167 | 9 | pthomas@redhat.com | 1. List all tasks |
168 | |||
169 | ~~~ |
||
170 | All tasks are listed |
||
171 | Tasks can be filtered by ['state', 'id', 'group'] |
||
172 | See a detail view for a specific task |
||
173 | ~~~ |
||
174 | |||
175 | 2. Cancel a task |
||
176 | |||
177 | ~~~ |
||
178 | Cancel a task by task_id |
||
179 | Cancel completed task |
||
180 | Cancel multiple tasks |
||
181 | ~~~ |
||
182 | |||
183 | 1 | pthomas@redhat.com | |
184 | \*Un Authenticated user |
||
185 | |||
186 | 1. View the status of Pulp workers, resource managers, and celerybeats. |
||
187 | 10 | pthomas@redhat.com | |
188 | ~~~ |
||
189 | View pulp-worker status |
||
190 | View resource manager status |
||
191 | View celerybeat status |
||
192 | ~~~ |
||
193 | |||
194 | 1 | pthomas@redhat.com | 2. View the status of httpd's connection to the database and message broker. |