I'm new with Inspec and I'm trying to run a simple code to verify that the connection with Google.com will return to status 200. I've installed Inspec and wrote a simple code (seen below). However, it's returning an error where it says:
Resource
http
is not supported on platform windows_10_business/10.0.18362.
My current set up is as follow:
- Windows 10 Business
- Inspect version 4.12.0
- ruby 2.6.5p114 (2019-10-01 revision 67812) [x64-mingw32]
Has anyone come across this issue before and know how to solve it please?
control 'verify-google -connection' do
title 'Verify google initial connection'
describe http('https://www.google.com/') do
its('status') { should cmp 200 }
end
end
Aucun commentaire:
Enregistrer un commentaire