Files
seiscomp-training/share/doc/caps/html/base/server-testing.html

168 lines
7.6 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Server and File Testing &#8212; CAPS: Common Acquisition Protocol Server documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/gempa.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/gempa.css?v=c960eebf" />
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=eafc0fe6" />
<script type="text/javascript" src="../_static/gempa.js"></script>
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js?v=b3ba4146"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Data Redundancy" href="redundancy.html" />
<link rel="prev" title="Server Interfaces" href="interfaces.html" />
</head>
<body>
<div class="header">
<div class="container">
<img class="background" src="../_static/icon.png"/>
<div class="content">
<span class="title">CAPS: Common Acquisition Protocol Server </span>
<span class="version">2025.254#f0c77b29e</span></h1>
</div>
</div>
</div>
<div class="nav">
<div class="container">
<div class="content"><a class="pull-right" id="sidebar-toggle">TOC</a>
<div class="related" role="navigation" aria-label="related navigation">
<ul>
<li class="right">
<a href="../genindex.html" title="General Index"
accesskey="I">
index
</a>
</li>
<li class="right">
<a href="redundancy.html" title="Data Redundancy"
accesskey="N">
next
</a>
</li>
<li class="right">
<a href="interfaces.html" title="Server Interfaces"
accesskey="P">
previous
</a>
</li>
<li class="nav-item nav-item-0">
<a href="../index.html">Home</a>
</li>
<li class="nav-item nav-item-1">
<a href="server.html" accesskey="U">CAPS Server Application</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<div class="fitted content" id="anchors-container">
<div class="body" role="main">
<section id="server-and-file-testing">
<span id="sec-caps-server-testing"></span><h1>Server and File Testing<a class="headerlink" href="#server-and-file-testing" title="Permalink to this heading"></a></h1>
<p>Command-line options support you in testing the configuration of <em>caps</em> servers.
Read the help for a complete list or options:</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>caps<span class="w"> </span>-h
</pre></div>
</div>
<p>For a general configuration test run <em>caps</em> on the command line with
<code class="docutils literal notranslate"><span class="pre">--configtest</span></code>:</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>caps<span class="w"> </span>--configtest
</pre></div>
</div>
<section id="access-configuration">
<h2>Access configuration<a class="headerlink" href="#access-configuration" title="Permalink to this heading"></a></h2>
<p>For testing the access from a specfic IP run <em>caps</em> on the command line with
<code class="docutils literal notranslate"><span class="pre">--print-access</span></code>. You may also test connections secured by user name and
password:</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>caps<span class="w"> </span>--print-access<span class="w"> </span>GE.*.*.*<span class="w"> </span><span class="m">127</span>.0.0.1
caps<span class="w"> </span>--print-access<span class="w"> </span>GE.APE.*.*<span class="w"> </span>--user<span class="w"> </span>gempa:gempa<span class="w"> </span><span class="m">127</span>.0.0.1
</pre></div>
</div>
</section>
<section id="server-operation">
<h2>Server operation<a class="headerlink" href="#server-operation" title="Permalink to this heading"></a></h2>
<p>You may also test the functioning of the caps server using <a class="reference internal" href="../apps/capstool.html#capstool"><span class="std std-ref">capstool</span></a>, the
<a class="reference internal" href="interfaces.html#sec-caps-client-interface"><span class="std std-ref">telnet interface</span></a> or the
<a class="reference internal" href="interfaces.html#sec-caps-web-interface"><span class="std std-ref">web interface</span></a>.</p>
</section>
<section id="file-testing">
<h2>File testing<a class="headerlink" href="#file-testing" title="Permalink to this heading"></a></h2>
<p>Files stored by the server in the <a class="reference internal" href="archive.html#sec-archive"><span class="std std-ref">caps archive</span></a> may be
directly tested using <a class="reference internal" href="../apps/rifftool.html#rifftool"><span class="std std-ref">rifftool</span></a> and retrieved using <a class="reference internal" href="../apps/capstool.html#capstool"><span class="std std-ref">capstool</span></a>.</p>
</section>
</section>
<div id="anchors-bottom"></div>
</div>
<div class="sidebar" role="navigation" aria-label="main navigation">
<div id="anchors-top"></div>
<div id="anchors" class="content">
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>document.getElementById('searchbox').style.display = "block"</script>
<div>
<h3><a href="../index.html">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Server and File Testing</a><ul>
<li><a class="reference internal" href="#access-configuration">Access configuration</a></li>
<li><a class="reference internal" href="#server-operation">Server operation</a></li>
<li><a class="reference internal" href="#file-testing">File testing</a></li>
</ul>
</li>
</ul>
</div>
<div>
<h4>Previous topic</h4>
<p class="topless"><a href="interfaces.html"
title="previous chapter">Server Interfaces</a></p>
</div>
<div>
<h4>Next topic</h4>
<p class="topless"><a href="redundancy.html"
title="next chapter">Data Redundancy</a></p>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/base/server-testing.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="container">
<div class="content">
Release <b></b> version <b>2025.254#f0c77b29e</b>
<div class="copyright">
&copy; Copyright <a href="https://www.gempa.de">2013, gempa GmbH.</a>
</div>
</div>
</div>
</div>
</body>
</html>