LDP Test Suite Summary

Overall Coverage Bar Charts

Passed TestsFailed TestsSkipped Tests</svg>
NonRDFSourceTestDirectContainerTestMemberResourceTest</svg>

Test Suite NameRevisionReport DateSkipped TestsMUST RequirementsSHOULD RequirementsMAY Requirements
LDP Test Suitea127cefWed Sep 03 06:51:25 PDT 2014(30/116) of the total tests.51/77 Passed
4/77 Failed
22/77 Skipped
12/28 Passed
8/28 Failed
8/28 Skipped
3/11 Passed
8/11 Failed
0/11 Skipped

Included Groups for LDP Test Suite

Excluded Groups for LDP Test Suite

No groups of this type found in the test suite

Methods called

Go To Skipped Tests
Go To Passed Tests
Go To Indirect Tests

Failed Test CasesGroupsDescription of Test Method
NonRDFSource-PostResourceGetBinary[MAY]LDP servers may host a mixture of LDP-RSs and LDP-NRs. For example, it is common for LDP servers to need to host binary or text resources that do not have useful RDF representations.
DirectContainer-RelativeUriResolutionPost
WG Approval Pending
[MUST]LDP servers MUST assign the default base-URI for [RFC3987] relative-URI resolution to be the HTTP Request-URI when the resource already exists, and to the URI of the created resource when the request results in the creation of a new resource.
DirectContainer-PutRequiresIfMatch[SHOULD]LDP clients SHOULD use the HTTP If-Match header and HTTP ETags to ensure it isn’t modifying a resource that has changed since the client last retrieved its representation. LDP servers SHOULD require the HTTP If-Match header and HTTP ETags to detect collisions.
DirectContainer-RequestedInteractionModelCreateNotAllowed
WG Approval Pending
[MUST]LDP servers that successfully create a resource from a RDF representation in the request entity body MUST honor the client's requested interaction model(s). The created resource can be thought of as an RDF named graph [rdf11-concepts]. If any model cannot be honored, the server MUST fail the request.
NonRDFSource-PostResourceAndCheckAssociatedResource[MAY]Upon successful creation of an LDP-NR (HTTP status code of 201-Created and URI indicated by Location response header), LDP servers may create an associated LDP-RS to contain data about the newly created LDP-NR. If a LDP server creates this associated LDP-RS it must indicate its location on the HTTP response using the HTTP Link response header with link relation describedby and href to be the URI of the associated LDP-RS resource.
DirectContainer-UseMemberPredicate[ldpMember, SHOULD]LDP Direct Containers SHOULD use the ldp:member predicate as an LDPC's membership predicate if there is no obvious predicate from an application vocabulary to use.
NonRDFSource-PutRequiresIfMatch[SHOULD]LDP clients SHOULD use the HTTP If-Match header and HTTP ETags to ensure it isn’t modifying a resource that has changed since the client last retrieved its representation. LDP servers SHOULD require the HTTP If-Match header and HTTP ETags to detect collisions.
NonRDFSource-PostResourceAndCheckLink[MAY]LDP servers exposing an LDP Non-RDF Source may advertise this by exposing a HTTP Link header with a target URI of http://www.w3.org/ns/ldp#NonRDFSource, and a link relation type of type (that is, rel='type') in responses to requests made to the LDP-NR's HTTP Request-URI.
DirectContainer-RejectPutModifyingContainmentTriples[SHOULD]LDP servers SHOULD NOT allow HTTP PUT to update an LDPC’s containment triples; if the server receives such a request, it SHOULD respond with a 409 (Conflict) status code.
NonRDFSource-PostResourceAndGetFromContainer
WG Approval Pending
[MAY]LDP servers may accept an HTTP POST of non-RDF representations (LDP-NRs) for creation of any kind of resource, for example binary resources.
DirectContainer-TypeRdfSource
WG Approval Pending
[MAY]The representation of a LDP-RS MAY have an rdf:type of ldp:RDFSource for Linked Data Platform RDF Source.
MemberResource-TypeRdfSource
WG Approval Pending
[MAY]The representation of a LDP-RS MAY have an rdf:type of ldp:RDFSource for Linked Data Platform RDF Source.
NonRDFSource-LdpLinkHeader[MUST]LDP servers exposing LDPRs MUST advertise their LDP support by exposing a HTTP Link header with a target URI of http://www.w3.org/ns/ldp#Resource, and a link relation type of type (that is, rel='type') in all responses to requests made to the LDPR's HTTP Request-URI.
NonRDFSource-PostResourceGetMetadataAndBinary[MAY]Each LDP Non-RDF Source must also be a conforming LDP Resource. LDP Non-RDF Sources may not be able to fully express their state using RDF.
NonRDFSource-GetResponseHeaders[MUST]LDP servers MUST support the HTTP response headers defined in section 4.2.8 HTTP OPTIONS.
DirectContainer-RestrictUriReUseSlug[SHOULD]LDP servers that allow member creation via POST SHOULD NOT re-use URIs.
NonRDFSource-PostNonRDFSource[MAY]LDP servers may accept an HTTP POST of non-RDF representations (LDP-NRs) for creation of any kind of resource, for example binary resources.
DirectContainer-RestrictPutReUseUri[SHOULD]LDP servers that allow LDPR creation via PUT SHOULD NOT re-use URIs. For RDF representations (LDP-RSs),the created resource can be thought of as an RDF named graph [rdf11-concepts].
MemberResource-PutRequiresIfMatch[SHOULD]LDP clients SHOULD use the HTTP If-Match header and HTTP ETags to ensure it isn’t modifying a resource that has changed since the client last retrieved its representation. LDP servers SHOULD require the HTTP If-Match header and HTTP ETags to detect collisions.
DirectContainer-PreferMembershipTriples
WG Approval Pending
[SHOULD]LDP servers SHOULD respect all of a client's LDP-defined hints, for example which subsets of LDP-defined state the client is interested in processing, to influence the set of triples returned in representations of an LDPC, particularly for large LDPCs. See also [LDP-PAGING].

Back to Top


