Test Documentation

Environment: default
Test Session: default

Test: 11906

Description: SQ.b GetSubmissionSetAndContents Stored Query
Profile: XDS

Stored Query must use SOAP version 1.2

Test 12346 must be run first to load test data needed for this test.

Sections

uniqueid - Query based on uniqueId

folder_and_docs - Query based on uniqueId. Submission Set includes multiple documents and a folder.

uuid - Query based on uuid

format_code - Filter the documents via Format code

conf_code - Filter the documents via Confidentialitiy code

objectrefs - Request ObjectRefs instead of LeafClass. Should return 3 ObjectRefs.

In the folder_and_docs, format_code, and conf_code sections, one of two DocumentEntries are returned. So, the SQ results include the SS, the folder, one DocumentEntry, and Associations between:

- SS and Folder

- SS and DocumentEntry

- Folder and DocumentEntry


Section uniqueid

Transaction: uniqueid

Target Actor: XDS
Transaction: Stored Query
Expected Status in Response: Success

Additional Evaluation

Verify contents: Metadata contains 1 SubmissionSets
Verify contents: Metadata contains 1 Associations
Verify contents: Metadata contains 1 DocumentEntries

Section folder_and_docs

Transaction: folder_and_docs

Target Actor: XDS
Transaction: Stored Query
Expected Status in Response: Success

Additional Evaluation

Verify contents: Metadata contains a SubmissionSet, two DocumentEntries, and one Folder
Verify contents: SubmissionSet contains both DocumentEntries and Folder
Verify contents: Folder contains both DocumentEntries
Verify contents: Folder to DocumentEntries Associations contained in SubmissionSet

Section uuid

Transaction: uuid

Target Actor: XDS
Transaction: Stored Query
Expected Status in Response: Success

Additional Evaluation

Verify contents: Metadata contains 1 SubmissionSets
Verify contents: Metadata contains 1 Associations
Verify contents: Metadata contains 1 DocumentEntries

Section format_code

Transaction: format_code

Target Actor: XDS
Transaction: Stored Query
Expected Status in Response: Success

Additional Evaluation

Verify contents: Metadata contains a SubmissionSet, one DocumentEntry, and one Folder
Verify contents: SubmissionSet contains the Folder and DocumentEntry
Verify contents: Folder contains DocumentEntry

Section conf_code

Transaction: conf_code

Target Actor: XDS
Transaction: Stored Query
Expected Status in Response: Success

Additional Evaluation

Verify contents: Metadata contains a SubmissionSet, one DocumentEntry, and one Folder
Verify contents: SubmissionSet contains the Folder and DocumentEntry
Verify contents: Folder contains DocumentEntry

Section objectrefs

Transaction: objectrefs

Target Actor: XDS
Transaction: Stored Query
Expected Status in Response: Success

Additional Evaluation

Verify contents: Metadata contains 3 ObjectRefs, no SubmissionSets, no DocumentEntries, no Folders, and no Associations