diff --git a/sparql11/data-sparql11/protocol/manifest.ttl b/sparql11/data-sparql11/protocol/manifest.ttl index 407ecece..a3ac7656 100644 --- a/sparql11/data-sparql11/protocol/manifest.ttl +++ b/sparql11/data-sparql11/protocol/manifest.ttl @@ -57,7 +57,7 @@ Content-Length: XXX query=ASK%20%7B%7D - + #### Response 2xx or 3xx response @@ -65,10 +65,14 @@ true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . + + + :query_dataset_default_graphs_get rdf:type mf:ProtocolTest ; mf:name "GET query with protocol-specified default graph" ; rdfs:comment """ @@ -77,7 +81,7 @@ GET /sparql?query=ASK%20%7B%20%3Chttp%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata1.rdf%3E%20a%20%3Ftype%20.%20%3Chttp%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata2.rdf%3E%20a%20%3Ftype%20.%20%7D&default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata1.rdf&default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata2.rdf Host: www.example User-agent: sparql-client/0.1 - + #### Response 2xx or 3xx response @@ -85,6 +89,7 @@ true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -101,7 +106,7 @@ Content-Length: XXX ASK { ?p ?o . ?p ?o } - + #### Response 2xx or 3xx response @@ -109,6 +114,7 @@ true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -125,7 +131,7 @@ Content-Length: XXX ASK { GRAPH ?g { ?s ?p ?o } } - + #### Response 2xx or 3xx response @@ -133,6 +139,7 @@ true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -145,7 +152,7 @@ GET /sparql/?named-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata1.rdf&named-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata2.rdf&query=ASK%20%7B%20GRAPH%20%3Fg%20%7B%20%3Fs%20%3Fp%20%3Fo%20%7D%20%7D HTTP/1.1 Host: www.example User-agent: sparql-client/0.1 - + #### Response 2xx or 3xx response @@ -153,6 +160,7 @@ true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -169,7 +177,7 @@ Content-Length: XXX SELECT ?g ?x ?s { ?x ?y ?o GRAPH ?g { ?s ?p ?o } } - + #### Response 2xx or 3xx response @@ -177,6 +185,7 @@ true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -193,7 +202,7 @@ Content-Length: XXX ASK FROM { ?p ?o } - + #### Response 2xx or 3xx response @@ -201,6 +210,7 @@ true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -211,7 +221,7 @@ #### Request GET /sparql?query=ASK%20%7B%7D - + #### Response 2xx or 3xx response @@ -219,6 +229,7 @@ true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -235,12 +246,13 @@ Content-Length: XXX SELECT (1 AS ?value) {} - + #### Response 2xx or 3xx response Content-Type: application/sparql-results+xml, application/sparql-results+json, text/tab-separated-values, or text/csv """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -257,12 +269,13 @@ Content-Length: XXX ASK {} - + #### Response 2xx or 3xx response Content-Type: application/sparql-results+xml or application/sparql-results+json """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -279,12 +292,13 @@ Content-Length: XXX DESCRIBE - + #### Response 2xx or 3xx response Content-Type: application/rdf+xml, application/rdf+json or text/turtle """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -301,12 +315,13 @@ Content-Length: XXX CONSTRUCT {