Skipped Test CasesGroupsDescription of Test Method
MemberResource-PutPropertiesNotPersisted
WG Approval Pending
[MUST]If an otherwise valid HTTP PUT request is received that contains properties the server chooses not to persist, e.g. unknown content, LDP servers MUST respond with an appropriate 4xx range status code [HTTP11].
NonRDFSource-PreconditionRequiredStatusCode[MUST]LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].
MemberResource-PreconditionRequiredStatusCode[MUST]LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].
MemberResource-PublishConstraintsUnknownProp
WG Approval Pending
[MUST]LDP servers MUST publish any constraints on LDP clients’ ability to create or update LDPRs, by adding a Link header with rel='describedby' [RFC5988] to all responses to requests which fail due to violation of those constraints.
DirectContainer-PublishConstraintsUnknownProp
WG Approval Pending
[MUST]LDP servers MUST publish any constraints on LDP clients’ ability to create or update LDPRs, by adding a Link header with rel='describedby' [RFC5988] to all responses to requests which fail due to violation of those constraints.
DirectContainer-ResponsePropertiesNotPersisted
WG Approval Pending
[SHOULD]LDP servers SHOULD provide a corresponding response body containing information about which properties could not be persisted. The format of the 4xx response body is not constrained by LDP. LDP servers expose these application-specific constraints as described in section 4.2.1 General.
DirectContainer-PutSimpleUpdate
WG Approval Pending
[MUST]LDP servers SHOULD allow clients to update resources without requiring detailed knowledge of server-specific constraints. This is a consequence of the requirement to enable simple creation and modification of LDPRs.
MemberResource-RelativeUriResolutionPut
WG Approval Pending
[MUST]LDP servers MUST assign the default base-URI for [RFC3987] relative-URI resolution to be the HTTP Request-URI when the resource already exists, and to the URI of the created resource when the request results in the creation of a new resource.
MemberResource-PutReadOnlyProperties4xxStatus
WG Approval Pending
[MUST]If an otherwise valid HTTP PUT request is received that attempts to change properties the server does not allow clients to modify, LDP servers MUST respond with a 4xx range status code (typically 409 Conflict)
DirectContainer-PutPropertiesNotPersisted
WG Approval Pending
[MUST]If an otherwise valid HTTP PUT request is received that contains properties the server chooses not to persist, e.g. unknown content, LDP servers MUST respond with an appropriate 4xx range status code [HTTP11].
DirectContainer-IsHttp11Manual[MANUAL, MUST]LDP servers MUST at least be HTTP/1.1 conformant servers [HTTP11].
DirectContainer-ReUseVocabularies[MANUAL, SHOULD]LDP-RSs SHOULD reuse existing vocabularies instead of creating their own duplicate vocabulary terms. In addition to this general rule, some specific cases are covered by other conformance rules.
MemberResource-4xxErrorHasResponseBody
WG Approval Pending
[SHOULD]LDP servers SHOULD provide a corresponding response body containing information about which properties could not be persisted. The format of the 4xx response body is not constrained by LDP.
MemberResource-RestrictClientInference[MANUAL, MUST]LDP servers MUST NOT require LDP clients to implement inferencing in order to recognize the subset of content defined by LDP. Other specifications built on top of LDP may require clients to implement inferencing [rdf11-concepts]. The practical implication is that all content defined by LDP must be explicitly represented, unless noted otherwise within this document.
MemberResource-IsHttp11Manual[MANUAL, MUST]LDP servers MUST at least be HTTP/1.1 conformant servers [HTTP11].
DirectContainer-UseStandardVocabularies[MANUAL, SHOULD]LDP-RSs predicates SHOULD use standard vocabularies such as Dublin Core [DC-TERMS], RDF [rdf11-concepts] and RDF Schema [rdf-schema], whenever possible.
DirectContainer-4xxErrorHasResponseBody
WG Approval Pending
[SHOULD]LDP servers SHOULD provide a corresponding response body containing information about which properties could not be persisted. The format of the 4xx response body is not constrained by LDP.
NonRDFSource-DeleteNonRDFSourceDeletesAssociatedResource
WG Approval Pending
[MUST]When a contained LDPR is deleted, and the LDPC server created anassociated LDP-RS (see the LDPC POST section), the LDPC server must alsodelete the associated LDP-RS it created.
NonRDFSource-IsHttp11Manual[MANUAL, MUST]LDP servers MUST at least be HTTP/1.1 conformant servers [HTTP11].
MemberResource-ReUseVocabularies[MANUAL, SHOULD]LDP-RSs SHOULD reuse existing vocabularies instead of creating their own duplicate vocabulary terms. In addition to this general rule, some specific cases are covered by other conformance rules.
DirectContainer-PublishConstraintsReadOnlyProp
WG Approval Pending
[MUST]LDP servers MUST publish any constraints on LDP clients’ ability to create or update LDPRs, by adding a Link header with rel='describedby' [RFC5988] to all responses to requests which fail due to violation of those constraints.
DirectContainer-PreconditionRequiredStatusCode[MUST]LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].
DirectContainer-PutReadOnlyProperties4xxStatus
WG Approval Pending
[MUST]If an otherwise valid HTTP PUT request is received that attempts to change properties the server does not allow clients to modify, LDP servers MUST respond with a 4xx range status code (typically 409 Conflict)
DirectContainer-PutReplacesResource[MUST]If a HTTP PUT is accepted on an existing resource, LDP servers MUST replace the entire persistent state of the identified resource with the entity representation in the body of the request.
MemberResource-UseStandardVocabularies[MANUAL, SHOULD]LDP-RSs predicates SHOULD use standard vocabularies such as Dublin Core [DC-TERMS], RDF [rdf11-concepts] and RDF Schema [rdf-schema], whenever possible.
DirectContainer-RelativeUriResolutionPut
WG Approval Pending
[MUST]LDP servers MUST assign the default base-URI for [RFC3987] relative-URI resolution to be the HTTP Request-URI when the resource already exists, and to the URI of the created resource when the request results in the creation of a new resource.
MemberResource-ResponsePropertiesNotPersisted
WG Approval Pending
[SHOULD]LDP servers SHOULD provide a corresponding response body containing information about which properties could not be persisted. The format of the 4xx response body is not constrained by LDP. LDP servers expose these application-specific constraints as described in section 4.2.1 General.
MemberResource-PublishConstraintsReadOnlyProp
WG Approval Pending
[MUST]LDP servers MUST publish any constraints on LDP clients’ ability to create or update LDPRs, by adding a Link header with rel='describedby' [RFC5988] to all responses to requests which fail due to violation of those constraints.
DirectContainer-RestrictClientInference[MANUAL, MUST]LDP servers MUST NOT require LDP clients to implement inferencing in order to recognize the subset of content defined by LDP. Other specifications built on top of LDP may require clients to implement inferencing [rdf11-concepts]. The practical implication is that all content defined by LDP must be explicitly represented, unless noted otherwise within this document.
NonRDFSource-OptionsHasSameLinkHeader
WG Approval Pending
[MUST]When responding to requests whose request-URI is a LDP-NR with anassociated LDP-RS, a LDPC server must provide the same HTTP Link responseheader as is required in the create response

Back to Top


Passed Test CasesGroupsDescription of Test Method
DirectContainer-PreferContainmentTriples
WG Approval Pending
[SHOULD]LDP servers SHOULD respect all of a client's LDP-defined hints, for example which subsets of LDP-defined state the client is interested in processing, to influence the set of triples returned in representations of an LDPC, particularly for large LDPCs. See also [LDP-PAGING].
DirectContainer-PostResponseStatusAndLocation[MUST]If the resource was created successfully, LDP servers MUST respond with status code 201 (Created) and the Location header set to the new resource’s URL. Clients shall not expect any representation in the response entity body on a 201 (Created) response.
DirectContainer-PatchMethod[SHOULD]LDP servers are RECOMMENDED to support HTTP PATCH as the preferred method for updating an LDPC's empty-container triples.
DirectContainer-PostNoSlug
WG Approval Pending
[SHOULD]LDP servers SHOULD assign the URI for the resource to be created using server application specific rules in the absence of a client hint.
MemberResource-PutBadETag[MUST]LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].
DirectContainer-PutToCreate[MAY]LDP servers MAY choose to allow the creation of new resources using HTTP PUT.
DirectContainer-ETagHeadersHead[MUST]LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.
DirectContainer-MemberResourceTriple[MUST]Each LDP Direct Container representation MUST contain exactly one triple whose subject is the LDPC URI, whose predicate is the ldp:membershipResource, and whose object is the LDPC's membership-constant-URI. Commonly the LDPC's URI is the membership-constant-URI, but LDP does not require this.
NonRDFSource-OptionsAllowHeader[MUST]LDP servers MUST indicate their support for HTTP Methods by responding to a HTTP OPTIONS request on the LDPR’s URL with the HTTP Method tokens in the HTTP response header Allow.
DirectContainer-CreateWithoutConstraints[SHOULD]LDP servers SHOULD allow clients to create new resources without requiring detailed knowledge of application-specific constraints. This is a consequence of the requirement to enable simple creation and modification of LDPRs. LDP servers expose these application-specific constraints as described in section 4.2.1 General.
NonRDFSource-ConditionFailedStatusCode[MUST]LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].
MemberResource-ETagHeadersHead[MUST]LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.
MemberResource-PutReplacesResource[MUST]If a HTTP PUT is accepted on an existing resource, LDP servers MUST replace the entire persistent state of the identified resource with the entity representation in the body of the request.
MemberResource-GetResource[MUST]LDP servers MUST provide an RDF representation for LDP-RSs. The HTTP Request-URI of the LDP-RS is typically the subject of most triples in the response.
MemberResource-GetResourceAcceptTurtle[MUST]LDP servers must provide a text/turtle representation of the requested LDP-RS whenever HTTP content negotiation does not force another outcome [turtle]. In other words, if the server receives a GET request whose Request-URI identifies a LDP-RS, and either text/turtle has the highest relative quality factor (q= value) in the Accept request header or that header is absent, then an LDP server has to respond with Turtle.
MemberResource-ContainsRdfType[SHOULD]LDP-RSs representations SHOULD have at least one rdf:type set explicitly. This makes the representations much more useful to client applications that don’t support inferencing.
DirectContainer-GetResponseHeaders[MUST]LDP servers MUST support the HTTP response headers defined in section 4.2.8 HTTP OPTIONS.
NonRDFSource-PutBadETag[MUST]LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].
NonRDFSource-ETagHeadersHead[MUST]LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.
MemberResource-Head[MUST]LDP servers MUST support the HTTP HEAD method.
DirectContainer-Options[MUST]LDP servers MUST support the HTTP OPTIONS method.
DirectContainer-ServerHonorsSlug
WG Approval Pending
[MAY]LDP servers MAY allow clients to suggest the URI for a resource created through POST, using the HTTP Slug header as defined in [RFC5023]. LDP adds no new requirements to this usage, so its presence functions as a client hint to the server providing a desired string to be incorporated into the server's final choice of resource URI.
MemberResource-PutSimpleUpdate
WG Approval Pending
[MUST]LDP servers SHOULD allow clients to update resources without requiring detailed knowledge of server-specific constraints. This is a consequence of the requirement to enable simple creation and modification of LDPRs.
MemberResource-AcceptPatchHeader[MUST]LDP servers that support PATCH MUST include an Accept-Patch HTTP response header [RFC5789] on HTTP OPTIONS requests, listing patch document media type(s) supported by the server.
NonRDFSource-Options[MUST]LDP servers MUST support the HTTP OPTIONS method.
DirectContainer-PostResourceUpdatesTriples[MUST]When a successful HTTP POST request to an LDPC results in the creation of an LDPR, the LDPC MUST update its membership triples to reflect that addition, and the resulting membership triple MUST be consistent with any LDP-defined predicates it exposes.
DirectContainer-Head[MUST]LDP servers MUST support the HTTP HEAD method.
MemberResource-OptionsAllowHeader[MUST]LDP servers MUST indicate their support for HTTP Methods by responding to a HTTP OPTIONS request on the LDPR’s URL with the HTTP Method tokens in the HTTP response header Allow.
MemberResource-ETagHeadersGet
WG Approval Pending
[MUST]LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.
DirectContainer-GetResourceAcceptTurtle[MUST]LDP servers must provide a text/turtle representation of the requested LDP-RS whenever HTTP content negotiation does not force another outcome [turtle]. In other words, if the server receives a GET request whose Request-URI identifies a LDP-RS, and either text/turtle has the highest relative quality factor (q= value) in the Accept request header or that header is absent, then an LDP server has to respond with Turtle.
DirectContainer-AcceptPatchHeader[MUST]LDP servers that support PATCH MUST include an Accept-Patch HTTP response header [RFC5789] on HTTP OPTIONS requests, listing patch document media type(s) supported by the server.
DirectContainer-LdpLinkHeader[MUST]LDP servers exposing LDPRs MUST advertise their LDP support by exposing a HTTP Link header with a target URI of http://www.w3.org/ns/ldp#Resource, and a link relation type of type (that is, rel='type') in all responses to requests made to the LDPR's HTTP Request-URI.
MemberResource-GetResponseHeaders[MUST]LDP servers MUST support the HTTP response headers defined in section 4.2.8 HTTP OPTIONS.
NonRDFSource-GetResource[MUST]LDP servers MUST support the HTTP GET Method for LDPRs
DirectContainer-RestrictUriReUseNoSlug[SHOULD]LDP servers that allow member creation via POST SHOULD NOT re-use URIs.
DirectContainer-GetResource[MUST]LDP servers MUST provide an RDF representation for LDP-RSs. The HTTP Request-URI of the LDP-RS is typically the subject of most triples in the response.
DirectContainer-AcceptTurtle[MUST]LDP servers MUST accept a request entity body with a request header of Content-Type with value of text/turtle [turtle].
NonRDFSource-Head[MUST]LDP servers MUST support the HTTP HEAD method.
MemberResource-LdpLinkHeader[MUST]LDP servers exposing LDPRs MUST advertise their LDP support by exposing a HTTP Link header with a target URI of http://www.w3.org/ns/ldp#Resource, and a link relation type of type (that is, rel='type') in all responses to requests made to the LDPR's HTTP Request-URI.
DirectContainer-HttpLinkHeader[MUST]LDP servers exposing LDPCs MUST advertise their LDP support by exposing a HTTP Link header with a target URI matching the type of container (see below) the server supports, and a link relation type of type (that is, rel='type') in all responses to requests made to the LDPC's HTTP Request-URI.
DirectContainer-DeleteResourceUpdatesTriples[MUST]When an LDPR identified by the object of a membership triple which was originally created by the LDP-DC is deleted, the LDPC server MUST also remove the corresponding membership triple.
DirectContainer-PutBadETag[MUST]LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].
DirectContainer-RequestedInteractionModelHeaders
WG Approval Pending
[MUST]LDP servers that successfully create a resource from a RDF representation in the request entity body MUST honor the client's requested interaction model(s). The created resource can be thought of as an RDF named graph [rdf11-concepts]. If any model cannot be honored, the server MUST fail the request.
NonRDFSource-ETagHeadersGet
WG Approval Pending
[MUST]LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.
DirectContainer-ETagHeadersGet
WG Approval Pending
[MUST]LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.
DirectContainer-MemberRelationOrIsMemberOfRelationTripleExists[MUST]Each LDP Direct Container representation must contain exactly one triple whose subject is the LDPC URI, and whose predicate is either ldp:hasMemberRelation or ldp:isMemberOfRelation. The object of the triple is constrained by other sections, such as ldp:hasMemberRelation or ldp:isMemberOfRelation, based on the membership triple pattern used by the container.
DirectContainer-PostContainer[MUST]When a successful HTTP POST request to an LDPC results in the creation of an LDPR, a containment triple MUST be added to the state of LDPC.
DirectContainer-ConditionFailedStatusCode[MUST]LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].
DirectContainer-RdfTypeLdpContainer
WG Approval Pending
[MAY]The representation of a LDPC MAY have an rdf:type of ldp:Container for Linked Data Platform Container. Non-normative note: LDPCs might have additional types, like any LDP-RS.
DirectContainer-NoRdfBagSeqOrList[SHOULD]LDPC representations SHOULD NOT use RDF container types rdf:Bag, rdf:Seq or rdf:List.
DirectContainer-JsonLdRepresentation
WG Approval Pending
[SHOULD]LDP servers SHOULD offer a application/ld+json representation of the requested LDP-RS [JSON-LD].
DirectContainer-PostJsonLd
WG Approval Pending
[SHOULD]LDP servers SHOULD accept a request entity body with a request header of Content-Type with value of application/ld+json [JSON-LD].
DirectContainer-NullRelativeUriPost[MUST]In RDF representations, LDP servers MUST interpret the null relative URI for the subject of triples in the LDPR representation in the request entity body as referring to the entity in the request body. Commonly, that entity is the model for the “to be created” LDPR, so triples whose subject is the null relative URI will usually result in triples in the created resource whose subject is the created resource.
DirectContainer-ContentTypeHeader
WG Approval Pending
[SHOULD]LDP servers SHOULD use the Content-Type request header to determine the representation format when the request has an entity body.
MemberResource-ConditionFailedStatusCode[MUST]LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].
DirectContainer-DeleteRemovesContainmentTriple[MUST]When an LDPR identified by the object of a containment triple is deleted, the LDPC server MUST also remove the LDPR from the containing LDPC by removing the corresponding containment triple.
DirectContainer-OptionsAllowHeader[MUST]LDP servers MUST indicate their support for HTTP Methods by responding to a HTTP OPTIONS request on the LDPR’s URL with the HTTP Method tokens in the HTTP response header Allow.
DirectContainer-AcceptPostResponseHeader[MUST]LDP servers that support POST MUST include an Accept-Post response header on HTTP OPTIONS responses, listing post document media type(s) supported by the server.
NonRDFSource-AcceptPatchHeader[MUST]LDP servers that support PATCH MUST include an Accept-Patch HTTP response header [RFC5789] on HTTP OPTIONS requests, listing patch document media type(s) supported by the server.
MemberResource-JsonLdRepresentation
WG Approval Pending
[SHOULD]LDP servers SHOULD offer a application/ld+json representation of the requested LDP-RS [JSON-LD].
MemberResource-Options[MUST]LDP servers MUST support the HTTP OPTIONS method.
DirectContainer-ContainsRdfType[SHOULD]LDP-RSs representations SHOULD have at least one rdf:type set explicitly. This makes the representations much more useful to client applications that don’t support inferencing.

