@ bo38.test - Test plan Section 3.8: Create-Job & Send-Document @ Version 0.1 - quick and dirty @ Last revised by Xerox Corporation on 99-03-11. # Copyright (c) 1998, 1999 by Xerox Corporation. All rights reserved. # User is granted the right to modify this file for use with # the IPP Server Test Tool, as described in the file # LICENSE-IppTest.txt. @ @ 3.8 Create-Job and Send-Document @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ # Each IPP Client will submit a job to all of the IPP Printers using # the create-job/send-document operations. The attributes in the # request will be the entire mandatory attributes and one optional # attribute. The mandatory attributes are attributes-charset, # attributes-natural-language, printer-uri and last-document. The # optional attribute will be job-name or document-name. The job-name # will be set to identify the submitting client. At least two # documents will be submitted. The contents of the documents will # identify the submitting client. # @ @ Test A - Create-Job with two Send-Documents @ @ @ Create-Job @ Create-Job \ target: $target, \ attributes: ( \ Operation: ( \ attributes-charset: utf-8, \ attributes-natural-language: en-us, \ printer-uri: $target, \ requesting-user-name: 'IPP Bake-off User 1', \ job-name: $whoami \ ) \ ) Expect Response \ status-code: successful-ok, \ attributes: ( \ Operation: ( \ attributes-charset: utf-8, \ attributes-natural-language: *, \ ... \ ), \ Job: ( \ first-job-uri = job-uri: *, \ first-job-id = job-id: *, \ job-state: pending-held, \ ... \ ) \ ) @ @ Do 1st Send-Document - don't specify document-format @ Send-Document \ target: $target, \ attributes: ( \ Operation: ( \ attributes-charset: utf-8, \ attributes-natural-language: en-us, \ printer-uri: $target, \ job-id: $first-job-id, \ requesting-user-name: 'IPP Bake-off User 1', \ document-name: 'First File To Print', \ last-document: false \ ) \ ), \ data: $test-print-file Expect Response \ status-code: successful-ok, \ attributes: ( \ Operation: ( \ attributes-charset: utf-8, \ attributes-natural-language: *, \ ... \ ), \ Job: ( \ job-uri: *, \ job-id: *, \ job-state: pending-held, \ ... \ ) \ ) @ @ Do 2nd Send-Document - don't specify document-format @ Send-Document \ target: $target, \ attributes: ( \ Operation: ( \ attributes-charset: utf-8, \ attributes-natural-language: en-us, \ printer-uri: $target, \ job-id: $first-job-id, \ requesting-user-name: 'IPP Bake-off User 1', \ document-name: 'Second File To Print', \ last-document: true \ ) \ ), \ data: $test-print-file Expect Response \ status-code: successful-ok, \ attributes: ( \ Operation: ( \ attributes-charset: utf-8, \ attributes-natural-language: *, \ ... \ ), \ Job: ( \ job-uri: *, \ job-id: *, \ job-state: pending | processing, \ ... \ ) \ ) @ @ Check that "multiple-operation-time-out" is supported @ Get-Printer-Attributes \ target: $target, \ attributes: ( \ Operation: ( \ attributes-charset: utf-8, \ attributes-natural-language: en-us, \ printer-uri: $target, \ requested-attributes: \ ) \ ) Expect Response \ status-code: successful-ok, \ attributes: ( \ Operation: ( \ ... \ ), \ Printer: ( \ multiple-operation-time-out: * \ ) \ ) @ @ Record the results in the table in section 4.17. Put the Client @ identifiers in the first column. The Printer identifiers go across @ the first row. The results of a Client/Printer interaction are @ placed in the corresponding cell. @