1
2xmltest(1) General Commands Manual xmltest(1)
3
4
5
7 xmltest - Test script to send CIM-XML (via wbemcat) to CIMOM and com‐
8 pare to known results
9
11 xmltest [FILE]
12
14 xmltest is a script that is used to send a raw CIM-XML test file to the
15 sfcb CIMOM (using wbemcat) and then compares the returned CIM-XML
16 results against a previously determined 'OK' result file to check
17 whether the returned results match the expected results. If there does
18 not yet exist an 'OK' corresponding to the XML file then xmltest will
19 save the returned results as the new OK file for later use. If the
20 returned CIM-XML results don't match the existing 'OK' file a new
21 'result' file will be generated containing the erroneous results.
22
23 If no FILE is specified xmltest will use all files with a .xml exten‐
24 sion in the current directory path.
25
27 If there is no 'OK' file to compare returned CIM-XML results against
28 xmltest will generate one.
29
30 # xmltest test/getclass.Linux_OperatingSystem.xml
31
32 Running test test/getclass.Linux_OperatingSystem.xml ... OK
33 Saving response as test/getclass.Linux_OperatingSystem.OK
34
35 If the returned CIM-XML results match the existing 'OK' file xmltest
36 will signal that the test passed.
37
38 # xmltest test/getclass.Linux_OperatingSystem.xml
39
40 Running test test/getclass.Linux_OperatingSystem.xml ... Passed
41
42 If the returned CIM-XML results don't match the existing 'OK' file xml‐
43 test will signal that the tes failed and generate a 'result' file con‐
44 taining the erroneous results.
45
46 # xmltest test/getclass.Linux_OperatingSystem.xml
47
48 Running test test/getclass.Linux_OperatingSystem.xml ... FAILED
49 Check test/getclass.Linux_OperatingSystem.result for errors
50
52 Requires wbemcat on search path.
53
55 Dr. Gareth S. Bestor <bestor@us.ibm.com>
56
58 Adrian Schuur <schuur@de.ibm.com>
59
61 Does not adequately deal with additional http headers/footers caused by
62 chunking responses, which will result in false failures when comparing
63 results to existing "x.OK" files.
64
65 The SBLIM project maintains a mailing list to which you should direct
66 all questions regarding sfcb, sfcc, wbemcli, or any of the SBLIM
67 providers. To subscribe to this mailing list visit
68
69 http://lists.sourceforge.net/lists/listinfo/sblim-issues
70
71 The SBLIM Project Bug tracking page can be found at
72
73 http://sourceforge.net/tracker/?group_id=128809&atid=712784
74
76 (C) Copyright IBM Corp. 2004, 2005
77
79 The Small-Footprint CIM Broker (sfcb) is a part of the SBLIM project.
80 The most recent version is available on the web at
81
82 http://sblim.sourceforge.net/
83
85 wbemcat(1)
86
87
88
89xmltest Version 1.3.16 August 2005 xmltest(1)