Back to Top

Indirectly Tested Test CasesOverall Test ResultDescription of Test Method
DirectContainer-ConformsDcLdpContainerFailedEach LDP Direct Container MUST also be a conforming LDP Container in section 5.2 Container along the following restrictions.
DirectContainer-ConformsRdfSourceLdpResourcePassedEach LDP RDF Source MUST also be a conforming LDP Resource as defined in section 4.2 Resource, along with the restrictions in this section.
MemberResource-ConformsRdfSourceLdpResourcePassedEach LDP RDF Source MUST also be a conforming LDP Resource as defined in section 4.2 Resource, along with the restrictions in this section.
DirectContainer-ConformsContainerRdfResourcePassedEach Linked Data Platform Container MUST also be a conforming Linked Data Platform RDF Source.

Back to Top

Test Method Details

NonRDFSource-PostResourceGetBinary

[FAILED TEST]
java.lang.AssertionError: 2 expectations failed. Expected status code <201> doesn't match actual status code <409>. Expected header "Location" was not set, was "null". Headers are: Content-Type=text/plain Transfer-Encoding=chunked Server=Jetty(8.1.11.v20130520) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:155) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy:270) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.NonRDFSourceTest.postNonRDFSource(NonRDFSourceTest.java:403) at org.w3.ldp.testsuite.test.NonRDFSourceTest.testPostResourceGetBinary(NonRDFSourceTest.java:188) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 39 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-binary

Description: LDP servers may host a mixture of LDP-RSs and LDP-NRs. For example, it is common for LDP servers to need to host binary or text resources that do not have useful RDF representations.

Requirement Level: MAY

Back to Top

DirectContainer-RelativeUriResolutionPost

[FAILED TEST]
java.lang.AssertionError: 2 expectations failed. Expected status code <201> doesn't match actual status code <404>. Expected header "Location" was not set, was "null". Headers are: Content-Type=text/html;charset=ISO-8859-1 Cache-Control=must-revalidate,no-cache,no-store Content-Length=1371 Server=Jetty(8.1.11.v20130520) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:155) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy:270) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.CommonContainerTest.testRelativeUriResolutionPost(CommonContainerTest.java:94) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 40 stack frames

NOTE: Covers only part of the specification requirement.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-defbaseuri

Description: LDP servers MUST assign the default base-URI for [RFC3987] relative-URI resolution to be the HTTP Request-URI when the resource already exists, and to the URI of the created resource when the request results in the creation of a new resource.

Requirement Level: MUST

Back to Top

DirectContainer-PutRequiresIfMatch

[FAILED TEST]
java.lang.AssertionError: 1 expectation failed. Expected status code not between 200 and 209 doesn't match actual status code <204>. at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:159) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy:274) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.CommonResourceTest.testPutRequiresIfMatch(CommonResourceTest.java:265) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 40 stack frames

NOTE: Covers only part of the specification requirement. testConditionFailedStatusCode, testPreconditionRequiredStatusCode and testPutBadETag covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP clients SHOULD use the HTTP If-Match header and HTTP ETags to ensure it isn’t modifying a resource that has changed since the client last retrieved its representation. LDP servers SHOULD require the HTTP If-Match header and HTTP ETags to detect collisions.

Requirement Level: SHOULD

Back to Top

DirectContainer-RequestedInteractionModelCreateNotAllowed

[FAILED TEST]
java.lang.AssertionError: Resources with interaction model of only ldp:Resources shouldn't allow container POST-create behavior. at org.w3.ldp.testsuite.test.CommonContainerTest.testRequestedInteractionModelCreateNotAllowed(CommonContainerTest.java:323) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 23 stack frames

Parameters: http://localhost:8080/rest/a

NOTE: Covers only part of the specification requirement. testRequestedInteractionModelHeaders covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-createrdf

Description: LDP servers that successfully create a resource from a RDF representation in the request entity body MUST honor the client's requested interaction model(s). The created resource can be thought of as an RDF named graph [rdf11-concepts]. If any model cannot be honored, the server MUST fail the request.