1 } WHERE {} - + #### Response 2xx or 3xx response Content-Type: application/rdf+xml, application/rdf+json or text/turtle """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -338,7 +353,7 @@ WHERE { ?s a foaf:Document } - + #### Response 2xx or 3xx response @@ -364,9 +379,10 @@ followed by 2xx or 3xx response Content-Type: application/sparql-results+xml - + true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -398,7 +414,7 @@ followed by WHERE { ?s a foaf:Document } - + #### Response 2xx or 3xx response @@ -430,9 +446,10 @@ followed by 2xx or 3xx response Content-Type: application/sparql-results+xml - + true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -466,7 +483,7 @@ followed by ?s a foaf:Document } } - + #### Response 2xx or 3xx response @@ -498,9 +515,10 @@ followed by 2xx or 3xx response Content-Type: application/sparql-results+xml - + true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -540,7 +558,7 @@ followed by BIND("default" AS ?in) } } - + #### Response 2xx or 3xx response @@ -572,9 +590,10 @@ followed by 2xx or 3xx response Content-Type: application/sparql-results+xml - + true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -591,11 +610,12 @@ followed by Content-Length: XXX update=CLEAR%20ALL - + #### Response 2xx or 3xx response """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -612,11 +632,12 @@ followed by Content-Length: XXX CLEAR ALL - + #### Response 2xx or 3xx response """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -634,7 +655,7 @@ followed by CLEAR GRAPH ; INSERT DATA { GRAPH { } } - + #### Response 2xx or 3xx response @@ -658,9 +679,10 @@ followed by 2xx or 3xx response Content-Type: application/sparql-results+xml - + one result with `?o` bound to an IRI that is _not_ `` """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -677,7 +699,7 @@ followed by Content-Length: XXX ASK {} - + #### Response 2xx or 3xx response @@ -685,6 +707,7 @@ followed by true """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -694,12 +717,13 @@ followed by rdfs:comment """ #### Request - PUT /sparql?query=ASK%20%7B%7D - + PUT /sparql?query=ASK%20%7B%7D + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -710,11 +734,12 @@ followed by #### Request GET /sparql?query=ASK%20%7B%7D&query=SELECT%20%2A%20%7B%7D - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -731,11 +756,12 @@ followed by Content-Length: XXX ASK {} - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -751,11 +777,12 @@ followed by Content-Length: XXX query=ASK%20%7B%7D - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -771,11 +798,12 @@ followed by Content-Length: XXX ASK {} - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -794,11 +822,12 @@ followed by Content-Length: XXX ASK {} - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -809,11 +838,12 @@ followed by #### Request GET /sparql?query=ASK%20%7B - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -824,11 +854,12 @@ followed by #### Request GET /sparql?update=CLEAR%20ALL - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -845,11 +876,12 @@ followed by Content-Length: XXX update=CLEAR%20NAMED&update=CLEAR%20DEFAULT - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -866,11 +898,12 @@ followed by Content-Length: XXX CLEAR NAMED - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -886,11 +919,12 @@ followed by Content-Length: XXX update=CLEAR%20NAMED - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -909,11 +943,12 @@ followed by Content-Length: XXX CLEAR NAMED - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -930,11 +965,12 @@ followed by Content-Length: XXX update=CLEAR%20XYZ - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . @@ -951,11 +987,12 @@ followed by Content-Length: XXX using-named-graph-uri=http%3A%2F%2Fexample%2Fpeople&update=%09%09PREFIX%20foaf%3A%20%20%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0A%09%09WITH%20%3Chttp%3A%2F%2Fexample%2Faddresses%3E%0A%09%09DELETE%20%7B%20%3Fperson%20foaf%3AgivenName%20%27Bill%27%20%7D%0A%09%09INSERT%20%7B%20%3Fperson%20foaf%3AgivenName%20%27William%27%20%7D%0A%09%09WHERE%20%7B%0A%09%09%09%3Fperson%20foaf%3AgivenName%20%27Bill%27%0A%09%09%7D%0A - + #### Response 4xx """ ; + mf:action ; dawgt:approval dawgt:Approved ; dawgt:approvedBy ; . diff --git a/sparql11/data-sparql11/protocol/query_dataset_default_graphs_get.jmx b/sparql11/data-sparql11/protocol/query_dataset_default_graphs_get.jmx new file mode 100644 index 00000000..bdcdea03 --- /dev/null +++ b/sparql11/data-sparql11/protocol/query_dataset_default_graphs_get.jmx @@ -0,0 +1,204 @@ + + + + + #### Request + + POST /sparql/ HTTP/1.1 + Host: www.example + User-agent: sparql-client/0.1 + Content-Type: application/x-www-url-form-urlencoded + Content-Length: XXX + + query=ASK%20%7B%7D + +#### Response + + 2xx or 3xx response + Content-Type: application/sparql-results+xml or application/sparql-results+json + + true + false + true + false + + + + + + + + + + HOSTNAME + ${__P(HOSTNAME,172.17.0.3)} + = + + + PORT + ${__P(PORT,8890)} + = + + + PATH + ${__P(PATH,/)} + = + + + + + + continue + + false + 1 + + 1 + 1 + false + + + + + + + + User-Agent + sparql-client/0.1 + + + + + + + + + true + LOAD <http://kasei.us/2009/09/sparql/data/data1.rdf>; +LOAD <http://kasei.us/2009/09/sparql/data/data2.rdf>; + = + true + query + + + + ${HOSTNAME} + ${PORT} + + + ${PATH}sparql/ + POST + true + false + true + false + + + + + + + + + + false + ASK%20%7B%20%3Chttp%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata1.rdf%3E%20a%20%3Ftype%20.%20%3Chttp%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata2.rdf%3E%20a%20%3Ftype%20.%20%7D&default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata1.rdf&default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata2.rdf + = + true + query + + + + ${HOSTNAME} + ${PORT} + + + ${PATH}sparql + GET + true + false + true + false + + + + + + + + (2|3)[0-9]{2} + + ERROR RESPONSE CODE + Assertion.response_code + false + 1 + + + + import org.apache.commons.lang3.StringUtils; +Failure = !(StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+xml") || + StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+json")); + +if(Failure){ + FailureMessage = "ERROR Response Type Assertion :\n"+ + "EXPECTED \n"+ + "Content-Type: application/sparql-results+xml or application/sparql-results+json \n"+ + "ResponseHeaders :\n"+ + new String(ResponseHeaders); +} + + + false + + + + + true + + + Assertion.response_data + false + 16 + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + + + + + + diff --git a/sparql11/data-sparql11/protocol/query_dataset_default_graphs_post.jmx b/sparql11/data-sparql11/protocol/query_dataset_default_graphs_post.jmx new file mode 100644 index 00000000..3d826ef3 --- /dev/null +++ b/sparql11/data-sparql11/protocol/query_dataset_default_graphs_post.jmx @@ -0,0 +1,226 @@ + + + + + #### Request + + POST /sparql/ HTTP/1.1 + Host: www.example + User-agent: sparql-client/0.1 + Content-Type: application/x-www-url-form-urlencoded + Content-Length: XXX + + query=ASK%20%7B%7D + +#### Response + + 2xx or 3xx response + Content-Type: application/sparql-results+xml or application/sparql-results+json + + true + false + true + false + + + + + + + + + + HOSTNAME + ${__P(HOSTNAME,172.17.0.3)} + = + + + PORT + ${__P(PORT,8890)} + = + + + PATH + ${__P(PATH,/)} + = + + + + + + + + User-Agent + sparql-client/0.1 + + + + + + stoptest + + false + 1 + + 1 + 1 + false + + + + + + + + + true + LOAD <http://kasei.us/2009/09/sparql/data/data1.rdf>; +LOAD <http://kasei.us/2009/09/sparql/data/data2.rdf>; + = + true + query + + + + ${HOSTNAME} + ${PORT} + + + ${PATH}sparql/ + POST + true + false + true + false + + + + + + + + continue + + false + 1 + + 1 + 1 + false + + + + + + + + Content-Type + application/sparql-query + + + + + + true + + + + false + ASK { <http://kasei.us/2009/09/sparql/data/data1.rdf> ?p ?o . <http://kasei.us/2009/09/sparql/data/data2.rdf> ?p ?o } + = + + + + ${HOSTNAME} + ${PORT} + + + ${PATH}sparql/?default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata1.rdf&default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata2.rdf + POST + true + false + true + false + + + + + + + + (2|3)[0-9]{2} + + ERROR RESPONSE CODE + Assertion.response_code + false + 1 + + + + import org.apache.commons.lang3.StringUtils; +Failure = !(StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+xml") || + StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+json")); + +if(Failure){ + FailureMessage = "ERROR Response Type Assertion :\n"+ + "EXPECTED \n"+ + "Content-Type: application/sparql-results+xml or application/sparql-results+json \n"+ + "ResponseHeaders :\n"+ + new String(ResponseHeaders); +} + + + false + + + + + true + + + Assertion.response_data + false + 16 + + + + + + true + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + + + + + + diff --git a/sparql11/data-sparql11/protocol/query_dataset_named_graphs_get.jmx b/sparql11/data-sparql11/protocol/query_dataset_named_graphs_get.jmx new file mode 100644 index 00000000..e5398cc7 --- /dev/null +++ b/sparql11/data-sparql11/protocol/query_dataset_named_graphs_get.jmx @@ -0,0 +1,221 @@ + + + + + #### Request + + POST /sparql/ HTTP/1.1 + Host: www.example + User-agent: sparql-client/0.1 + Content-Type: application/x-www-url-form-urlencoded + Content-Length: XXX + + query=ASK%20%7B%7D + +#### Response + + 2xx or 3xx response + Content-Type: application/sparql-results+xml or application/sparql-results+json + + true + false + true + false + + + + + + + + + + HOSTNAME + ${__P(HOSTNAME,172.17.0.3)} + = + + + PORT + ${__P(PORT,8890)} + = + + + PATH + ${__P(PATH,/)} + = + + + + + + + + User-Agent + sparql-client/0.1 + + + + + + stoptest + + false + 1 + + 1 + 1 + false + + + + + + + + + true + LOAD <http://kasei.us/2009/09/sparql/data/data1.rdf>; +LOAD <http://kasei.us/2009/09/sparql/data/data2.rdf>; + = + true + query + + + + ${HOSTNAME} + ${PORT} + + + ${PATH}sparql/ + POST + true + false + true + false + + + + + + + + continue + + false + 1 + + 1 + 1 + false + + + + + + + + + + true + + + + false + + = + + + + ${HOSTNAME} + ${PORT} + + + ${PATH}sparql/?named-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata1.rdf&named-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata2.rdf&query=ASK%20%7B%20GRAPH%20%3Fg%20%7B%20%3Fs%20%3Fp%20%3Fo%20%7D%20%7D + GET + true + false + true + false + + + + + + + + (2|3)[0-9]{2} + + ERROR RESPONSE CODE + Assertion.response_code + false + 1 + + + + import org.apache.commons.lang3.StringUtils; +Failure = !(StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+xml") || + StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+json")); + +if(Failure){ + FailureMessage = "ERROR Response Type Assertion :\n"+ + "EXPECTED \n"+ + "Content-Type: application/sparql-results+xml or application/sparql-results+json \n"+ + "ResponseHeaders :\n"+ + new String(ResponseHeaders); +} + + + false + + + + + true + + + Assertion.response_data + false + 16 + + + + + + true + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + + + + + + diff --git a/sparql11/data-sparql11/protocol/query_dataset_named_graphs_post.jmx b/sparql11/data-sparql11/protocol/query_dataset_named_graphs_post.jmx new file mode 100644 index 00000000..fb3fd6ff --- /dev/null +++ b/sparql11/data-sparql11/protocol/query_dataset_named_graphs_post.jmx @@ -0,0 +1,226 @@ + + + + + #### Request + + POST /sparql/ HTTP/1.1 + Host: www.example + User-agent: sparql-client/0.1 + Content-Type: application/x-www-url-form-urlencoded + Content-Length: XXX + + query=ASK%20%7B%7D + +#### Response + + 2xx or 3xx response + Content-Type: application/sparql-results+xml or application/sparql-results+json + + true + false + true + false + + + + + + + + + + HOSTNAME + ${__P(HOSTNAME,172.17.0.3)} + = + + + PORT + ${__P(PORT,8890)} + = + + + PATH + ${__P(PATH,/)} + = + + + + + + + + User-Agent + sparql-client/0.1 + + + + + + stoptest + + false + 1 + + 1 + 1 + false + + + + + + + + + true + LOAD <http://kasei.us/2009/09/sparql/data/data1.rdf>; +LOAD <http://kasei.us/2009/09/sparql/data/data2.rdf>; + = + true + query + + + + ${HOSTNAME} + ${PORT} + + + ${PATH}sparql/ + POST + true + false + true + false + + + + + + + + continue + + false + 1 + + 1 + 1 + false + + + + + + + + Content-Type + application/sparql-query + + + + + + true + + + + false + ASK { GRAPH ?g { ?s ?p ?o } } + = + + + + ${HOSTNAME} + ${PORT} + + + ${PATH}sparql/?named-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata1.rdf&named-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata2.rdf + POST + true + false + true + false + + + + + + + + (2|3)[0-9]{2} + + ERROR RESPONSE CODE + Assertion.response_code + false + 1 + + + + import org.apache.commons.lang3.StringUtils; +Failure = !(StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+xml") || + StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+json")); + +if(Failure){ + FailureMessage = "ERROR Response Type Assertion :\n"+ + "EXPECTED \n"+ + "Content-Type: application/sparql-results+xml or application/sparql-results+json \n"+ + "ResponseHeaders :\n"+ + new String(ResponseHeaders); +} + + + false + + + + + true + + + Assertion.response_data + false + 16 + + + + + + true + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + + + + + + diff --git a/sparql11/data-sparql11/protocol/query_post_form.jmx b/sparql11/data-sparql11/protocol/query_post_form.jmx new file mode 100644 index 00000000..1559caf4 --- /dev/null +++ b/sparql11/data-sparql11/protocol/query_post_form.jmx @@ -0,0 +1,175 @@ + + + + + #### Request + + POST /sparql/ HTTP/1.1 + Host: www.example + User-agent: sparql-client/0.1 + Content-Type: application/x-www-url-form-urlencoded + Content-Length: XXX + + query=ASK%20%7B%7D + +#### Response + + 2xx or 3xx response + Content-Type: application/sparql-results+xml or application/sparql-results+json + + true + false + true + false + + + + + + + + + + HOSTNAME + ${__P(HOSTNAME,172.17.0.3)} + = + + + PORT + ${__P(PORT,8890)} + = + + + PATH + ${__P(PATH,/)} + = + + + + + + continue + + false + 1 + + 1 + 1 + false + + + + + + + + User-Agent + sparql-client/0.1 + + + + + + true + + + + false + query=ASK%20%7B%7D + = + + + + ${HOSTNAME} + ${PORT} + + + ${PATH}sparql/ + POST + true + false + true + false + + + + + + + + (2|3)[0-9]{2} + + ERROR RESPONSE CODE + Assertion.response_code + false + 1 + + + + import org.apache.commons.lang3.StringUtils; +Failure = !(StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+xml") || + StringUtils.contains(new String(ResponseHeaders), "Content-Type: application/sparql-results+json")); + +if(Failure){ + FailureMessage = "ERROR Response Type Assertion :\n"+ + "EXPECTED \n"+ + "Content-Type: application/sparql-results+xml or application/sparql-results+json \n"+ + "ResponseHeaders :\n"+ + new String(ResponseHeaders); +} + + + false + + + + + true + + + Assertion.response_data + false + 16 + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + + + + + +