Hedzer Westra wrote:
>- is there an Open Source SRU/SRW tester (like
>http://oai.dlib.vt.edu/cgi-bin/Explorer/oai2.0/testoai for OAI) or a
>client that can be used to test our implementation? I only found servers
>on the SRW website.
You might want to try yaz-client. Get it from
There are pre-compiled debian packages of yaz-client for Intel systems as well as C source code.
A perfectly usable test-client for SRU is your browser, or a simple scripting around wget.
For SRU you might want to take a look at the SRU-servers listed, some of them have nice XSLT stylesheets, which render a browser into a thin SRU client. Lokk into the xml response source, fetch the XSLT and modify to your wishes.
Finally, if you want an automatized test suite, it's very easy to script around wget to use POST. I have some scripts, which POST different valid and non-valid SRW packages (stored on file system), saves the outcome, checkes for xml valididty, and diff's with pre-written expected answer packages.
Make sure that you also trigger every diagnostic by faulty requests!
This way you can effectively check your server as it progresses, a kind of unit-testing, which I found very valuable during the development of a PHP based SRW toolkit.
I attach a script as inspiration for you.
Marc Cromme, cand. polyt, Ph.D
Senior Developer, Project Manager
Index Data Aps
K°bmagergade 43, 2
1150 Copenhagen K.
tel: +45 3341 1000
fax: +45 3341 0101
INDEX DATA Means Business
for Open Source and Open Standards