Requirement Level: MUST

Back to Top

NonRDFSource-PostResourceAndCheckAssociatedResource

[FAILED TEST]
java.lang.AssertionError: 2 expectations failed. Expected status code <201> doesn't match actual status code <409>. Expected header "Location" was not set, was "null". Headers are: Content-Type=text/plain Transfer-Encoding=chunked Server=Jetty(8.1.11.v20130520) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:155) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy:270) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.NonRDFSourceTest.postNonRDFSource(NonRDFSourceTest.java:403) at org.w3.ldp.testsuite.test.NonRDFSourceTest.testPostResourceAndCheckAssociatedResource(NonRDFSourceTest.java:314) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 39 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-createbinlinkmetahdr

Description: Upon successful creation of an LDP-NR (HTTP status code of 201-Created and URI indicated by Location response header), LDP servers may create an associated LDP-RS to contain data about the newly created LDP-NR. If a LDP server creates this associated LDP-RS it must indicate its location on the HTTP response using the HTTP Link response header with link relation describedby and href to be the URI of the associated LDP-RS resource.

Requirement Level: MAY

Back to Top

DirectContainer-UseMemberPredicate

[FAILED TEST]
java.lang.AssertionError: LDP Direct Containers should use the ldp:member predicate if there is no obvious predicate from the application vocabulary. You can disable this test using the 'testLdpMember' parameter in testng.xml. expected [http://fedora.info/definitions/v4/repository#hasChild] but found [http://www.w3.org/ns/ldp#member] at org.w3.ldp.testsuite.test.DirectContainerTest.testUseMemberPredicate(DirectContainerTest.java:99) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 25 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldpdc-mbrpred

Description: LDP Direct Containers SHOULD use the ldp:member predicate as an LDPC's membership predicate if there is no obvious predicate from an application vocabulary to use.

Requirement Level: ldpMember SHOULD

Back to Top

NonRDFSource-PutRequiresIfMatch

[FAILED TEST]
java.lang.AssertionError: 1 expectation failed. Expected status code not between 200 and 209 doesn't match actual status code <204>. at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:159) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy:274) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.CommonResourceTest.testPutRequiresIfMatch(CommonResourceTest.java:265) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 40 stack frames

NOTE: Covers only part of the specification requirement. testConditionFailedStatusCode, testPreconditionRequiredStatusCode and testPutBadETag covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP clients SHOULD use the HTTP If-Match header and HTTP ETags to ensure it isn’t modifying a resource that has changed since the client last retrieved its representation. LDP servers SHOULD require the HTTP If-Match header and HTTP ETags to detect collisions.

Requirement Level: SHOULD

Back to Top

NonRDFSource-PostResourceAndCheckLink

[FAILED TEST]
java.lang.AssertionError: 2 expectations failed. Expected status code <201> doesn't match actual status code <409>. Expected header "Location" was not set, was "null". Headers are: Content-Type=text/plain Transfer-Encoding=chunked Server=Jetty(8.1.11.v20130520) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:155) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy:270) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.NonRDFSourceTest.postNonRDFSource(NonRDFSourceTest.java:403) at org.w3.ldp.testsuite.test.NonRDFSourceTest.testPostResourceAndCheckLink(NonRDFSourceTest.java:277) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 39 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldpnr-type

Description: LDP servers exposing an LDP Non-RDF Source may advertise this by exposing a HTTP Link header with a target URI of http://www.w3.org/ns/ldp#NonRDFSource, and a link relation type of type (that is, rel='type') in responses to requests made to the LDP-NR's HTTP Request-URI.

Requirement Level: MAY

Back to Top

DirectContainer-RejectPutModifyingContainmentTriples

[FAILED TEST]
java.lang.AssertionError: 1 expectation failed. Expected status code not between 200 and 209 doesn't match actual status code <204>. at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:159) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy:274) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.CommonContainerTest.testRejectPutModifyingContainmentTriples(CommonContainerTest.java:627) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 40 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldpc-put-mbrprops

Description: LDP servers SHOULD NOT allow HTTP PUT to update an LDPC’s containment triples; if the server receives such a request, it SHOULD respond with a 409 (Conflict) status code.

Requirement Level: SHOULD

Back to Top

NonRDFSource-PostResourceAndGetFromContainer

[FAILED TEST]
java.lang.AssertionError: 2 expectations failed. Expected status code <201> doesn't match actual status code <409>. Expected header "Location" was not set, was "null". Headers are: Content-Type=text/plain Transfer-Encoding=chunked Server=Jetty(8.1.11.v20130520) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:155) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy:270) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.NonRDFSourceTest.postNonRDFSource(NonRDFSourceTest.java:403) at org.w3.ldp.testsuite.test.NonRDFSourceTest.testPostResourceAndGetFromContainer(NonRDFSourceTest.java:153) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 39 stack frames

NOTE: Covers only part of the specification requirement. testPostNonRDFSource covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-createbins

Description: LDP servers may accept an HTTP POST of non-RDF representations (LDP-NRs) for creation of any kind of resource, for example binary resources.

Requirement Level: MAY

Back to Top

DirectContainer-TypeRdfSource

[FAILED TEST]
java.lang.AssertionError: LDP-RS representation does not have rdf:type ldp:RDFSource expected [true] but found [false] at org.w3.ldp.testsuite.test.RdfSourceTest.testTypeRdfSource(RdfSourceTest.java:200) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 24 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldprs-rdftype

Description: The representation of a LDP-RS MAY have an rdf:type of ldp:RDFSource for Linked Data Platform RDF Source.

Requirement Level: MAY

Back to Top

MemberResource-TypeRdfSource

[FAILED TEST]
java.lang.AssertionError: LDP-RS representation does not have rdf:type ldp:RDFSource expected [true] but found [false] at org.w3.ldp.testsuite.test.RdfSourceTest.testTypeRdfSource(RdfSourceTest.java:200) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 24 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldprs-rdftype

Description: The representation of a LDP-RS MAY have an rdf:type of ldp:RDFSource for Linked Data Platform RDF Source.

Requirement Level: MAY

Back to Top

NonRDFSource-LdpLinkHeader

[FAILED TEST]
java.lang.AssertionError: 4.2.1.4 LDP servers exposing LDPRs must advertise their LDP support by exposing a HTTP Link header with a target URI of http://www.w3.org/ns/ldp#Resource, and a link relation type of type (that is, rel='type') in all responses to requests made to the LDPR's HTTP Request-URI. Actual: <http://localhost:8080/rest/a/test>;rel="describedby" expected [true] but found [false] at org.w3.ldp.testsuite.test.CommonResourceTest.testLdpLinkHeader(CommonResourceTest.java:191) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 24 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-linktypehdr

Description: LDP servers exposing LDPRs MUST advertise their LDP support by exposing a HTTP Link header with a target URI of http://www.w3.org/ns/ldp#Resource, and a link relation type of type (that is, rel='type') in all responses to requests made to the LDPR's HTTP Request-URI.

Requirement Level: MUST

Back to Top

NonRDFSource-PostResourceGetMetadataAndBinary

[FAILED TEST]
java.lang.AssertionError: 2 expectations failed. Expected status code <201> doesn't match actual status code <409>. Expected header "Location" was not set, was "null". Headers are: Content-Type=text/plain Transfer-Encoding=chunked Server=Jetty(8.1.11.v20130520) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:155) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy:270) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.NonRDFSourceTest.postNonRDFSource(NonRDFSourceTest.java:403) at org.w3.ldp.testsuite.test.NonRDFSourceTest.testPostResourceGetMetadataAndBinary(NonRDFSourceTest.java:224) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 39 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldpnr-are-ldpr

Description: Each LDP Non-RDF Source must also be a conforming LDP Resource. LDP Non-RDF Sources may not be able to fully express their state using RDF.

Requirement Level: MAY

Back to Top

NonRDFSource-GetResponseHeaders

[FAILED TEST]
java.lang.AssertionError: 2 expectations failed. Expected header "Allow" was not not null, was "null". Headers are: ETag="urn:sha1:f0ba5a6e30a30efca5b01872b6a6088edb15d7c7" Last-Modified=Wed, 03 Sep 2014 13:51:23 GMT Content-Type=image/png Link=<http://localhost:8080/rest/a/test>;rel="describedby" Link=<http://www.w3.org/ns/ldp#NonRDFSource>;rel="type" Accept-Ranges=bytes Content-Disposition=attachment; filename="test"; creation-date="Wed, 03 Sep 2014 13:51:16 GMT"; modification-date="Wed, 03 Sep 2014 13:51:23 GMT"; size=5063 Cache-Control=no-transform, must-revalidate, max-age=0 Content-Length=5063 Server=Jetty(8.1.11.v20130520) Expected header "Accept-Post" was not not null, was "null". Headers are: ETag="urn:sha1:f0ba5a6e30a30efca5b01872b6a6088edb15d7c7" Last-Modified=Wed, 03 Sep 2014 13:51:23 GMT Content-Type=image/png Link=<http://localhost:8080/rest/a/test>;rel="describedby" Link=<http://www.w3.org/ns/ldp#NonRDFSource>;rel="type" Accept-Ranges=bytes Content-Disposition=attachment; filename="test"; creation-date="Wed, 03 Sep 2014 13:51:16 GMT"; modification-date="Wed, 03 Sep 2014 13:51:23 GMT"; size=5063 Cache-Control=no-transform, must-revalidate, max-age=0 Content-Length=5063 Server=Jetty(8.1.11.v20130520) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:151) at com.jayway.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.get(ResponseSpecificationImpl.groovy:266) at com.jayway.restassured.internal.ResponseSpecificationImpl.get(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.CommonResourceTest.testGetResponseHeaders(CommonResourceTest.java:235) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 39 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldpr-get-options

Description: LDP servers MUST support the HTTP response headers defined in section 4.2.8 HTTP OPTIONS.

Requirement Level: MUST

Back to Top

DirectContainer-RestrictUriReUseSlug

[FAILED TEST]
java.lang.AssertionError: Server reused URIs for POSTed resources. at org.w3.ldp.testsuite.test.CommonContainerTest.testRestrictUriReUse(CommonContainerTest.java:881) at org.w3.ldp.testsuite.test.CommonContainerTest.testRestrictUriReUseSlug(CommonContainerTest.java:561) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 23 stack frames

NOTE: Covers only part of the specification requirement. testRestrictUriReUseNoSlug covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-dontreuseuris

Description: LDP servers that allow member creation via POST SHOULD NOT re-use URIs.

Requirement Level: SHOULD

Back to Top

NonRDFSource-PostNonRDFSource

[FAILED TEST]
java.lang.AssertionError: 2 expectations failed. Expected status code <201> doesn't match actual status code <409>. Expected header "Location" was not set, was "null". Headers are: Content-Type=text/plain Transfer-Encoding=chunked Server=Jetty(8.1.11.v20130520) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:155) at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy:270) at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.NonRDFSourceTest.postNonRDFSource(NonRDFSourceTest.java:403) at org.w3.ldp.testsuite.test.NonRDFSourceTest.testPostNonRDFSource(NonRDFSourceTest.java:130) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 39 stack frames

NOTE: Covers only part of the specification requirement. testPostResourceAndGetFromContainer covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-createbins

Description: LDP servers may accept an HTTP POST of non-RDF representations (LDP-NRs) for creation of any kind of resource, for example binary resources.

Requirement Level: MAY

Back to Top

DirectContainer-RestrictPutReUseUri

[FAILED TEST]
java.lang.AssertionError: 1 expectation failed. Expected status code not between 200 and 209 doesn't match actual status code <201>. at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:159) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy:274) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.CommonContainerTest.testRestrictPutReUseUri(CommonContainerTest.java:654) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 40 stack frames

Reference URI: http://www.w3.org/TR/ldp#ldpc-put-create

Description: LDP servers that allow LDPR creation via PUT SHOULD NOT re-use URIs. For RDF representations (LDP-RSs),the created resource can be thought of as an RDF named graph [rdf11-concepts].

Requirement Level: SHOULD

Back to Top

MemberResource-PutRequiresIfMatch

[FAILED TEST]
java.lang.AssertionError: 1 expectation failed. Expected status code not between 200 and 209 doesn't match actual status code <204>. at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:577) at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:927) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1347) at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:159) at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy) at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy:274) at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy) at org.w3.ldp.testsuite.test.CommonResourceTest.testPutRequiresIfMatch(CommonResourceTest.java:265) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 40 stack frames

NOTE: Covers only part of the specification requirement. testConditionFailedStatusCode, testPreconditionRequiredStatusCode and testPutBadETag covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP clients SHOULD use the HTTP If-Match header and HTTP ETags to ensure it isn’t modifying a resource that has changed since the client last retrieved its representation. LDP servers SHOULD require the HTTP If-Match header and HTTP ETags to detect collisions.

Requirement Level: SHOULD

Back to Top

DirectContainer-PreferMembershipTriples

[FAILED TEST]
java.lang.AssertionError: Container has membership triples when client requested server omit them expected [false] but found [true] at org.w3.ldp.testsuite.test.DirectContainerTest.testPreferMembershipTriples(DirectContainerTest.java:388) at org.w3.ldp.testsuite.LdpTestSuite.run(LdpTestSuite.java:307) at org.w3.ldp.testsuite.LdpTestSuite.executeTestSuite(LdpTestSuite.java:336) at org.w3.ldp.testsuite.RunLdpTestSuite.main(RunLdpTestSuite.java:53) ... Removed 24 stack frames

NOTE: Covers only part of the specification requirement.

Reference URI: http://www.w3.org/TR/ldp#ldpc-prefer

Description: LDP servers SHOULD respect all of a client's LDP-defined hints, for example which subsets of LDP-defined state the client is interested in processing, to influence the set of triples returned in representations of an LDPC, particularly for large LDPCs. See also [LDP-PAGING].

Requirement Level: SHOULD

Back to Top

MemberResource-PutPropertiesNotPersisted

[SKIPPED TEST]
Skipping test because PUT request was successful.

NOTE: Covers only part of the specification requirement. testResponsePropertiesNotPersisted covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldprs-put-failed

Description: If an otherwise valid HTTP PUT request is received that contains properties the server chooses not to persist, e.g. unknown content, LDP servers MUST respond with an appropriate 4xx range status code [HTTP11].

Requirement Level: MUST

Back to Top

NonRDFSource-PreconditionRequiredStatusCode

[SKIPPED TEST]
Skipping test because PUT request failed with valid If-Match header.

NOTE: Covers only part of the specification requirement. testConditionFailedStatusCode, testPutBadETagand testPutRequiresIfMatch covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].

