It's all about the answers!

Ask a question

Using the HP QTP Adapter with RQM 6.0.4


Stuart Arnold (62) | asked Feb 23 '18, 6:02 a.m.
edited Feb 23 '18, 6:04 a.m.

Hi,

I am unable to get the HP QTP adapter to register with RQM 6.0.4 and was wondering if any one is using it successfully. We are using HP UFT is 12.54 build 3256

I have reviewed the previous threads on this subject. The account being use to connect has register adapter privileges and they are also a JAZZADMIN as well as JAZZUser

The Adapter states its connected  and then continues to state that he stored configuration is out of sync. Adapter  is re-registering

"java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying TLS
Successfully created an HTTP client
The adapter is now connected
Created Quick Test Professional Adapter 6.0.1
Stored configuration is out of sync. Adapter is re-registering.
Stored configuration is out of sync. Adapter is re-registering.
Stored configuration is out of sync. Adapter is re-registering.
Stored configuration is out of sync. Adapter is re-registering.
Stored configuration is out of sync. Adapter is re-registering.
Stored configuration is out of sync. Adapter is re-registering.
Stored configuration is out of sync. Adapter is re-registering."

I have tried connect via the public URL to the RQM server and also the CLM server. The IBM RFT Adapter is successfully registering via the CLM server by the same user.

Following checks followed:
=====================

1) Make sure the URL you are using for the adapter matches the configured "Public URI" for your RQM application. You can see your servers Public URI on the QM application admin page (i.e.
https://<server_name>:9443/qm/admin). You want to configure the adapter to use this exact URL. Usually this isn't a short name or IP address.

2) View the profile for the user for which the adapter is using and verify under the Repository Permissions the user has JazzUsers selected.

3) In the user profile also verify they have a RQM "Quality Professional" or a "Connector" client access license. If they only have RQM "Contributor" client access license, then that's likely your issue.

4) View the project area admin page for the RQM project area the adapter is connecting to. Make sure the adapter user is a member of this project area and has been assigned to the "Test Team Member" role. Not
the "Test Team Contributor" role. If you have made any modifications to these roles, then that can also be problematic for the adapter.

We are using token licensing.

2 answers



permanent link
abhishek gour (3812) | answered Feb 27 '18, 3:38 a.m.

Hi Stuart,

Few questions - 
1. Have you been able to get QTP adapter successfully connected to RQM ealier? Or is it first time you are trying to connect. 
2. Have you tried enabling debug mode on Adapter? If yes, could you please attach your debug log here to know if it is Adapter library issue or QTP issue?
3. Have you tried running your RFT adapter and QTP adapter on the same machine? ( just to avoid any possibilities of IP resolution issues ). 
This contains all the other information and things which you can choose to try and see if any of the step  solves your problem. Report back if problem persists after checking all the steps mentioned in above thread ( including license check, debug mode on, team permission roles checks etc.). 

Thanks,
Abhishek



Comments
Stuart Arnold commented Mar 27 '18, 5:14 a.m.

1. This is the first time we have tried  using the Adapter.

2. Logs  attached although not sure if I have enable debug correctly a I can't find any references as to how to do it. (extract below)

3. No they are on separate devices

4. Test User has JAzzAdmin. Created role and give it all rqm permissions and assigned to the test user. I have successfully connected the command line adapter using the same parameters as the HP QTP adapter.


Stuart Arnold commented Mar 27 '18, 5:17 a.m.

QTPAdapter.log
[main]  INFO com.ibm.rqm.adapter.library - Launched the Adapter console
[main]  INFO com.ibm.rqm.adapter.library - Successfully created an HTTP client
[main]  INFO com.ibm.rqm.adapter.library - The adapter is now connected
[main] DEBUG com.ibm.rqm.adapter.qtp - resolved project area named
[main]  INFO com.ibm.rqm.adapter.qtp - Created Quick Test Professional Adapter 6.0.1
[Thread-8] DEBUG com.ibm.rqm.adapter.library - Adapter polling RQM server for instructions.
[Thread-8]  INFO com.ibm.rqm.adapter.library - Stored configuration is out of sync. Adapter is re-registering.
[Thread-8] DEBUG com.ibm.rqm.adapter.library - Adapter process going for sleep for: 5 seconds.
[Thread-8] DEBUG com.ibm.rqm.adapter.library - Adapter polling RQM server for instructions.
[Thread-8]  INFO com.ibm.rqm.adapter.library - Stored configuration is out of sync. Adapter is re-registering.





Stuart Arnold commented Mar 27 '18, 5:19 a.m.

LaunchQTPAdaptorError.log (Part1)
java.lang.InterruptedException
 at java.lang.Object.wait(Native Method)
 at java.lang.Object.wait(Object.java:503)
 at com.passlogix.vgo.ho.EventDispatchRunner.runAndWait(EventDispatchRunner.java:83)
 at com.passlogix.vgo.ho.EventDispatchRunner.runAndWait(EventDispatchRunner.java:48)
 at com.passlogix.vgo.ho.WindowScanner.getFrameTitle(WindowScanner.java:408)
 at com.passlogix.vgo.ho.WindowScanner.run(WindowScanner.java:474)
java.lang.InterruptedException
 at java.lang.Object.wait(Native Method)
 at java.lang.Object.wait(Object.java:503)
 at com.passlogix.vgo.ho.EventDispatchRunner.runAndWait(EventDispatchRunner.java:83)
 at com.passlogix.vgo.ho.EventDispatchRunner.runAndWait(EventDispatchRunner.java:48)
 at com.passlogix.vgo.ho.WindowScanner.run(WindowScanner.java:485)


Stuart Arnold commented Mar 27 '18, 5:19 a.m.

LaunchQTPAdaptorError.log (Part2)
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\HP\Unified Functional Testing\bin\java_shared\classes";"C:\Program Files (x86)\HP\Unified Functional Testing\bin\java_shared\classes\jasmine.jar


permanent link
Stuart Arnold (62) | answered Apr 12 '18, 11:43 a.m.

Issue was an error in the com.ibm.rqm.adapter.qtp.web.ini on the RQM server.

The entry for com.ibm.rqm.adapter.qtp.web.updatesite was a single line:

"url=file:C:/Users/amt16/Desktop/QTP/QTPAdapterWebUI/com.ibm.rqm.adapter.qtp.web.updatesite/com.ibm.rqm.adapter.qtp.web.updatesitefeatureid=com.ibm.rqm.adapter.qtp.web.feature"

where as it should have been two:

"url=file:C:/Users/amt16/Desktop/QTP/QTPAdapterWebUI/com.ibm.rqm.adapter.qtp.web.updatesite/com.ibm.rqm.adapter.qtp.web.updatesite
featureid=com.ibm.rqm.adapter.qtp.web.feature"

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.