Versions Compared

Key

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

...

Completed http 504 method not allowed

TC ID

Test Case Name

Test Case Description

Expected Result  Test Status
T01Client with correct basic auth and correct certificatecurl -vk -u sample1:sample1 -X --cert rootCA.crt --key rootCA.key --pass collector POST https://192.168.0.22:30417/eventListener/v7 -d @event.json --header "Content-Type: application/json"PASS. HTTP/1.1 202

 

Status
colourGreen
title
T02Client with correct basic auth and incorrect certificatecurl -vk -u sample1:sample1 -X --cert incorrect_rootCA.crt --key rootCA.key --pass collector POST https://192.168.0.22:30417/eventListener/v7 -d @event.json --header "Content-Type: application/json"PASS. HTTP/1.1 202http 504 method not allowed
T03Client with correct basic auth and without certificatecurl -vk -u sample1:sample1 -X  POST https://192.168.0.22:30417/eventListener/v7 -d @event.json --header "Content-Type: application/json"PASS. HTTP/1.1 202

Status
colourGreen
titleCompleted

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 

...