Requirement Level: MUST

Back to Top

MemberResource-PreconditionRequiredStatusCode

[SKIPPED TEST]
Server does not require If-Match header.

NOTE: Covers only part of the specification requirement. testConditionFailedStatusCode, testPutBadETagand testPutRequiresIfMatch covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].

Requirement Level: MUST

Back to Top

MemberResource-PublishConstraintsUnknownProp

[SKIPPED TEST]
Skipping test because PUT request was successful.

NOTE: Covers only part of the specification requirement. testPublishConstraintsReadOnlyProp covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-pubclireqs

Description: LDP servers MUST publish any constraints on LDP clients’ ability to create or update LDPRs, by adding a Link header with rel='describedby' [RFC5988] to all responses to requests which fail due to violation of those constraints.

Requirement Level: MUST

Back to Top

DirectContainer-PublishConstraintsUnknownProp

[SKIPPED TEST]
Skipping test because PUT request was successful.

NOTE: Covers only part of the specification requirement. testPublishConstraintsReadOnlyProp covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-pubclireqs

Description: LDP servers MUST publish any constraints on LDP clients’ ability to create or update LDPRs, by adding a Link header with rel='describedby' [RFC5988] to all responses to requests which fail due to violation of those constraints.

Requirement Level: MUST

Back to Top

DirectContainer-ResponsePropertiesNotPersisted

[SKIPPED TEST]
Skipping test because PUT request was successful.

NOTE: Covers only part of the specification requirement. testPutPropertiesNotPersisted covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldprs-put-failed

Description: LDP servers SHOULD provide a corresponding response body containing information about which properties could not be persisted. The format of the 4xx response body is not constrained by LDP. LDP servers expose these application-specific constraints as described in section 4.2.1 General.

Requirement Level: SHOULD

Back to Top

DirectContainer-PutSimpleUpdate

[SKIPPED TEST]
Skipping test because there are restrictions on PUT content for this resource. The requirement needs to be tested manually.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-simpleupdate

Description: LDP servers SHOULD allow clients to update resources without requiring detailed knowledge of server-specific constraints. This is a consequence of the requirement to enable simple creation and modification of LDPRs.

Requirement Level: MUST

Back to Top

MemberResource-RelativeUriResolutionPut

[SKIPPED TEST]
Cannot verify relative URI resolution because the PUT request failed. Skipping test.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-defbaseuri

Description: LDP servers MUST assign the default base-URI for [RFC3987] relative-URI resolution to be the HTTP Request-URI when the resource already exists, and to the URI of the created resource when the request results in the creation of a new resource.

Requirement Level: MUST

Back to Top

MemberResource-PutReadOnlyProperties4xxStatus

[SKIPPED TEST]
Skipping test because PUT request was successful.

Parameters: http://fedora.info/definitions/v4/repository#uuid

NOTE: Covers only part of the specification requirement. test4xxErrorHasResponseBody covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldprs-put-servermanagedprops

Description: If an otherwise valid HTTP PUT request is received that attempts to change properties the server does not allow clients to modify, LDP servers MUST respond with a 4xx range status code (typically 409 Conflict)

Requirement Level: MUST

Back to Top

DirectContainer-PutPropertiesNotPersisted

[SKIPPED TEST]
Skipping test because PUT request was successful.

NOTE: Covers only part of the specification requirement. testResponsePropertiesNotPersisted covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldprs-put-failed

Description: If an otherwise valid HTTP PUT request is received that contains properties the server chooses not to persist, e.g. unknown content, LDP servers MUST respond with an appropriate 4xx range status code [HTTP11].

Requirement Level: MUST

Back to Top

DirectContainer-IsHttp11Manual

[SKIPPED TEST]
This requirement or recommendation must be tested manually. It is difficult or impossible to write automated tests for and is not part of the testsuite.

NOTE: Covers only part of the specification requirement. testIsHttp11Server covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-http

Description: LDP servers MUST at least be HTTP/1.1 conformant servers [HTTP11].

Requirement Level: MANUAL MUST

Back to Top

DirectContainer-ReUseVocabularies

[SKIPPED TEST]
This requirement or recommendation must be tested manually. It is difficult or impossible to write automated tests for and is not part of the testsuite.

How to Run testReUseVocabularies

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-reusevocab

