I tried accessing QAcomplete Releases list using Rest API's, but I couldn't get authorization passed.
I found this on the website:
"To call any QAComplete API operation, authentication is needed. To log in to QAComplete, you send your user name (login) and password to QAComplete in your first request (see below). QAComplete will respond with a security token. In your
subsequent requests, you will need to specify your login and the security token"
I tried using my login and password for the authorization, which I couldn't pass through. But above statement mentions that I need to have security token to have. How do I get the Security token in QAcomplete ? Please let me know. Thanks !
I was able to connect to QAComplete for creating test folder by selecting basic Auth as a the Authorization tab. I have used Postman for this.
Hope this helped. Let me know if you have any other question regarding this
Hi - I have used postman for a Get request, but fails at the authorization.
Is there any place where we need to enable to the Rest access in QAcomplete? Please let me know.
1. Create a new POST operation.
2. Authorization type should be Basic auth. Provide the User Id and password.
3. Parameterize the Environment Variables in the Endpoints if required, Example
Go to Postman Runner and point to your test case sheet from where the data needs to be extracted.
Try with couple of scenarios and you can see more options after this.
i'm trying a create a defect and getting an error. Server Error in '/rest-api' Application
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
i'm trying to create defect.
"Title": "Error Finding Locations",
"Description": "System is throwing an error searching for the location ."
Follow the below steps to setup the script in Postman and you should be able to create a defect using the API's
Replace project id. You can find the project Id in the QAComplete URL
Step 2 - Authorization Tab
Select Type - Basic Auth
Enter your QAComplete - Username & Password
Step 3 - Header Tab
Key - Content-Type
Value - application/json
Step 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"
Save and click on Send button, Defects will be created in QAComplete.
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,,,