solid-contrib / conformance-test-harness

Harness used to run Solid conformance tests and generate reports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate response body logging in tests

edwardsph opened this issue · comments

Karate only outputs JSON and XML so RDF response bodies are missing. Can this be easily fixed, or made optional?

It seems there is no problem logging responses from CSS but there is with ESS. The difference is the content-type:

  • CSS: Content-Type: text/turtle
  • ESS: Content-Type: text/turtle; charset=UTF-8

This is a bug in Karate in the ResourceType handling where it needs to separate the media type from the encoding.

See karatelabs/karate@7cce901#commitcomment-48398007

Resolved in Karate by karatelabs/karate#1908