Download Pazpar2 - User's Guide and Reference
Transcript
Pazpar2 - User’s Guide and Reference 43 / 52 Synopsis pazpar2_play [-v level] [file] [server-addr] DESCRIPTION pazpar2_play is a utility that plays recorded HTTP activity against pazpar2. Pazpar2 may record activity to a file with option -R. This utilility allows you to play the activity again against pazpar2. Pazpar2 must use predictable sessions in order for this to work. This means that either Pazpar2 should be executed with option -R or with debug mode (-X). OPTIONS -v level Sets log level (YAZ log level system). EXAMPLES Typical usage. First step is to enable recording in pazpar2. Something like: pazpar2 -f config.xml -R /tmp/recording.log For RPM version of Pazpar2, add/modify /etc/sysconfig/pazpar2 and modify OPTIONS. For Debian version of Pazpar2 add/modify /etc/defaults/pazpar2 and modify OPTIONS. At some point we want to run recording.. Perhaps against another Pazpar2 instance for analysis. We start Pazpar2 with -R- to ensure that sessions are numbered in the same way initial recording. pazpar2 -f config.xml -R - We can now run the player against it: pazpar2_play /tmp/recording.log localhost:9004 SEE ALSO Pazpar2 daemon: pazpar2(8)