Description: LDP-RSs SHOULD reuse existing vocabularies instead of creating their own duplicate vocabulary terms. In addition to this general rule, some specific cases are covered by other conformance rules.

Requirement Level: MANUAL SHOULD

Back to Top

MemberResource-4xxErrorHasResponseBody

[SKIPPED TEST]
Skipping test because PUT request was successful.

Parameters: http://fedora.info/definitions/v4/repository#uuid

NOTE: Covers only part of the specification requirement. testPutReadOnlyProperties4xxStatus covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldprs-put-servermanagedprops

Description: LDP servers SHOULD provide a corresponding response body containing information about which properties could not be persisted. The format of the 4xx response body is not constrained by LDP.

Requirement Level: SHOULD

Back to Top

MemberResource-RestrictClientInference

[SKIPPED TEST]
This requirement or recommendation must be tested manually. It is difficult or impossible to write automated tests for and is not part of the testsuite.

How to Run testRestrictClientInference

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-noinferencing

Description: LDP servers MUST NOT require LDP clients to implement inferencing in order to recognize the subset of content defined by LDP. Other specifications built on top of LDP may require clients to implement inferencing [rdf11-concepts]. The practical implication is that all content defined by LDP must be explicitly represented, unless noted otherwise within this document.

Requirement Level: MANUAL MUST

Back to Top

MemberResource-IsHttp11Manual

[SKIPPED TEST]
This requirement or recommendation must be tested manually. It is difficult or impossible to write automated tests for and is not part of the testsuite.

NOTE: Covers only part of the specification requirement. testIsHttp11Server covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-http

Description: LDP servers MUST at least be HTTP/1.1 conformant servers [HTTP11].

Requirement Level: MANUAL MUST

Back to Top

DirectContainer-UseStandardVocabularies

[SKIPPED TEST]
This requirement or recommendation must be tested manually. It is difficult or impossible to write automated tests for and is not part of the testsuite.

How to Run testUseStandardVocabularies

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-reusevocabsuchas

Description: LDP-RSs predicates SHOULD use standard vocabularies such as Dublin Core [DC-TERMS], RDF [rdf11-concepts] and RDF Schema [rdf-schema], whenever possible.

Requirement Level: MANUAL SHOULD

Back to Top

DirectContainer-4xxErrorHasResponseBody

[SKIPPED TEST]
Skipping test because PUT request was successful.

Parameters: http://fedora.info/definitions/v4/repository#uuid

NOTE: Covers only part of the specification requirement. testPutReadOnlyProperties4xxStatus covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldprs-put-servermanagedprops

Description: LDP servers SHOULD provide a corresponding response body containing information about which properties could not be persisted. The format of the 4xx response body is not constrained by LDP.

Requirement Level: SHOULD

Back to Top

NonRDFSource-DeleteNonRDFSourceDeletesAssociatedResource

Reference URI: http://www.w3.org/TR/ldp#ldpc-del-contremovescontres

Description: When a contained LDPR is deleted, and the LDPC server created anassociated LDP-RS (see the LDPC POST section), the LDPC server must alsodelete the associated LDP-RS it created.

Requirement Level: MUST

Back to Top

NonRDFSource-IsHttp11Manual

[SKIPPED TEST]
This requirement or recommendation must be tested manually. It is difficult or impossible to write automated tests for and is not part of the testsuite.

NOTE: Covers only part of the specification requirement. testIsHttp11Server covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-http

Description: LDP servers MUST at least be HTTP/1.1 conformant servers [HTTP11].

Requirement Level: MANUAL MUST

Back to Top

MemberResource-ReUseVocabularies

[SKIPPED TEST]
This requirement or recommendation must be tested manually. It is difficult or impossible to write automated tests for and is not part of the testsuite.

How to Run testReUseVocabularies

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-reusevocab

Description: LDP-RSs SHOULD reuse existing vocabularies instead of creating their own duplicate vocabulary terms. In addition to this general rule, some specific cases are covered by other conformance rules.

Requirement Level: MANUAL SHOULD

Back to Top

DirectContainer-PublishConstraintsReadOnlyProp

[SKIPPED TEST]
Skipping test because PUT request was successful.

Parameters: http://fedora.info/definitions/v4/repository#uuid

NOTE: Covers only part of the specification requirement. testPublishConstraintsUnknownProp covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-pubclireqs

Description: LDP servers MUST publish any constraints on LDP clients’ ability to create or update LDPRs, by adding a Link header with rel='describedby' [RFC5988] to all responses to requests which fail due to violation of those constraints.

Requirement Level: MUST

Back to Top

DirectContainer-PreconditionRequiredStatusCode

[SKIPPED TEST]
Server does not require If-Match header.

NOTE: Covers only part of the specification requirement. testConditionFailedStatusCode, testPutBadETagand testPutRequiresIfMatch covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].

Requirement Level: MUST

Back to Top

DirectContainer-PutReadOnlyProperties4xxStatus

[SKIPPED TEST]
Skipping test because PUT request was successful.

Parameters: http://fedora.info/definitions/v4/repository#uuid

NOTE: Covers only part of the specification requirement. test4xxErrorHasResponseBody covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldprs-put-servermanagedprops

Description: If an otherwise valid HTTP PUT request is received that attempts to change properties the server does not allow clients to modify, LDP servers MUST respond with a 4xx range status code (typically 409 Conflict)

Requirement Level: MUST

Back to Top

DirectContainer-PutReplacesResource

[SKIPPED TEST]
Skipping test because there are restrictions on PUT content for this resource. The requirement needs to be tested manually.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-replaceall

Description: If a HTTP PUT is accepted on an existing resource, LDP servers MUST replace the entire persistent state of the identified resource with the entity representation in the body of the request.

Requirement Level: MUST

Back to Top

MemberResource-UseStandardVocabularies

[SKIPPED TEST]
This requirement or recommendation must be tested manually. It is difficult or impossible to write automated tests for and is not part of the testsuite.

How to Run testUseStandardVocabularies

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-reusevocabsuchas

Description: LDP-RSs predicates SHOULD use standard vocabularies such as Dublin Core [DC-TERMS], RDF [rdf11-concepts] and RDF Schema [rdf-schema], whenever possible.

Requirement Level: MANUAL SHOULD

Back to Top

DirectContainer-RelativeUriResolutionPut

[SKIPPED TEST]
Skipping test because there are restrictions on PUT content for this resource. The requirement needs to be tested manually.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-defbaseuri

Description: LDP servers MUST assign the default base-URI for [RFC3987] relative-URI resolution to be the HTTP Request-URI when the resource already exists, and to the URI of the created resource when the request results in the creation of a new resource.

Requirement Level: MUST

Back to Top

MemberResource-ResponsePropertiesNotPersisted

[SKIPPED TEST]
Skipping test because PUT request was successful.

NOTE: Covers only part of the specification requirement. testPutPropertiesNotPersisted covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldprs-put-failed

Description: LDP servers SHOULD provide a corresponding response body containing information about which properties could not be persisted. The format of the 4xx response body is not constrained by LDP. LDP servers expose these application-specific constraints as described in section 4.2.1 General.

Requirement Level: SHOULD

Back to Top

MemberResource-PublishConstraintsReadOnlyProp

[SKIPPED TEST]
Skipping test because PUT request was successful.

Parameters: http://fedora.info/definitions/v4/repository#uuid

NOTE: Covers only part of the specification requirement. testPublishConstraintsUnknownProp covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-pubclireqs

Description: LDP servers MUST publish any constraints on LDP clients’ ability to create or update LDPRs, by adding a Link header with rel='describedby' [RFC5988] to all responses to requests which fail due to violation of those constraints.

Requirement Level: MUST

Back to Top

DirectContainer-RestrictClientInference

[SKIPPED TEST]
This requirement or recommendation must be tested manually. It is difficult or impossible to write automated tests for and is not part of the testsuite.

How to Run testRestrictClientInference

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-noinferencing

Description: LDP servers MUST NOT require LDP clients to implement inferencing in order to recognize the subset of content defined by LDP. Other specifications built on top of LDP may require clients to implement inferencing [rdf11-concepts]. The practical implication is that all content defined by LDP must be explicitly represented, unless noted otherwise within this document.

Requirement Level: MANUAL MUST

Back to Top

NonRDFSource-OptionsHasSameLinkHeader

Reference URI: http://www.w3.org/TR/ldp#ldpc-options-linkmetahdr

Description: When responding to requests whose request-URI is a LDP-NR with anassociated LDP-RS, a LDPC server must provide the same HTTP Link responseheader as is required in the create response

Requirement Level: MUST

Back to Top

DirectContainer-PreferContainmentTriples

Reference URI: http://www.w3.org/TR/ldp#ldpc-prefer

Description: LDP servers SHOULD respect all of a client's LDP-defined hints, for example which subsets of LDP-defined state the client is interested in processing, to influence the set of triples returned in representations of an LDPC, particularly for large LDPCs. See also [LDP-PAGING].

Requirement Level: SHOULD

Back to Top

DirectContainer-PostResponseStatusAndLocation

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-created201

Description: If the resource was created successfully, LDP servers MUST respond with status code 201 (Created) and the Location header set to the new resource’s URL. Clients shall not expect any representation in the response entity body on a 201 (Created) response.

Requirement Level: MUST

Back to Top

DirectContainer-ConformsDcLdpContainer

Test Case is covered Indirectly by the following:

Reference URI: http://www.w3.org/TR/ldp#ldpdc-are-ldpcs

Description: Each LDP Direct Container MUST also be a conforming LDP Container in section 5.2 Container along the following restrictions.

