Validating specifications using CTK can sometimes require a bit of configuration tweaking. You should check this example of a simple config.json
:
{
"url": "https://your-api-endpoint.com/api/resource",
"method": "POST",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer your_token"
},
"body": {
"key1": "value1",
"key2": "value2"
}
}
------------------------------
Info Hills
TO BE VERIFIED
------------------------------
Original Message:
Sent: Feb 11, 2024 10:48
From: PS Sowmya
Subject: Testing using CTK
I am trying to validate specification using CTK. I have downloaded and installed CTK, changed config.json URL and payload according to my API but when newman report is generated
I get the following error
I am able to publish message to my API using same URL and payload using postman. Need your help if there are any other configuration changes needed to be done in CTK.
Please find the attachment for report
Thank you in advance
#AIandData
#Blockchain
#BusinessAssurance
#CustomerExperience
#DigitalEcosystems
#DigitalTransformationMaturity
#IoTandSmartCity
#OpenDigitalArchitecture
#General
#ZeroTouchAutomation
#DiversityandInclusion
------------------------------
PS Sowmya
Tata Consultancy Services
------------------------------