]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
4af2f195b146a46e38efeb8491aabacb709b39e5
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <xmlReplay>
3     
4     <testGroup ID="CreateUpdateReadStructuredObjects" autoDeletePOSTS="true">
5         
6         <!--
7             Using refNames with the 'id' form of identifiers, create
8             and test a structured set of ten (10) CollectionObjects,
9             with these hierarchical relationsips to one another:
10         
11             ChessSetBox
12             |__ ChessBoard
13             |__ BagOfWhiteChessPieces
14                 |__ WhiteRook
15                 |__ WhiteBishop
16             |__ BagOfBlackChessPieces
17                 |__ BlackQueen
18                 |__ BlackRook
19                     |__ BlackRookFragment1
20                     |__ BlackRookFragment2
21          -->
22         
23         <!-- Chess set box -->
24         <!-- (parent of chess board, bag of white chess pieces, and bag of black chess pieces) -->
25         <test ID="CreateChessSetBox">
26             <method>POST</method>
27             <uri>/cspace-services/collectionobjects</uri>
28             <filename>collectionobject/hierarchy/1-collectionobject-create.xml</filename>
29             <vars>
30                 <var ID="objectNumber">CSPACE-5518-ChessSetBox</var>
31             </vars>
32             <expectedCodes>201</expectedCodes>
33         </test>
34         <!-- Verify the contents of the first CollectionObject record created. -->
35         <!-- Other create requests, below, just check the result code.) -->
36         <test ID="ReadChessSetBox">
37             <method>GET</method>
38             <uri>/cspace-services/collectionobjects/${CreateChessSetBox.CSID}</uri>
39             <expectedCodes>200</expectedCodes>
40             <response>
41                 <expected level="TEXT" />
42                 <filename>collectionobject/hierarchy/res/collectionobject.res.xml</filename>
43                 <vars>
44                     <var ID="objectNumber">${CreateChessSetBox.objectNumber}</var>
45                 </vars>
46             </response>
47         </test>
48         
49         <!-- Chess board -->
50         <!-- (child of chess set box, sibling of bag of white chess pieces and bag of black chess pieces) -->
51         <test ID="CreateChessBoard">
52             <method>POST</method>
53             <uri>/cspace-services/collectionobjects</uri>
54             <filename>collectionobject/hierarchy/5-collectionobject-create-with-parent-refname.xml</filename>
55             <vars>
56                 <var ID="objectNumber">CSPACE-5518-ChessBoard</var>
57                 <var ID="parentCSID">${CreateChessSetBox.CSID}</var>
58                 <var ID="parentObjectNumber">${CreateChessSetBox.objectNumber}</var>
59             </vars>
60             <expectedCodes>201</expectedCodes>
61         </test>
62         <test ID="ReadChessBoard">
63             <method>GET</method>
64             <uri>/cspace-services/collectionobjects/${CreateChessBoard.CSID}</uri>
65             <expectedCodes>200</expectedCodes>
66         </test>
67         
68         <!-- Bag of white chess pieces -->
69         <!-- (child of chess set box, sibling of chess board and bag -->
70         <!-- of black chess pieces, parent of white chess pieces) --> 
71         
72         <test ID="CreateBagOfWhiteChessPieces">
73             <method>POST</method>
74             <uri>/cspace-services/collectionobjects</uri>
75             <filename>collectionobject/hierarchy/5-collectionobject-create-with-parent-refname.xml</filename>
76             <vars>
77                 <var ID="objectNumber">CSPACE-5518-BagOfWhiteChessPieces</var>
78                 <var ID="parentCSID">${CreateChessSetBox.CSID}</var>
79                 <var ID="parentObjectNumber">${CreateChessSetBox.objectNumber}</var>
80             </vars>
81             <expectedCodes>201</expectedCodes>
82         </test>
83         <test ID="ReadBagOfWhiteChessPieces">
84             <method>GET</method>
85             <uri>/cspace-services/collectionobjects/${CreateBagOfWhiteChessPieces.CSID}</uri>
86             <expectedCodes>200</expectedCodes>
87         </test>
88         
89
90         <!-- Individual chess pieces in the bag of white chess pieces, -->
91         <!-- each created along with relations to their parent -->
92         
93         <test ID="CreateWhiteRook">
94             <method>POST</method>
95             <uri>/cspace-services/collectionobjects</uri>
96             <filename>collectionobject/hierarchy/5-collectionobject-create-with-parent-refname.xml</filename>
97             <vars>
98                 <var ID="objectNumber">CSPACE-5518-WhiteRook</var>
99                 <var ID="parentCSID">${CreateBagOfWhiteChessPieces.CSID}</var>
100                 <var ID="parentObjectNumber">${CreateBagOfWhiteChessPieces.objectNumber}</var>
101             </vars>
102             <expectedCodes>201</expectedCodes>
103         </test>
104         <test ID="ReadWhiteRook">
105             <method>GET</method>
106             <uri>/cspace-services/collectionobjects/${CreateWhiteRook.CSID}</uri>
107             <expectedCodes>200</expectedCodes>
108         </test>
109         
110         <test ID="CreateWhiteBishop">
111             <method>POST</method>
112             <uri>/cspace-services/collectionobjects</uri>
113             <filename>collectionobject/hierarchy/5-collectionobject-create-with-parent-refname.xml</filename>
114             <vars>
115                 <var ID="objectNumber">CSPACE-5518-WhiteBishop</var>
116                 <var ID="parentCSID">${CreateBagOfWhiteChessPieces.CSID}</var>
117                 <var ID="parentObjectNumber">${CreateBagOfWhiteChessPieces.objectNumber}</var>
118             </vars>
119             <expectedCodes>201</expectedCodes>
120         </test>
121         <test ID="ReadWhiteBishop">
122             <method>GET</method>
123             <uri>/cspace-services/collectionobjects/${CreateWhiteBishop.CSID}</uri>
124             <expectedCodes>200</expectedCodes>
125         </test>
126         
127
128         
129         <!-- Individual chess pieces in the bag of black chess pieces, -->
130         <!-- each created initially without any relations. -->
131                 
132         <test ID="CreateBlackQueen">
133             <method>POST</method>
134             <uri>/cspace-services/collectionobjects</uri>
135             <filename>collectionobject/hierarchy/1-collectionobject-create.xml</filename>
136             <vars>
137                 <var ID="objectNumber">CSPACE-5518-BlackQueen</var>
138             </vars>
139             <expectedCodes>201</expectedCodes>
140         </test>
141         <test ID="ReadBlackQueen">
142             <method>GET</method>
143             <uri>/cspace-services/collectionobjects/${CreateBlackQueen.CSID}</uri>
144             <expectedCodes>200</expectedCodes>
145         </test>
146         
147         <test ID="CreateBlackRook">
148             <method>POST</method>
149             <uri>/cspace-services/collectionobjects</uri>
150             <filename>collectionobject/hierarchy/1-collectionobject-create.xml</filename>
151             <vars>
152                 <var ID="objectNumber">CSPACE-5518-BlackRook</var>
153             </vars>
154             <expectedCodes>201</expectedCodes>
155         </test>
156         <test ID="ReadBlackRook">
157             <method>GET</method>
158             <uri>/cspace-services/collectionobjects/${CreateBlackRook.CSID}</uri>
159             <expectedCodes>200</expectedCodes>
160         </test>
161         
162         <test ID="CreateBlackRookFragment1">
163             <method>POST</method>
164             <uri>/cspace-services/collectionobjects</uri>
165             <filename>collectionobject/hierarchy/1-collectionobject-create.xml</filename>
166             <vars>
167                 <var ID="objectNumber">CSPACE-5518-BlackRookFragment1</var>
168             </vars>
169             <expectedCodes>201</expectedCodes>
170         </test>
171         <test ID="ReadBlackRookFragment1">
172             <method>GET</method>
173             <uri>/cspace-services/collectionobjects/${CreateBlackRookFragment1.CSID}</uri>
174             <expectedCodes>200</expectedCodes>
175         </test>
176         
177         <test ID="CreateBlackRookFragment2">
178             <method>POST</method>
179             <uri>/cspace-services/collectionobjects</uri>
180             <filename>collectionobject/hierarchy/1-collectionobject-create.xml</filename>
181             <vars>
182                 <var ID="objectNumber">CSPACE-5518-BlackRookFragment2</var>
183             </vars>
184             <expectedCodes>201</expectedCodes>
185         </test>
186         <test ID="ReadBlackRookFragment2">
187             <method>GET</method>
188             <uri>/cspace-services/collectionobjects/${CreateBlackRookFragment2.CSID}</uri>
189             <expectedCodes>200</expectedCodes>
190         </test>
191         
192         
193         <!-- Bag of black chess pieces -->
194         <!-- (child of chess set box, sibling of chess board and bag -->
195         <!-- of white chess pieces, parents of black chess pieces) --> 
196         
197         <!--
198             This piece is created along with relations to:
199             * Its parent (the chess set box)
200             * One of its children (the black queen), created previously above
201         -->
202                 
203         <test ID="CreateBagOfBlackChessPieces">
204             <method>POST</method>
205             <uri>/cspace-services/collectionobjects</uri>
206             <filename>collectionobject/hierarchy/6-collectionobject-create-with-parent-child-refnames.xml</filename>
207             <vars>
208                 <var ID="objectNumber">CSPACE-5518-BagOfBlackChessPieces</var>
209                 <var ID="parentCSID">${CreateChessSetBox.CSID}</var>
210                 <var ID="parentObjectNumber">${CreateChessSetBox.objectNumber}</var>
211                 <var ID="childCSID">${CreateBlackQueen.CSID}</var>
212                 <var ID="childObjectNumber">${CreateBlackQueen.objectNumber}</var>
213             </vars>
214         </test>
215         <test ID="ReadBagOfBlackChessPieces">
216             <method>GET</method>
217             <uri>/cspace-services/collectionobjects/${CreateBagOfBlackChessPieces.CSID}</uri>
218             <expectedCodes>200</expectedCodes>
219         </test>
220         
221
222         <!-- Update one of the existing chess pieces, and add hierarchical -->
223         <!-- relationships between that piece and both its parent and child. -->
224         
225         <!--
226             This piece is updated along with adding relations to:
227             * Its parent (the bag of black chess pieces)
228             * Its children (black rook fragment1, black rook fragment2)
229         -->
230         
231         <test ID="UpdateBlackRookWithRelations">
232             <method>PUT</method>
233             <uri>/cspace-services/collectionobjects/${CreateBlackRook.CSID}</uri>
234             <filename>collectionobject/hierarchy/7-collectionobject-update-with-parent-child-refNames.xml</filename>
235             <vars>
236                 <var ID="distinguishingFeatures">This black rook is nearly intact, save for two tiny fragments.</var>
237                 <var ID="currentItemCSID">${CreateBlackRook.CSID}</var>
238                 <var ID="currentItemObjectNumber">${CreateBlackRook.objectNumber}</var>
239                 <var ID="parentCSID">${CreateBagOfBlackChessPieces.CSID}</var>
240                 <var ID="parentObjectNumber">${CreateBagOfBlackChessPieces.objectNumber}</var>
241                 <var ID="child1CSID">${CreateBlackRookFragment1.CSID}</var>
242                 <var ID="child1ObjectNumber">${CreateBlackRookFragment1.objectNumber}</var>
243                 <var ID="child2CSID">${CreateBlackRookFragment2.CSID}</var>
244                 <var ID="child2ObjectNumber">${CreateBlackRookFragment2.objectNumber}</var>
245             </vars>
246             <expectedCodes>200</expectedCodes>
247         </test>
248         
249     
250         <!--
251             Read hierarchical relations via three query parameters now
252             supported for structured objects and procedures, as well as
253             for authority terms:
254             
255             * showRelations
256             * showSiblings
257             * showAllRelations
258         -->
259                     
260         <!-- Read hierarchical relationships via 'showRelations', -->
261         <!-- which returns direct parent and child relations. -->
262         
263         <test ID="ShowRelationsForTopLevelItem">
264             <method>GET</method>
265             <uri>/cspace-services/collectionobjects/${CreateChessSetBox.CSID}?showRelations=true</uri>
266             <response>
267                 <expected level="ADDOK" />
268                 <filename>collectionobject/hierarchy/res/show-relations-top-level.res.xml</filename>
269                 <vars>
270                     <var ID="chessSetBoxCSID">${CreateChessSetBox.CSID}</var>
271                     <var ID="chessBoardCSID">${CreateChessBoard.CSID}</var>
272                     <var ID="bagOfWhiteChessPiecesCSID">${CreateBagOfWhiteChessPieces.CSID}</var>
273                     <var ID="bagOfBlackChessPiecesCSID">${CreateBagOfBlackChessPieces.CSID}</var>
274                 </vars>
275                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
276             </response>
277             <expectedCodes>200</expectedCodes>
278         </test>
279         
280         <test ID="ShowRelationsForMidLevelItem">
281             <method>GET</method>
282             <uri>/cspace-services/collectionobjects/${CreateBagOfBlackChessPieces.CSID}?showRelations=true</uri>
283             <response>
284                 <expected level="ADDOK" />
285                 <filename>collectionobject/hierarchy/res/show-relations-mid-level.res.xml</filename>
286                 <vars>
287                     <var ID="chessSetBoxCSID">${CreateChessSetBox.CSID}</var>
288                     <var ID="bagOfBlackChessPiecesCSID">${CreateBagOfBlackChessPieces.CSID}</var>
289                     <var ID="blackQueenCSID">${CreateBlackQueen.CSID}</var>
290                     <var ID="blackRookCSID">${CreateBlackRook.CSID}</var>
291                 </vars>
292                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
293             </response>
294             <expectedCodes>200</expectedCodes>
295         </test>
296         
297         <test ID="ShowRelationsForBottomLevelItem">
298             <method>GET</method>
299             <uri>/cspace-services/collectionobjects/${CreateBlackRookFragment1.CSID}?showRelations=true</uri>
300             <response>
301                 <expected level="ADDOK" />
302                 <filename>collectionobject/hierarchy/res/show-relations-bottom-level.res.xml</filename>
303                 <vars>
304                     <var ID="blackRookCSID">${CreateBlackRook.CSID}</var>
305                     <var ID="blackRookFragment1CSID">${CreateBlackRookFragment1.CSID}</var>
306                 </vars>
307                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
308             </response>
309             <expectedCodes>200</expectedCodes>
310         </test>
311         
312         <!-- Read hierarchical relationships via 'showSiblings', -->
313         <!-- which returns sibling relations. -->
314
315         <test ID="ShowSiblingsForTopLevelItem">
316             <method>GET</method>
317             <uri>/cspace-services/collectionobjects/${CreateChessSetBox.CSID}?showSiblings=true</uri>
318             <expectedCodes>200</expectedCodes>
319             <response>
320                 <expected level="ADDOK" />
321                 <filename>collectionobject/hierarchy/res/show-siblings-top-level.res.xml</filename>
322                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
323             </response>
324         </test>
325         
326         <test ID="ShowSiblingsForMidLevelItem">
327             <method>GET</method>
328             <uri>/cspace-services/collectionobjects/${CreateBagOfBlackChessPieces.CSID}?showSiblings=true</uri>
329             <expectedCodes>200</expectedCodes>
330             <response>
331                 <expected level="ADDOK" />
332                 <filename>collectionobject/hierarchy/res/show-siblings-mid-level.res.xml</filename>
333                 <vars>
334                     <var ID="chessSetBoxCSID">${CreateChessSetBox.CSID}</var>
335                     <var ID="chessBoardCSID">${CreateChessBoard.CSID}</var>
336                     <var ID="bagOfWhiteChessPiecesCSID">${CreateBagOfWhiteChessPieces.CSID}</var>
337                 </vars>
338                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
339             </response>
340         </test>
341         
342         <test ID="ShowSiblingsForBottomLevelItem">
343             <method>GET</method>
344             <uri>/cspace-services/collectionobjects/${CreateBlackRookFragment1.CSID}?showSiblings=true</uri>
345             <expectedCodes>200</expectedCodes>
346             <response>
347                 <expected level="ADDOK" />
348                 <filename>collectionobject/hierarchy/res/show-siblings-bottom-level.res.xml</filename>
349                 <vars>
350                     <var ID="blackRookCSID">${CreateBlackRook.CSID}</var>
351                     <var ID="blackRookFragment2CSID">${CreateBlackRookFragment2.CSID}</var>
352                 </vars>
353                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
354             </response>
355         </test>
356         
357         <!-- Read hierarchical relationships via 'showAllRelations', -->
358         <!-- which returns parent, child, and sibling relationships. -->
359
360         <test ID="ShowAllRelationsForTopLevelItem">
361             <method>GET</method>
362             <uri>/cspace-services/collectionobjects/${CreateChessSetBox.CSID}?showAllRelations=true</uri>
363             <expectedCodes>200</expectedCodes>
364             <response>
365                 <expected level="ADDOK" />
366                 <filename>collectionobject/hierarchy/res/show-all-relations-top-level.res.xml</filename>
367                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
368             </response>
369         </test>
370         
371         <!-- The following tests -->
372         
373         <!-- Currently returns only three relations (parent, two children), -->
374         <!-- rather than five (parent, two children, two siblings). - ADR 2012-09-10 -->
375         <!--
376         <test ID="ShowAllRelationsForMidLevelItem">
377             <method>GET</method>
378             <uri>/cspace-services/collectionobjects/${CreateBagOfWhiteChessPieces.CSID}?showAllRelations=true</uri>
379             <expectedCodes>200</expectedCodes>
380             <response>
381                 <expected level="ADDOK" />
382                 <filename>collectionobject/hierarchy/res/show-all-relations-mid-level.res.xml</filename>
383                 <vars>
384                     <var ID="bagOfBlackChessPiecesCSID">${CreateBagOfBlackChessPieces.CSID}</var>
385                     <var ID="bagOfWhiteChessPiecesCSID">${CreateBagOfWhiteChessPieces.CSID}</var>
386                     <var ID="whiteRookCSID">${CreateWhiteRook.CSID}</var>
387                     <var ID="whiteBishopCSID">${CreateWhiteBishop.CSID}</var>
388                 </vars>
389                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
390             </response>
391         </test>
392         -->
393         
394         <!-- Currently returns only one relation (parent), rather than -->
395         <!-- two (parent, sibling). - ADR 2012-09-10 -->
396         <!--
397         <test ID="ShowAllRelationsForBottomLevelItem">
398             <method>GET</method>
399             <uri>/cspace-services/collectionobjects/${CreateWhiteBishop.CSID}?showAllRelations=true</uri>
400             <expectedCodes>200</expectedCodes>
401             <response>
402                 <expected level="ADDOK" />
403                 <filename>collectionobject/hierarchy/res/show-all-relations-bottom-level.res.xml</filename>
404                 <vars>
405                     <var ID="bagOfWhiteChessPiecesCSID">${CreateBagOfWhiteChessPieces.CSID}</var>
406                     <var ID="whiteRookCSID">${CreateWhiteRook.CSID}</var>
407                     <var ID="whiteBishopCSID">${CreateWhiteBishop.CSID}</var>
408                 </vars>
409                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
410             </response>
411         </test>
412         -->
413             
414         <!-- Read hierarchical relationships via the relations service. -->
415         <!-- (This can also serve as a cross-check on the additional read mechanisms, above.) -->
416                 
417         <!-- Zero (0) total items are expected for the top-level item as a subject, -->
418         <!-- since the tests above created relation records with this top-level -->
419         <!-- solely as an object of those relations. -->
420         <test ID="GetRelationsAsSubjectForTopLevelItem">
421             <method>GET</method>
422             <uri>/cspace-services/relations?sbj=${CreateChessSetBox.CSID}</uri>
423             <expectedCodes>200</expectedCodes>
424             <response>
425                 <expected level="ADDOK" />
426                 <filename>collectionobject/hierarchy/res/relations-pagination-header.res.xml</filename>
427                 <vars>
428                     <var ID="totalItems">0</var>
429                 </vars>
430             </response>
431         </test>
432         
433         <test ID="GetRelationsAsObjectForTopLevelItem">
434             <method>GET</method>
435             <uri>/cspace-services/relations?obj=${CreateChessSetBox.CSID}</uri>
436             <expectedCodes>200</expectedCodes>
437             <response>
438                 <expected level="ADDOK" />
439                 <filename>collectionobject/hierarchy/res/relations-as-object-top-level.res.xml</filename>
440                 <vars>
441                     <var ID="chessSetBoxCSID">${CreateChessSetBox.CSID}</var>
442                     <var ID="chessBoardCSID">${CreateChessBoard.CSID}</var>
443                     <var ID="bagOfWhiteChessPiecesCSID">${CreateBagOfWhiteChessPieces.CSID}</var>
444                     <var ID="bagOfBlackChessPiecesCSID">${CreateBagOfBlackChessPieces.CSID}</var>
445                 </vars>
446                 <startElement>/document/*[local-name()='relations-common-list']</startElement>
447             </response>
448         </test>     
449     
450         <!-- Clean up any remaining records that were NOT automatically deleted by autoDeletePOSTS -->
451         
452         <!-- Delete the records of relations to ChessSetBox, from its three children -->
453                
454         <test ID="GetRelationsToChessSetBoxAsObject">
455             <method>GET</method>
456             <uri>/cspace-services/relations?obj=${CreateChessSetBox.CSID}</uri>
457             <expectedCodes>200</expectedCodes>
458         </test>
459         <test ID="DeleteChildRelation1ToChessSetBox">
460             <method>DELETE</method>
461             <uri>/cspace-services/relations/${GetRelationsToChessSetBoxAsObject.got("//relation-list-item[1]/csid")}</uri>
462         </test>
463         <test ID="DeleteChildRelation2ToChessSetBox">
464             <method>DELETE</method>
465             <uri>/cspace-services/relations/${GetRelationsToChessSetBoxAsObject.got("//relation-list-item[2]/csid")}</uri>
466         </test>
467         <test ID="DeleteChildRelation3ToChessSetBox">
468             <method>DELETE</method>
469             <uri>/cspace-services/relations/${GetRelationsToChessSetBoxAsObject.got("//relation-list-item[3]/csid")}</uri>
470         </test>
471         
472         <!-- Delete the records of relations to BagOfWhiteChessPieces, from its two children -->
473         
474         <test ID="GetRelationsToBagOfWhiteChessPiecesAsObject">
475             <method>GET</method>
476             <uri>/cspace-services/relations?obj=${CreateBagOfWhiteChessPieces.CSID}</uri>
477             <expectedCodes>200</expectedCodes>
478         </test>
479         <test ID="DeleteChildRelation1ToBagOfWhiteChessPieces">
480             <method>DELETE</method>
481             <uri>/cspace-services/relations/${GetRelationsToBagOfWhiteChessPiecesAsObject.got("//relation-list-item[1]/csid")}</uri>
482         </test>
483         <test ID="DeleteChildRelation2ToBagOfWhiteChessPieces">
484             <method>DELETE</method>
485             <uri>/cspace-services/relations/${GetRelationsToBagOfWhiteChessPiecesAsObject.got("//relation-list-item[2]/csid")}</uri>
486         </test>
487         
488         <!-- Delete the records of relations to BagOfBlackChessPieces, from its two children -->
489         
490         <test ID="GetRelationsToBagOfBlackChessPiecesAsObject">
491             <method>GET</method>
492             <uri>/cspace-services/relations?obj=${CreateBagOfBlackChessPieces.CSID}</uri>
493             <expectedCodes>200</expectedCodes>
494         </test>
495         <test ID="DeleteChildRelation1ToBagOfBlackChessPieces">
496             <method>DELETE</method>
497             <uri>/cspace-services/relations/${GetRelationsToBagOfBlackChessPiecesAsObject.got("//relation-list-item[1]/csid")}</uri>
498         </test>
499         <test ID="DeleteChildRelation2ToBagOfBlackChessPieces">
500             <method>DELETE</method>
501             <uri>/cspace-services/relations/${GetRelationsToBagOfBlackChessPiecesAsObject.got("//relation-list-item[2]/csid")}</uri>
502         </test>
503         
504         <!-- Delete the records of a relation to BlackRook, from its teo children -->
505         
506         <test ID="GetRelationsToBlackRookAsObject">
507             <method>GET</method>
508             <uri>/cspace-services/relations?obj=${CreateBlackRook.CSID}</uri>
509             <expectedCodes>200</expectedCodes>
510         </test>
511         <test ID="DeleteChildRelation1ToBlackRook">
512             <method>DELETE</method>
513             <uri>/cspace-services/relations/${GetRelationsToBlackRookAsObject.got("//relation-list-item[1]/csid")}</uri>
514         </test>
515         <test ID="DeleteChildRelation2ToBlackRook">
516             <method>DELETE</method>
517             <uri>/cspace-services/relations/${GetRelationsToBlackRookAsObject.got("//relation-list-item[2]/csid")}</uri>
518         </test>
519                        
520     </testGroup>
521     
522 </xmlReplay>