Requirement Level: MUST

Back to Top

DirectContainer-PatchMethod

Reference URI: http://www.w3.org/TR/ldp#ldpc-patch-req

Description: LDP servers are RECOMMENDED to support HTTP PATCH as the preferred method for updating an LDPC's empty-container triples.

Requirement Level: SHOULD

Back to Top

DirectContainer-PostNoSlug

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-serverassignuri

Description: LDP servers SHOULD assign the URI for the resource to be created using server application specific rules in the absence of a client hint.

Requirement Level: SHOULD

Back to Top

MemberResource-PutBadETag

NOTE: Covers only part of the specification requirement. testConditionFailedStatusCode, testPreconditionRequiredStatusCode and testPutRequiresIfMatch covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].

Requirement Level: MUST

Back to Top

DirectContainer-PutToCreate

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-create

Description: LDP servers MAY choose to allow the creation of new resources using HTTP PUT.

Requirement Level: MAY

Back to Top

DirectContainer-ETagHeadersHead

NOTE: Covers only part of the specification requirement. testETagHeadersGet covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-etags

Description: LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.

Requirement Level: MUST

Back to Top

DirectContainer-MemberResourceTriple

Reference URI: http://www.w3.org/TR/ldp#ldpdc-containres

Description: Each LDP Direct Container representation MUST contain exactly one triple whose subject is the LDPC URI, whose predicate is the ldp:membershipResource, and whose object is the LDPC's membership-constant-URI. Commonly the LDPC's URI is the membership-constant-URI, but LDP does not require this.

Requirement Level: MUST

Back to Top

NonRDFSource-OptionsAllowHeader

Reference URI: http://www.w3.org/TR/ldp#ldpr-options-allow

Description: LDP servers MUST indicate their support for HTTP Methods by responding to a HTTP OPTIONS request on the LDPR’s URL with the HTTP Method tokens in the HTTP response header Allow.

Requirement Level: MUST

Back to Top

DirectContainer-CreateWithoutConstraints

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-mincontraints

Description: LDP servers SHOULD allow clients to create new resources without requiring detailed knowledge of application-specific constraints. This is a consequence of the requirement to enable simple creation and modification of LDPRs. LDP servers expose these application-specific constraints as described in section 4.2.1 General.

Requirement Level: SHOULD

Back to Top

NonRDFSource-ConditionFailedStatusCode

NOTE: Covers only part of the specification requirement. testPutBadETag, testPreconditionRequiredStatusCode and testPutRequiresIfMatch covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].

Requirement Level: MUST

Back to Top

MemberResource-ETagHeadersHead

NOTE: Covers only part of the specification requirement. testETagHeadersGet covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-etags

Description: LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.

Requirement Level: MUST

Back to Top

MemberResource-PutReplacesResource

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-replaceall

Description: If a HTTP PUT is accepted on an existing resource, LDP servers MUST replace the entire persistent state of the identified resource with the entity representation in the body of the request.

Requirement Level: MUST

Back to Top

MemberResource-GetResource

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-rdf

Description: LDP servers MUST provide an RDF representation for LDP-RSs. The HTTP Request-URI of the LDP-RS is typically the subject of most triples in the response.

Requirement Level: MUST

Back to Top

DirectContainer-ConformsRdfSourceLdpResource

Test Case is covered Indirectly by the following:

Reference URI: http://www.w3.org/TR/ldp#ldprs-are-ldpr

Description: Each LDP RDF Source MUST also be a conforming LDP Resource as defined in section 4.2 Resource, along with the restrictions in this section.

Requirement Level: MUST

Back to Top

MemberResource-GetResourceAcceptTurtle

Reference URI: http://www.w3.org/TR/ldp#ldprs-get-turtle

Description: LDP servers must provide a text/turtle representation of the requested LDP-RS whenever HTTP content negotiation does not force another outcome [turtle]. In other words, if the server receives a GET request whose Request-URI identifies a LDP-RS, and either text/turtle has the highest relative quality factor (q= value) in the Accept request header or that header is absent, then an LDP server has to respond with Turtle.

Requirement Level: MUST

Back to Top

MemberResource-ContainsRdfType

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-atleast1rdftype

Description: LDP-RSs representations SHOULD have at least one rdf:type set explicitly. This makes the representations much more useful to client applications that don’t support inferencing.

Requirement Level: SHOULD

Back to Top

DirectContainer-GetResponseHeaders

Reference URI: http://www.w3.org/TR/ldp#ldpr-get-options

Description: LDP servers MUST support the HTTP response headers defined in section 4.2.8 HTTP OPTIONS.

Requirement Level: MUST

Back to Top

NonRDFSource-PutBadETag

NOTE: Covers only part of the specification requirement. testConditionFailedStatusCode, testPreconditionRequiredStatusCode and testPutRequiresIfMatch covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].

Requirement Level: MUST

Back to Top

NonRDFSource-ETagHeadersHead

NOTE: Covers only part of the specification requirement. testETagHeadersGet covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-etags

Description: LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.

Requirement Level: MUST

Back to Top

MemberResource-Head

Reference URI: http://www.w3.org/TR/ldp#ldpr-head-must

Description: LDP servers MUST support the HTTP HEAD method.

Requirement Level: MUST

Back to Top

DirectContainer-Options

Reference URI: http://www.w3.org/TR/ldp#ldpr-options-must

Description: LDP servers MUST support the HTTP OPTIONS method.

Requirement Level: MUST

Back to Top

DirectContainer-ServerHonorsSlug

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-slug

Description: LDP servers MAY allow clients to suggest the URI for a resource created through POST, using the HTTP Slug header as defined in [RFC5023]. LDP adds no new requirements to this usage, so its presence functions as a client hint to the server providing a desired string to be incorporated into the server's final choice of resource URI.

Requirement Level: MAY

Back to Top

MemberResource-PutSimpleUpdate

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-simpleupdate

Description: LDP servers SHOULD allow clients to update resources without requiring detailed knowledge of server-specific constraints. This is a consequence of the requirement to enable simple creation and modification of LDPRs.

Requirement Level: MUST

Back to Top

MemberResource-AcceptPatchHeader

Reference URI: http://www.w3.org/TR/ldp#ldpr-patch-acceptpatch

Description: LDP servers that support PATCH MUST include an Accept-Patch HTTP response header [RFC5789] on HTTP OPTIONS requests, listing patch document media type(s) supported by the server.

Requirement Level: MUST

Back to Top

NonRDFSource-Options

Reference URI: http://www.w3.org/TR/ldp#ldpr-options-must

Description: LDP servers MUST support the HTTP OPTIONS method.

Requirement Level: MUST

Back to Top

DirectContainer-PostResourceUpdatesTriples

Reference URI: http://www.w3.org/TR/ldp#ldpdc-post-createdmbr-member

Description: When a successful HTTP POST request to an LDPC results in the creation of an LDPR, the LDPC MUST update its membership triples to reflect that addition, and the resulting membership triple MUST be consistent with any LDP-defined predicates it exposes.

Requirement Level: MUST

Back to Top

DirectContainer-Head

Reference URI: http://www.w3.org/TR/ldp#ldpr-head-must

Description: LDP servers MUST support the HTTP HEAD method.

Requirement Level: MUST

Back to Top

MemberResource-OptionsAllowHeader

Reference URI: http://www.w3.org/TR/ldp#ldpr-options-allow

Description: LDP servers MUST indicate their support for HTTP Methods by responding to a HTTP OPTIONS request on the LDPR’s URL with the HTTP Method tokens in the HTTP response header Allow.

Requirement Level: MUST

Back to Top

MemberResource-ETagHeadersGet

NOTE: Covers only part of the specification requirement. testETagHeadersHead covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-etags

Description: LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.

Requirement Level: MUST

Back to Top

DirectContainer-GetResourceAcceptTurtle

Reference URI: http://www.w3.org/TR/ldp#ldprs-get-turtle

Description: LDP servers must provide a text/turtle representation of the requested LDP-RS whenever HTTP content negotiation does not force another outcome [turtle]. In other words, if the server receives a GET request whose Request-URI identifies a LDP-RS, and either text/turtle has the highest relative quality factor (q= value) in the Accept request header or that header is absent, then an LDP server has to respond with Turtle.

Requirement Level: MUST

Back to Top

DirectContainer-AcceptPatchHeader

Reference URI: http://www.w3.org/TR/ldp#ldpr-patch-acceptpatch

Description: LDP servers that support PATCH MUST include an Accept-Patch HTTP response header [RFC5789] on HTTP OPTIONS requests, listing patch document media type(s) supported by the server.

Requirement Level: MUST

Back to Top

MemberResource-ConformsRdfSourceLdpResource

Test Case is covered Indirectly by the following:

Reference URI: http://www.w3.org/TR/ldp#ldprs-are-ldpr

Description: Each LDP RDF Source MUST also be a conforming LDP Resource as defined in section 4.2 Resource, along with the restrictions in this section.

Requirement Level: MUST

Back to Top

DirectContainer-LdpLinkHeader

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-linktypehdr

Description: LDP servers exposing LDPRs MUST advertise their LDP support by exposing a HTTP Link header with a target URI of http://www.w3.org/ns/ldp#Resource, and a link relation type of type (that is, rel='type') in all responses to requests made to the LDPR's HTTP Request-URI.

Requirement Level: MUST

Back to Top

MemberResource-GetResponseHeaders

Reference URI: http://www.w3.org/TR/ldp#ldpr-get-options

Description: LDP servers MUST support the HTTP response headers defined in section 4.2.8 HTTP OPTIONS.

