Name

backend_test — Metaproxy Backend Test Z39.50 Server Module

DESCRIPTION

A pseudo Z39.50 server for test purposes. Similar to yaz-ztest. It responds to search requests with a fixed number of hits (42), and to present requests with dummy records.

It supports record syntaxes XML (element set with prefix FF), MARC21/USMARC (element set B, F) and OPAC (element set B, F). For element-set SD, a surrogate diagnostic is returned for each record. In all other cases where diagnostics are returned, they are non-surrogate diagnostics. The module is intended for testing the backend filter framework, and the test suite for this module uses the test client to send requests and check the responses.

The module is not intended for production use.

SCHEMA

# Metaproxy XML config file schemas
#
#   Copyright (C) Index Data
#   See the LICENSE file for details.

namespace mp = "http://indexdata.com/metaproxy"

filter_backend_test =
  attribute type { "backend_test" },
  attribute id { xsd:NCName }?,
  attribute name { xsd:NCName }?

   

EXAMPLES

A typical configuration looks like this:

    <filter type="backend_test"/>

   

SEE ALSO

metaproxy(1)

COPYRIGHT

Copyright (C) 2005-2026 Index Data