Query: xmltest
OS: centos
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
xmltest(1) General Commands Manual xmltest(1)NAMExmltest - Test script to send CIM-XML (via wbemcat) to CIMOM and compare to known resultsSYNOPSISxmltest [FILE]DESCRIPTIONxmltest is a script that is used to send a raw CIM-XML test file to the sfcb CIMOM (using wbemcat) and then compares the returned CIM-XML results against a previously determined 'OK' result file to check whether the returned results match the expected results. If there does not yet exist an 'OK' corresponding to the XML file then xmltest will save the returned results as the new OK file for later use. If the returned CIM-XML results don't match the existing 'OK' file a new 'result' file will be generated containing the erroneous results. If no FILE is specified xmltest will use all files with a .xml extension in the current directory path.EXAMPLEIf there is no 'OK' file to compare returned CIM-XML results against xmltest will generate one. # xmltest test/getclass.Linux_OperatingSystem.xml Running test test/getclass.Linux_OperatingSystem.xml ... OK Saving response as test/getclass.Linux_OperatingSystem.OK If the returned CIM-XML results match the existing 'OK' file xmltest will signal that the test passed. # xmltest test/getclass.Linux_OperatingSystem.xml Running test test/getclass.Linux_OperatingSystem.xml ... Passed If the returned CIM-XML results don't match the existing 'OK' file xmltest will signal that the tes failed and generate a 'result' file containing the erroneous results. # xmltest test/getclass.Linux_OperatingSystem.xml Running test test/getclass.Linux_OperatingSystem.xml ... FAILED Check test/getclass.Linux_OperatingSystem.result for errorsPREREQUISITESRequires wbemcat on search path.AUTHORDr. Gareth S. Bestor <bestor@us.ibm.com>CONTRIBUTORSAdrian Schuur <schuur@de.ibm.com>BUGSDoes not adequately deal with additional http headers/footers caused by chunking responses, which will result in false failures when com- paring results to existing "x.OK" files. The SBLIM project maintains a mailing list to which you should direct all questions regarding sfcb, sfcc, wbemcli, or any of the SBLIM providers. To subscribe to this mailing list visit http://lists.sourceforge.net/lists/listinfo/sblim-issues The SBLIM Project Bug tracking page can be found at http://sourceforge.net/tracker/?group_id=128809&atid=712784COPYRIGHT(C) Copyright IBM Corp. 2004, 2005AVAILABILITYThe Small-Footprint CIM Broker (sfcb) is a part of the SBLIM project. The most recent version is available on the web at http://sblim.sourceforge.net/SEE ALSOwbemcat(1) xmltest Version 1.3.16 August 2005 xmltest(1)
Related Man Pages |
---|
sfcbunstage(1) - centos |
gatherctl(8) - centos |
xmltest(1) - centos |
simplexml_load_file(3) - php |
test::xml::simple(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Special Character Check in Shell script |
sed help |
file help |
Shell Script to compare xml files and print output to a file |
Shell Command to compare two xml lines while ignoring xml tags |