Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TC ID

Test Case Name

Test Case Description

Expected Result  Test Status
T01Client with correct basic auth and correct certificate
PASS

 

Status
colourGreen
titleCompleted

T02Client with correct basic auth and incorrect certificate
PASS
T03Client with correct basic auth and without certificate
PASS
T04Client without basic auth and without certificate
FAIL
T05Client without basic auth and with correct certificate
FAIL
T06Client with incorrect basic auth and with correct certificate
FAIL
T07Client 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"