Forum Discussion
Can you explian what you are task are you trying to perform using the API.
1. Creating Defects
2. Created Test cases
3. Updating the status of the test instances
Hi,
i'm trying to create defect.
ex:body
{
"Title": "Error Finding Locations",
"Status": "New",
"Description": "System is throwing an error searching for the location ."
}
- vikasn6 years agoOccasional Contributor
Follow the below steps to setup the script in Postman and you should be able to create a defect using the API's
Step 1
URI - https://qacomplete.smartbear.com/rest-api/service/api/v1/projects/{ProjectId}/defectsReplace project id. You can find the project Id in the QAComplete URL
Step 2 - Authorization Tab
Authorization
Select Type - Basic Auth
Enter your QAComplete - Username & PasswordStep 3 - Header Tab
Key - Content-Type
Value - application/jsonStep 4 - Body Tab
Select option raw (Radio button)
Set the Request Payload in the Body tab
{
"Title": "SAMPLE TITLE 1",
"Status": "In Progress",
"Description": "Test Desc"
}Step 5
Save and click on Send button, Defects will be created in QAComplete.- salley6 years agoFrequent Contributor
i did everything as described, and same thing , getting 404 status. i'm able to get response from the tests folder. but unable to post defects,,,
- gnc406 years agoNew Contributor
QAComplete will respond with a security token. In your
subsequent requests, you will need to specify your login https://xender.pro/ https://discord.software/ https://omegle.onl/
Related Content
- 4 years agoyassir
- 3 years agoalexandrebodart
- 10 years agorickh_28
- 11 years agophabibi-anarkou
Recent Discussions
- 3 months agopratikshap