Requirement Level: MUST

Back to Top

NonRDFSource-GetResource

Reference URI: http://www.w3.org/TR/ldp#ldpr-get-must

Description: LDP servers MUST support the HTTP GET Method for LDPRs

Requirement Level: MUST

Back to Top

DirectContainer-RestrictUriReUseNoSlug

NOTE: Covers only part of the specification requirement. testRestrictUriReUseSlug covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-dontreuseuris

Description: LDP servers that allow member creation via POST SHOULD NOT re-use URIs.

Requirement Level: SHOULD

Back to Top

DirectContainer-GetResource

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-rdf

Description: LDP servers MUST provide an RDF representation for LDP-RSs. The HTTP Request-URI of the LDP-RS is typically the subject of most triples in the response.

Requirement Level: MUST

Back to Top

DirectContainer-AcceptTurtle

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-turtle

Description: LDP servers MUST accept a request entity body with a request header of Content-Type with value of text/turtle [turtle].

Requirement Level: MUST

Back to Top

NonRDFSource-Head

Reference URI: http://www.w3.org/TR/ldp#ldpr-head-must

Description: LDP servers MUST support the HTTP HEAD method.

Requirement Level: MUST

Back to Top

MemberResource-LdpLinkHeader

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-linktypehdr

Description: LDP servers exposing LDPRs MUST advertise their LDP support by exposing a HTTP Link header with a target URI of http://www.w3.org/ns/ldp#Resource, and a link relation type of type (that is, rel='type') in all responses to requests made to the LDPR's HTTP Request-URI.

Requirement Level: MUST

Back to Top

DirectContainer-HttpLinkHeader

NOTE: Covers only part of the specification requirement. IndirectContainerTest.testContainerSupportsHttpLinkHeader and BasicContainerTest.testContainerSupportsHttpLinkHeader covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpc-linktypehdr

Description: LDP servers exposing LDPCs MUST advertise their LDP support by exposing a HTTP Link header with a target URI matching the type of container (see below) the server supports, and a link relation type of type (that is, rel='type') in all responses to requests made to the LDPC's HTTP Request-URI.

Requirement Level: MUST

Back to Top

DirectContainer-DeleteResourceUpdatesTriples

Reference URI: http://www.w3.org/TR/ldp#ldpdc-del-contremovesmbrtriple

Description: When an LDPR identified by the object of a membership triple which was originally created by the LDP-DC is deleted, the LDPC server MUST also remove the corresponding membership triple.

Requirement Level: MUST

Back to Top

DirectContainer-PutBadETag

NOTE: Covers only part of the specification requirement. testConditionFailedStatusCode, testPreconditionRequiredStatusCode and testPutRequiresIfMatch covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].

Requirement Level: MUST

Back to Top

DirectContainer-RequestedInteractionModelHeaders

Parameters: http://localhost:8080/rest/a

NOTE: Covers only part of the specification requirement. testRequestedInteractionModelCreateNotAllowed covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-createrdf

Description: LDP servers that successfully create a resource from a RDF representation in the request entity body MUST honor the client's requested interaction model(s). The created resource can be thought of as an RDF named graph [rdf11-concepts]. If any model cannot be honored, the server MUST fail the request.

Requirement Level: MUST

Back to Top

NonRDFSource-ETagHeadersGet

NOTE: Covers only part of the specification requirement. testETagHeadersHead covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-etags

Description: LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.

Requirement Level: MUST

Back to Top

DirectContainer-ETagHeadersGet

NOTE: Covers only part of the specification requirement. testETagHeadersHead covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-gen-etags

Description: LDP server responses MUST use entity tags (either weak or strong ones) as response ETag header values.

Requirement Level: MUST

Back to Top

DirectContainer-MemberRelationOrIsMemberOfRelationTripleExists

Reference URI: http://www.w3.org/TR/ldp#ldpdc-containtriples

Description: Each LDP Direct Container representation must contain exactly one triple whose subject is the LDPC URI, and whose predicate is either ldp:hasMemberRelation or ldp:isMemberOfRelation. The object of the triple is constrained by other sections, such as ldp:hasMemberRelation or ldp:isMemberOfRelation, based on the membership triple pattern used by the container.

Requirement Level: MUST

Back to Top

DirectContainer-PostContainer

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-createdmbr-contains

Description: When a successful HTTP POST request to an LDPC results in the creation of an LDPR, a containment triple MUST be added to the state of LDPC.

Requirement Level: MUST

Back to Top

DirectContainer-ConditionFailedStatusCode

NOTE: Covers only part of the specification requirement. testPutBadETag, testPreconditionRequiredStatusCode and testPutRequiresIfMatch covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].

Requirement Level: MUST

Back to Top

DirectContainer-RdfTypeLdpContainer

Reference URI: http://www.w3.org/TR/ldp#ldpc-typecontainer

Description: The representation of a LDPC MAY have an rdf:type of ldp:Container for Linked Data Platform Container. Non-normative note: LDPCs might have additional types, like any LDP-RS.

Requirement Level: MAY

Back to Top

DirectContainer-NoRdfBagSeqOrList

Reference URI: http://www.w3.org/TR/ldp#ldpc-nordfcontainertypes

Description: LDPC representations SHOULD NOT use RDF container types rdf:Bag, rdf:Seq or rdf:List.

Requirement Level: SHOULD

Back to Top

DirectContainer-JsonLdRepresentation

Reference URI: http://www.w3.org/TR/ldp#ldprs-get-jsonld

Description: LDP servers SHOULD offer a application/ld+json representation of the requested LDP-RS [JSON-LD].

Requirement Level: SHOULD

Back to Top

DirectContainer-PostJsonLd

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-jsonld

Description: LDP servers SHOULD accept a request entity body with a request header of Content-Type with value of application/ld+json [JSON-LD].

Requirement Level: SHOULD

Back to Top

DirectContainer-NullRelativeUriPost

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-rdfnullrel

Description: In RDF representations, LDP servers MUST interpret the null relative URI for the subject of triples in the LDPR representation in the request entity body as referring to the entity in the request body. Commonly, that entity is the model for the “to be created” LDPR, so triples whose subject is the null relative URI will usually result in triples in the created resource whose subject is the created resource.

Requirement Level: MUST

Back to Top

DirectContainer-ContentTypeHeader

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-contenttype

Description: LDP servers SHOULD use the Content-Type request header to determine the representation format when the request has an entity body.

Requirement Level: SHOULD

Back to Top

MemberResource-ConditionFailedStatusCode

NOTE: Covers only part of the specification requirement. testPutBadETag, testPreconditionRequiredStatusCode and testPutRequiresIfMatch covers the rest.

Reference URI: http://www.w3.org/TR/ldp#ldpr-put-precond

Description: LDP servers MUST respond with status code 412 (Condition Failed) if ETags fail to match when there are no other errors with the request [HTTP11]. LDP servers that require conditional requests MUST respond with status code 428 (Precondition Required) when the absence of a precondition is the only reason for rejecting the request [RFC6585].

Requirement Level: MUST

Back to Top

DirectContainer-ConformsContainerRdfResource

Test Case is covered Indirectly by the following:

Reference URI: http://www.w3.org/TR/ldp#ldpc-isldpr

Description: Each Linked Data Platform Container MUST also be a conforming Linked Data Platform RDF Source.

Requirement Level: MUST

Back to Top

DirectContainer-DeleteRemovesContainmentTriple

Reference URI: http://www.w3.org/TR/ldp#ldpc-del-contremovesconttriple

Description: When an LDPR identified by the object of a containment triple is deleted, the LDPC server MUST also remove the LDPR from the containing LDPC by removing the corresponding containment triple.

Requirement Level: MUST

Back to Top

DirectContainer-OptionsAllowHeader

Reference URI: http://www.w3.org/TR/ldp#ldpr-options-allow

Description: LDP servers MUST indicate their support for HTTP Methods by responding to a HTTP OPTIONS request on the LDPR’s URL with the HTTP Method tokens in the HTTP response header Allow.

Requirement Level: MUST

Back to Top

DirectContainer-AcceptPostResponseHeader

Reference URI: http://www.w3.org/TR/ldp#ldpc-post-acceptposthdr

Description: LDP servers that support POST MUST include an Accept-Post response header on HTTP OPTIONS responses, listing post document media type(s) supported by the server.

Requirement Level: MUST

Back to Top

NonRDFSource-AcceptPatchHeader

Reference URI: http://www.w3.org/TR/ldp#ldpr-patch-acceptpatch

Description: LDP servers that support PATCH MUST include an Accept-Patch HTTP response header [RFC5789] on HTTP OPTIONS requests, listing patch document media type(s) supported by the server.

Requirement Level: MUST

Back to Top

MemberResource-JsonLdRepresentation

Reference URI: http://www.w3.org/TR/ldp#ldprs-get-jsonld

Description: LDP servers SHOULD offer a application/ld+json representation of the requested LDP-RS [JSON-LD].

Requirement Level: SHOULD

Back to Top

MemberResource-Options

Reference URI: http://www.w3.org/TR/ldp#ldpr-options-must

Description: LDP servers MUST support the HTTP OPTIONS method.

Requirement Level: MUST

Back to Top

DirectContainer-ContainsRdfType

Reference URI: http://www.w3.org/TR/ldp#ldprs-gen-atleast1rdftype

Description: LDP-RSs representations SHOULD have at least one rdf:type set explicitly. This makes the representations much more useful to client applications that don’t support inferencing.

Requirement Level: SHOULD

Back to Top