...
TC ID | Test Case Name | Test Case Description | Expected Result | Test Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
T01 | Client with correct basic auth and correct certificate | PASS |
| |||||||
T02 | Client with correct basic auth and incorrect certificate | PASS | ||||||||
T03 | Client with correct basic auth and without certificate | PASS | ||||||||
T04 | Client without basic auth and without certificate | FAIL | ||||||||
T05 | Client without basic auth and with correct certificate | FAIL | ||||||||
T06 | Client with incorrect basic auth and with correct certificate | FAIL | ||||||||
T07 | Client with incorrect basic auth and without certificate | FAIL |
T01
curl -vk --cert rootCA.crt --key rootCA.key --pass collector -u sample1:sample1-X POST https://192.168.0.22:30417/eventListener/v7 -d @event.json "Content-Type: application/json"
T02
T03
curl -vk -u sample1:sample1-X POST https://192.168.0.22:30417/eventListener/v7 -d @event.json --header "Content-Type: application/json"