search cancel

Unable to do mapping for qTest project from ARD 3.1


Article ID: 198415


Updated On:


CA Agile Requirements Designer


Unable to see any option to map qTest fields in ARD 3.1


Release : 3.1

Component : CA Agile Requirements Designer


The issue appears to be a configuration issue that is affecting the authentication process. The user can authenticate as long as they append the project path to the qTest URL ( However, if they only use the domain portion (, which is the recommended/documented method, for setting up the qTest connection in ARD, their authentication request is being refused. 

From the ARD log, with qTest logging enabled, the authentication request, for the domian URL is getting redirected by qTest. The redirect is attempting to use the oauth token. We see a 302 error thrown.

2020-08-31 08:42:36,551 INFO  [default] [qTest Log](POST) Request URL:
2020-08-31 08:42:37,484 ERROR [default] [e:\buildagent\tdm\agiledesigner\agiledesigner\restservicehelper.cpp:574] [qTest Log]Qt Network Error (Qt error code: 302) Error transferring - server replied: 
2020-08-31 08:42:37,485 INFO  [default] [qTest Log]Response URL:
2020-08-31 08:42:37,485 INFO  [default] [qTest Log]Response HTTP Code: 400
2020-08-31 08:42:37,485 INFO  [default] [qTest Log]ReturnedMessage: {"error":"invalid_grant","error_description":"Bad credentials"}

Researching the error by looking through the qTest documentation. What jumps out at me from the redirection is the URL is redirected to use the oauth token, which according to qTest is for jira authentication.

Comparing this to the log in where the project path is appended to the URL, we see the authentication is successful, and the qTest redirect is not using oauth for authentication: 

2020-08-26 10:40:41,666 INFO  [default] [qTest Log](POST) Request URL:
2020-08-26 10:40:41,673 INFO  [default] [qTest Log]Message: 
2020-08-26 10:40:42,395 INFO  [default] [qTest Log]Response URL:
2020-08-26 10:40:42,395 INFO  [default] [qTest Log]Response 

Additional Information

For more information regarding configuring the qTest integration in ARD 3.1 see: