Using the HP QTP Adapter with RQM 6.0.4
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
Hi Stuart,
Comments
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.
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.
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)
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
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"