1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2 <!ENTITY ztest-options SYSTEM "ztest-options.xml">
4 <!-- $Id: yaz-ztest-man.xml,v 1.3 2004-01-17 01:20:12 adam Exp $ -->
5 <refentry id="yaz-ztest">
8 <refentrytitle>yaz-ztest</refentrytitle>
9 <manvolnum>8</manvolnum>
13 <refname>yaz-ztest</refname>
14 <refpurpose>Z39.50 Test Server</refpurpose>
19 <command>yaz-ztest</command>
20 <arg choice="opt"><option>-install</option></arg>
21 <arg choice="opt"><option>-installa</option></arg>
22 <arg choice="opt"><option>-remove</option></arg>
23 <arg choice="opt"><option>-a <replaceable>file</replaceable></option></arg>
24 <arg choice="opt"><option>-v <replaceable>level</replaceable></option></arg>
25 <arg choice="opt"><option>-l <replaceable>file</replaceable></option></arg>
26 <arg choice="opt"><option>-u <replaceable>uid</replaceable></option></arg>
27 <arg choice="opt"><option>-c <replaceable>config</replaceable></option></arg>
28 <arg choice="opt"><option>-t <replaceable>minutes</replaceable></option></arg>
29 <arg choice="opt"><option>-k <replaceable>kilobytes</replaceable></option></arg>
30 <arg choice="opt"><option>-d <replaceable>daemon</replaceable></option></arg>
31 <arg choice="opt"><option>-w <replaceable>dir</replaceable></option></arg>
32 <arg choice="opt"><option>-p <replaceable>pidfile</replaceable></option></arg>
33 <arg choice="opt"><option>-ziDST1</option></arg>
34 <arg choice="opt" rep="repeat">listener-spec</arg>
38 <command>yaz-ztest-ssl</command>
39 <arg rep="repeat" choice="opt"><option>option</option></arg>
40 <arg choice="opt" rep="repeat">addr</arg>
44 <refsect1><title>DESCRIPTION</title>
46 <command>yaz-ztest</command> is a Z39.50 test server that uses
47 the YAZ frontend server API.
48 The server acts as a real Z39.50 server but does not use a database.
49 It returns a random hit count and returns a subset of a few built-in
53 <command>yaz-ztest-ssl</command> is identical to
54 <command>yaz-ztest</command> except that it supports SSL transport.
57 The <replaceable>listener-spec</replaceable> consists of a transport
58 mode followed by a colon, followed by a listener address. The
59 transport mode is either <literal>tcp</literal>, <literal>unix</literal>,
60 or <literal>ssl</literal> (<command>yaz-ztest-ssl</command> only).
63 For TCP and SSL, an address has the form:
65 hostname | IP-number [ : portnumber ]
69 For UNIX local socket the address is the filename of the local socket.
73 <title>OPTIONS</title>
76 <refsect1><title>FILES</title>
78 <filename>yaz-<version>/ztest/yaz-ztest.c</filename>
81 <filename>yaz-<version>/include/yaz/backend.h</filename>
84 <refsect1><title>SEE ALSO</title>
87 <refentrytitle>yaz</refentrytitle>
88 <manvolnum>7</manvolnum></citerefentry>
91 Section "Generic server" in the YAZ manual.
96 <!-- Keep this comment at the end of the file
101 sgml-minimize-attributes:nil
102 sgml-always-quote-attributes:t
105 sgml-parent-document:nil
106 sgml-local-catalogs: nil
107 sgml-namecase-general:t