Hi Val, notice that the high-level API has it's own routing DSL etc, which makes it need a nice testing abstraction.
The low-level API on the other hand is plain Akka Streams, i.e. Flow / Source / Sink of HttpRequest and HttpResponse. This means that the TestKit for it is, in fact, the same as for Akka Streams! Here are the docs: http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/scala/stream-testkit.html We should document this assumption more explicitly I think (I'll do that - here's the ticket https://github.com/akka/akka/issues/18469 ). Hope this helps! -- Cheers, Konrad `ktoso` Malawski Akka @ Typesafe On 11 September 2015 at 05:20:11, Val P (injvst...@gmail.com) wrote: Hi, Can the akka-http 1.0 low level api be tested using Akka-http-testkit? So far, It appears only the high level api (using the routing dsl) can be tested? Could someone be kind enough to point me or show me how to write unit tests for the low level API? -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.