Skip to content

Instantly share code, notes, and snippets.

@gustavofonseca
Created October 2, 2017 14:52
Show Gist options
  • Save gustavofonseca/e48681562225fbd50901e19b9b01a9b7 to your computer and use it in GitHub Desktop.
Save gustavofonseca/e48681562225fbd50901e19b9b01a9b7 to your computer and use it in GitHub Desktop.
Open Archives Initiative :: Protocol for Metadata Harvesting v2.0
RE Protocol Tester 1.47 :: UCT AIM :: September 2014
(1) Testing : Identify
URL : https://oaipmh.scielo.org/br/?verb=Identify
Test Result : OK
---- [ Repository Name = SciELO - Scientific Electronic Library Online ]
---- [ Protocol Version = 2.0 ]
---- [ Base URL = https://oaipmh.scielo.org/br/ ]
---- [ Admin Email = scielo@scielo.org ]
---- [ Granularity = YYYY-MM-DD ]
---- [ Earliest Datestamp = 1998-08-01 ]
(2) Testing : Identify (illegal_parameter)
URL : https://oaipmh.scielo.org/br/?verb=Identify&test=test
Test Result : OK
(3) Testing : ListMetadataFormats
URL : https://oaipmh.scielo.org/br/?verb=ListMetadataFormats
Test Result : OK
---- [ Only oai_dc supported ]
(4) Testing : ListSets
URL : https://oaipmh.scielo.org/br/?verb=ListSets
Test Result : OK
---- [ Sample Set Spec = openaire ]
---- [ Set Resumption Token = :::101:100: ]
(5) Testing : ListSets (resumptionToken)
URL : https://oaipmh.scielo.org/br/?verb=ListSets&resumptionToken=:::101:100:
Test Result : OK
(6) Testing : ListIdentifiers (oai_dc)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc
Test Result : OK
---- [ Sample Identifier = S0100-879X1998000800006 ]
---- [ Identifier Resumption Token = :::101:100:oai_dc ]
(7) Testing : ListIdentifiers (resumptionToken)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&resumptionToken=:::101:100:oai_dc
Test Result : OK
(8) Testing : ListIdentifiers (resumptionToken, oai_dc)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&resumptionToken=:::101:100:oai_dc&metadataPrefix=oai_dc
Test Result : OK
(9) Testing : ListIdentifiers (oai_dc, from/until)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2000-01-01&until=2000-01-01
Test Result : OK
(10) Testing : ListIdentifiers (oai_dc, set, from/until)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&set=openaire&from=2000-01-01&until=2000-01-01
Test Result : OK
(11) Testing : ListIdentifiers (oai_dc, illegal_set, illegal_from/until)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&set=really_wrong_set&from=some_random_date&until=some_random_date
Test Result : OK
(12) Testing : ListIdentifiers (oai_dc, from granularity != until granularity)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2001-01-01&until=2002-01-01T00:00:00Z
Test Result : OK
(13) Testing : ListIdentifiers (oai_dc, from > until)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2000-01-01&until=1999-01-01
Test Result : OK
(14) Testing : ListIdentifiers ()
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers
Test Result : OK
(15) Skipping : ListIdentifiers (metadataPrefix)
This test is being skipped because it cannot or should not be performed.
(16) Testing : ListIdentifiers (illegal_mdp)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=illegal_mdp
Test Result : OK
(17) Testing : ListIdentifiers (mdp, mdp)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&metadataPrefix=oai_dc
Test Result : OK
(18) Testing : ListIdentifiers (illegal_resumptiontoken)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&resumptionToken=junktoken
Test Result : OK
(19) Testing : ListIdentifiers (oai_dc, from YYYY-MM-DD)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2001-01-01
Test Result : OK
(20) Testing : ListIdentifiers (oai_dc, from YYYY-MM-DDThh:mm:ssZ)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2001-01-01T00:00:00Z
Test Result : OK
(21) Testing : ListIdentifiers (oai_dc, from YYYY)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2001
Test Result : OK
(22) Testing : ListMetadataFormats (identifier)
URL : https://oaipmh.scielo.org/br/?verb=ListMetadataFormats&identifier=S0100-879X1998000800006
Test Result : OK
---- [ Only oai_dc supported ]
(23) Testing : ListMetadataFormats (illegal_id)
URL : https://oaipmh.scielo.org/br/?verb=ListMetadataFormats&identifier=really_wrong_id
Test Result : OK
(24) Skipping : GetRecord (identifier, metadataPrefix)
This test is being skipped because it cannot or should not be performed.
(25) Testing : GetRecord (identifier, oai_dc)
URL : https://oaipmh.scielo.org/br/?verb=GetRecord&identifier=S0100-879X1998000800006&metadataPrefix=oai_dc
Test Result : OK
(26) Testing : GetRecord (identifier)
URL : https://oaipmh.scielo.org/br/?verb=GetRecord&identifier=S0100-879X1998000800006
Test Result : OK
(27) Testing : GetRecord (identifier, illegal_mdp)
URL : https://oaipmh.scielo.org/br/?verb=GetRecord&identifier=S0100-879X1998000800006&metadataPrefix=really_wrong_mdp
Test Result : OK
(28) Testing : GetRecord (oai_dc)
URL : https://oaipmh.scielo.org/br/?verb=GetRecord&metadataPrefix=oai_dc
Test Result : OK
(29) Testing : GetRecord (illegal_id, oai_dc)
URL : https://oaipmh.scielo.org/br/?verb=GetRecord&identifier=really_wrong_id&metadataPrefix=oai_dc
Test Result : OK
(30) Testing : GetRecord (invalid_id, oai_dc)
URL : https://oaipmh.scielo.org/br/?verb=GetRecord&identifier=invalid\"id&metadataPrefix=oai_dc
Test Result : OK
(31) Testing : ListRecords (oai_dc, from/until)
URL : https://oaipmh.scielo.org/br/?verb=ListRecords&metadataPrefix=oai_dc&from=2000-01-01&until=2000-01-01
Test Result : OK
(32) Skipping : ListRecords (resumptionToken)
This test is being skipped because it cannot or should not be performed.
(33) Skipping : ListRecords (metadataPrefix, from/until)
This test is being skipped because it cannot or should not be performed.
(34) Testing : ListRecords (oai_dc, illegal_set, illegal_from/until)
URL : https://oaipmh.scielo.org/br/?verb=ListRecords&metadataPrefix=oai_dc&set=really_wrong_set&from=some_random_date&until=some_random_date
Test Result : OK
(35) Testing : ListRecords
URL : https://oaipmh.scielo.org/br/?verb=ListRecords
Test Result : OK
(36) Testing : ListRecords (oai_dc, from granularity != until granularity)
URL : https://oaipmh.scielo.org/br/?verb=ListRecords&metadataPrefix=oai_dc&from=2001-01-01&until=2002-01-01T00:00:00Z
Test Result : OK
(37) Testing : ListRecords (oai_dc, until before earliestDatestamp)
URL : https://oaipmh.scielo.org/br/?verb=ListRecords&metadataPrefix=oai_dc&until=1997-08-01
Test Result : OK
(38) Testing : ListRecords (oai_dc)
URL : https://oaipmh.scielo.org/br/?verb=ListRecords&metadataPrefix=oai_dc
Test Result : OK
(39) Testing : ListRecords (illegal_resumptiontoken)
URL : https://oaipmh.scielo.org/br/?verb=ListRecords&resumptionToken=junktoken
Test Result : OK
(40) Testing : ListIdentifiers (oai_dc, set)
URL : https://oaipmh.scielo.org/br/?verb=ListIdentifiers&metadataPrefix=oai_dc&set=openaire
Test Result : OK
(41) Testing : GetRecord (identifier, oai_dc)
URL : https://oaipmh.scielo.org/br/?verb=GetRecord&identifier=S0100-879X1998000800006&metadataPrefix=oai_dc
Test Result : OK
**** [ERROR] Could not find setSpec in header ! set = openaire, setSpecs=1414-431X,
(42) Testing : IllegalVerb
URL : https://oaipmh.scielo.org/br/?verb=IllegalVerb
Test Result : OK
---- Total Errors : 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment