# Inspec: Testing an HTTP service

**URL:** <https://discourse.chef.io/t/inspec-testing-an-http-service/7682>\
**Category:** Chef Infra (archive)\
**Created:** [January 26, 2016, 7:56am UTC](https://discourse.chef.io/t/inspec-testing-an-http-service/7682 "2016-01-26T07:56:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![StephenKing](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/stephenking/32/656_2.png) [@StephenKing](https://discourse.chef.io/u/StephenKing)\
**Post date:** [January 26, 2016, 7:56am UTC](https://discourse.chef.io/t/inspec-testing-an-http-service/7682/1 "2016-01-26T07:56:28Z")

</div>

Hi,

I’ve written some simple tests with inspec. Now, I’d like to check the response of HTTP requests.

Is there any chance to write similar things like done here with serverspec [here](https://github.com/balanced-cookbooks/balanced-docs/blob/d0e4818b4f0f9d5008561b44494e1dbd77b6a109/test/integration/default/serverspec/default_spec.rb#L34-L46)?

Or what are other recommended test frameworks that can be easily used with test-kitchen? I read about [infratester](https://github.com/ryotarai/infrataster), but could not figure out, if there’s a chance to use that with t-k.

Thanks  
Steffen

---

<div class="post-metadata">

**Author:** ![coderanger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/coderanger/32/5_2.png) [@coderanger](https://discourse.chef.io/u/coderanger)\
**Post date:** [January 26, 2016, 8:04am UTC](https://discourse.chef.io/t/inspec-testing-an-http-service/7682/2 "2016-01-26T08:04:06Z")

</div>

There is not currently support, but the feature is being tracked in [https://github.com/chef/inspec/issues/336](https://github.com/chef/inspec/issues/336).

---

<div class="post-metadata">

**Author:** ![tknerr](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/tknerr/32/21_2.png) [@tknerr](https://discourse.chef.io/u/tknerr)\
**Post date:** [January 26, 2016, 7:40pm UTC](https://discourse.chef.io/t/inspec-testing-an-http-service/7682/3 "2016-01-26T19:40:59Z")

</div>

Cool, TIL that inspec can be used for testing “from the outside” 😄

I also had Infrataster in the back of my mind for that, as well as [leibniz](https://github.com/Atalanta/leibniz) (which seems to be dead), but really never found the time to try it out…
