X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-ztest-man.xml;h=6d1cc23d5a3ea5c872f92e077959f359c8ad1386;hb=02b4f0ab937b62d892d3e0918439da770fe720c2;hp=a6002e662fa5e5d7f213ad89abfc375118243f3b;hpb=c91efbe35fe8ff53aeafedf0ffb8f1b90841ecdc;p=yaz-moved-to-github.git diff --git a/doc/yaz-ztest-man.xml b/doc/yaz-ztest-man.xml index a6002e6..6d1cc23 100644 --- a/doc/yaz-ztest-man.xml +++ b/doc/yaz-ztest-man.xml @@ -53,7 +53,7 @@ - For UNIX local socket the address is the filename of the local socket. + For UNIX local socket, the address is the filename of the local socket. @@ -68,8 +68,24 @@ integer value of that term is used as hit count. This allows testers to return any number of hits. yaz-ztest includes 24 MARC records for testing. Hit counts exceeding 24 will make - yaz-ztest return the same record batch over and over.. - So record at position 1, 25, 49, etc .. are equivalent. + yaz-ztest return the same record batch over and over. + So record at position 1, 25, 49, etc. are equivalent. + + + For XML, if no element set is given or element has value "marcxml", + MARCXML is returned (each of the 24 dummy records converted from + ISO2709 to XML). For element set OP, then OPAC XML is returned. + + + yaz-ztest may also return predefined XML records (for testing). + This is enabled if YAZ_ZTEST_XML_FETCH environment + variable is defined. A record is fetched from a file (one record per file). + The path for the filename is + FE.d.xml + where F is the YAZ_ZTEST_XML_FETCH value + (possibly + empty), E is element-set, + d is record position (starting from 1). The following databases are honored by yaz-ztest: @@ -92,7 +108,7 @@ The value of the delay may either be a fixed floating point value which specifies the delay in seconds. Alternatively the value may be given as two floating point numbers - separated by colon, which wil make yaz-ztest perform + separated by colon, which will make yaz-ztest perform a random sleep between the first and second number. @@ -133,15 +149,7 @@