Invalide OAI-PMH Validationsergebnisse umsetzen [was #29756]
Siehe Log:
OAI Icon
OAI-PMH Data Provider Validation and Registration
Showing validation log
Running validation checks (step 2)
baseURL is https://trep.de.dariah.eu/1.0/oaipmh/oai
Validation only
Request logged from 134.76.162.165
Checking Identify response
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=Identify GET
PASS Administrator email address is 'support@de.dariah.eu'
PASS Correctly reports OAI-PMH protocol version 2.0
PASS baseURL supplied matches the Identify response
PASS Datestamp granularity is 'seconds'
PASS Extracted earliestDatestamp 2017-12-05T00:00:00Z
Checking ListSets response
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListSets GET
PASS responseDate has correct format: 2019-10-21T09:13:35Z
PASS Extracted 306 set names: { hdl:21.T11991/0000-0006-0039-A hdl:21.T11991/0000-0006-09F0-1 hdl:21.T11991/0000-0006-102A-9 ... }, will use setSpec &set=hdl:21.T11991/0000-0006-0039-A in tests
Checking ListIdentifiers response
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListIdentifiers&metadataPrefix=oai_dc&set=hdl:21.T11991/0000-0006-0039-A GET
PASS responseDate has correct format: 2019-10-21T09:13:36Z
PASS Good ListIdentifiers response, extracted id 'hdl:21.T11991/0000-0006-003B-8' for use in future tests.
Checking ListMetadataFormats response
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListMetadataFormats&identifier=hdl%3A21%2ET11991/0000-0006-003B-8 GET
PASS responseDate has correct format: 2019-10-21T09:13:37Z
FAIL No metadata formats are listed in the response to a ListMetadataFormats request for item hdl:21.T11991/0000-0006-003B-8.
FAIL There are no metadata formats available to use with the GetRecord request. The metadataPrefix oai_dc will be used for later tests even though it seems unsupported.
Checking GetRecord response
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=GetRecord&identifier=hdl%3A21%2ET11991/0000-0006-003B-8&metadataPrefix=oai_dc GET
PASS responseDate has correct format: 2019-10-21T09:13:37Z
PASS Datestamp in GetRecord response (2017-12-06T23:35:02Z) has the correct form for seconds granularity.
PASS Datestamp in GetRecord response (2017-12-06T23:35:02Z) matched the seconds granularity specified in the Identify response.
FAIL Expected setSpec was missing from the response. The GetRecord response for identifier hdl:21.T11991/0000-0006-003B-8 did not contain a set specification for hdl:21.T11991/0000-0006-0039-A
Checking ListRecords response
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords&from=2017-12-06T23:35:02Z&until=2017-12-06T23:35:02Z&metadataPrefix=oai_dc GET
PASS responseDate has correct format: 2019-10-21T09:13:38Z
PASS Response is well formed
FAIL ListRecords response did not include the identifier hdl:21.T11991/0000-0006-003B-8 which should have been included because both the from and until parameters were set to the datestamp of this record (2017-12-06T23:35:02Z). The from and until parameters are inclusive, see protocol spec section 2.7.1
Checking exception handling (errors)
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?junk GET
WARN Bad HTTP status code from server: 500
FAIL Can't parse malformed response.
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=junk GET
PASS Error response correctly includes error code 'badVerb'
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=GetRecord&metadataPrefix=oai_dc GET
PASS Error response correctly includes error code 'badArgument'
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=GetRecord&identifier=hdl:21.T11991/0000-0006-003B-8 GET
PASS Error response correctly includes error code 'badArgument'
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=GetRecord&identifier=invalid"id&metadataPrefix=oai_dc GET
FAIL Exception/error response did not contain error code 'badArgument or idDoesNotExist' Either the badArgument or idDoesNotExist error codes would be appropriate to report this case.
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListIdentifiers&until=junk GET
PASS Error response correctly includes error code 'badArgument'
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListIdentifiers&from=junk GET
PASS Error response correctly includes error code 'badArgument'
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListIdentifiers&resumptionToken=junk&until=2000-02-05 GET
WARN Bad HTTP status code from server: 500
FAIL Can't parse malformed response.
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords&metadataPrefix=oai_dc&from=junk GET
WARN Bad HTTP status code from server: 500
FAIL Can't parse malformed response.
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords&resumptionToken=junk GET
WARN Bad HTTP status code from server: 500
FAIL Can't parse malformed response.
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords&metadataPrefix=oai_dc&resumptionToken=junk&until=1990-01-10 GET
PASS Error response correctly includes error code 'badArgument'
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords&metadataPrefix=oai_dc&until=junk GET
WARN Bad HTTP status code from server: 500
FAIL Can't parse malformed response.
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords GET
PASS Error response correctly includes error code 'badArgument'
WARN Only 7 out of 13 error requests properly handled
Checking for version 2.0 specific exceptions
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords&metadataPrefix=oai_dc&from=2002-02-05&until=2002-02-06T05:35:00Z GET
FAIL Failed to extract error code from the response to request: verb=ListRecords&metadataPrefix=oai_dc&from=2002-02-05&until=2002-02-06T05:35:00Z The request has different granularities for the from and until parameters.
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords&metadataPrefix=oai_dc&until=2016-12-05T00:00:00Z GET
FAIL Failed to extract error code from the response to request: verb=ListRecords&metadataPrefix=oai_dc&until=2016-12-05T00:00:00Z The request specified a date one year before the earliestDatestamp given in the Identify response. There should therefore not be any records with datestamps on or before this date and a noRecordsMatch error code should be returned.
Checking that HTTP POST requests are handled correctly
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai POST verb:Identify
PASS POST test 1 for Identify was successful
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai POST identifier:hdl:21.T11991/0000-0006-003B-8 metadataPrefix:oai_dc verb:GetRecord
PASS POST test 2 for GetRecord was successful
Checking for correct use of resumptionToken (if used)
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords&metadataPrefix=oai_dc GET
FAIL A cursor value was supplied with the resumptionToken but it did not have the correct value zero for the first response. The value was '100'.
NOTE Got resumptionToken cXVlcnlUaGVuRmV0Y2g7NTs2NDY1MTpCcG5iQXpNWVNlYWhacGV1dTY3bFZBOzQzMTAxOmFvQzNhU1BWUnVtQ29QbzFoM2I3dUE7NjQ2NTM6QnBuYkF6TVlTZWFoWnBldXU2N2xWQTs0MzEwMjphb0MzYVNQVlJ1bUNvUG8xaDNiN3VBOzY0NjUyOkJwbmJBek1ZU2VhaFpwZXV1NjdsVkE7MDs=
REQUEST https://trep.de.dariah.eu/1.0/oaipmh/oai?verb=ListRecords&resumptionToken=cXVlcnlUaGVuRmV0Y2g7NTs2NDY1MTpCcG5iQXpNWVNlYWhacGV1dTY3bFZBOzQzMTAxOmFvQzNhU1BWUnVtQ29QbzFoM2I3dUE7NjQ2NTM6QnBuYkF6TVlTZWFoWnBldXU2N2xWQTs0MzEwMjphb0MzYVNQVlJ1bUNvUG8xaDNiN3VBOzY0NjUyOkJwbmJBek1ZU2VhaFpwZXV1NjdsVkE7MDs%3D GET
PASS Resumption tokens appear to work
Summary - failure
Uses https URIs (not specified in protocol) Total tests passed: 25 Total warnings: 6 Total error count: 13 Validation status: FAILED
Validation process complete
Mon Oct 21 05:13:50 2019