Create JMeter script to test z39.50 service

Description

Create a JMeter script to test the z39.50 service.

The script should execute the following steps from the Yaz client:

  1. Create connection to the server: > open lx2.loc.gov:210 (where 210 is port number)

    1. Alternatively > username>/<password>lx2.loc.gove:210/testing (where “testing” is the tenantID.

  2. Set database: > base LCDB

  3. > find water (do a search)

  4. > show 1 (show first hit)

  5. > <enter> (hit enter to move to the next record. Repeat this step a few times

There are many options to search a z39.50 service, Need to specify an attribute set. Here let’s use attribute set “1 in step 3.

  1. > find @attr 1=1007 <ISBN number> (here using attribute set #1, search by the ISBN field 1007).

For more information on supported attribute sets: https://www.loc.gov/z3950/agency/defns/bib1.html

For more information on LoC’s z39.50 service connection information: https://www.loc.gov/z3950/lcserver.html

BIB 1’s attribute set: https://www.loc.gov/z3950/agency/defns/bib1.html

 

Pick a few attribute sets and prepare corresponding data to test with. For example, if choosing 1007, prepare a list of ISBNs to pass in. If do not specify the attribute set, find a list of keywords to search with.

Environment

None

Potential Workaround

Fore more information, please consult: LoC z39.50 service information: https://www.loc.gov/z3950/lcserver.html Yaz client commands: https://software.indexdata.com/yaz/doc/yaz-client.html Yaz client download: https://www.indexdata.com/resources/software/yaz/ Attribute bib sets supported by LoC's z39.50 service: https://www.loc.gov/z3950/agency/defns/bib1.html (edited)

Attachments

1
  • 21 Jan 2025, 07:20 AM

Checklist

hide

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Development Team

PTF

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 24, 2024 at 4:42 AM
Updated January 21, 2025 at 7:20 AM
Resolved January 21, 2025 at 7:18 AM
TestRail: Cases
TestRail: Runs

Flag notifications