Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Not able to register HP loadrunner adapter due to error "Stored configuration is out of sync. Adapter is re-registering."

  We have Jazz team server (5.0.2) with RQM 5.0.2. We are trying to integrate HP ALM with RQM and have installed Rational HP loadrunner adapter on our jazz server.
Now when i try to run adapter from client machine, after providing server url, user id, adapter name, project area. But i am getting same error again and again.

"Stored configuration is out of sync. Adapter is re-registering"

Please note i have "Rational Quality Manager - Quality Professional-Token" enabled in client license.
The user i am using while connecting has admin,tester and test lead roles assigned to it. It also has access to project area.
In the Repository Permissions section, JazzUsers is selected.
I can run Command line adapter with same configuration.

I am running out of options to figure out why the error is appearing?
is there a version mismatch?
How can i check the version of installed adapter on server side (through Admin web console)?

0 votes

Comments

I assume that you have already checked out these posts.
https://jazz.net/forum/questions/120304/why-when-selecting-local-resources-for-pointing-to-command-line-test-scripts-does-it-get-stuck-on-loading
https://jazz.net/forum/questions/141436/rqm-qtp-adapter-integration-stored-configuration-is-out-of-sync-adapter-is-re-registering

If you only see this simple message, you need to somehow enable debug mode to see more verbose messages to understand the issue.

  Hi Donald


Thanks for reply.

Few points i have checked :
--I can access RQM server from the machine i am trying to run adapter on.
--The java version is 1.8.
--I have deleted config.properties file and tried to run the adapter but same result.
--The public URL i am using is ,https://almdev.cl.internal.xyz.com/qm.
--Jazz user is selected under repository permissions.
--Enabled token is Quality professional.
--There are only three roles in our project area, Admin, tester, testlead. All are assigned to user i am trying to connect with. This user has the permissions to register and save an adapter.

What i am missing here?

Can it be a proxy related issue?

 I have enabled debug too and below is what i am getting in log file.

       - Adapter process going for sleep for: 5 seconds.
       - Adapter polling RQM server for instructions.
   - Stored configuration is out of sync. Adapter is re-registering.


That's interesting. So the adapter can actually be registered but just can't stay "stable". If you have quick hands, maybe you can copy the configuration file for different registrations and see what has been changed? In the case of RQM Command Line Adapter, the configuration file is Config2.ini and it holds the "stored configuration".

 I have used same settings (repository, project area, user, polling etc) in command line adapter as well. Its connecting perfectly but not the LoadRunner.

Loadrunner log is :
- Instantiating an adapter instance...
- Adapter Arguments ... 
- -repository
-https://almdev.cl.internal.xyz.com/qm
- -user
- test
- -password
- *
- -adapter
- HP_load
- -projectArea
- TEST_RQM
- Adapter Name
- HP_LoadRunner
- Polling Interval (seconds)
- 5
- Successfully created an HTTP client
- The adapter is now connected
- resolved project area named "TEST_RQM" to alias: TEST_RQM
- Created LoadRunner Adapter 5.0
         - Adapter polling RQM server for instructions.
       - Stored configuration is out of sync. Adapter is re-registering.

Can you confirm if the adapter configuration file is being updated when the adapter re-registers?

 Hi Paul


Thanks for reply.
I checked content as well as time stamps on config.properties during adapter registration and re-registration. No change.
Any idea what's happening here?

Regards,
Monica

what is your loadrunner version?

Hi Don

Loadrunner version is 5.0.2 (the adapter on client machine). Although i am not able to check version on our jazz server as i can only access it through web UI. Our jazz server is 5.0.2 so i am assuming same would be the adapter at server. Is there a way to check it through UI?


Regards,
Monica

 I have received input that it might be related to Repository Permissions. Our user has Jazz User enabled but according to input it should be at least one of these, to register adapters,

-JazzAdmin
-JazzProjectAdmin

Is that correct coz i did not come across this in documentation or blogs?

Monica, there was a recent update to the CLA/Selenium adapter readmes related to permissions (see Information missing in the following documentation: Setting up and starting the command-line adapter (154875)).  Also, are you using a proxy?  If so, see The JUnit adapter does not update the Config2.ini configuration file with the proxy credentials. (157284).

Hi Paul

Thanks for links. I went through these links. Our user has Register tool adapter permission, XML Export. In XML Import, he can post only (not delete).
But as i said, We are able to register command line adapter. JUnit is also working. Its the HP load runner and QTP adapters which are creating problem.
We are not using proxy.

Thanks Monica for checking.  At this point, I would suggest opening a PMR to investigate.

showing 5 of 13 show 8 more comments


2 answers

Permanent link
 http://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.3/com.ibm.rqm.adapter.loadrunner.ua/html/topics/LRPrepareArchiveShared.html

The above link explains a bit more about the ZIP archive which contains configuration.properties file. This is just to confirm that there is no issue from this  archive perspective.

0 votes

Comments

 Hi Abhishek


Thanks for reply.

I believe that's for when we are trying to execute 'Use test resources from a shared location'. In my scenario, i am trying 'Use test resources that are local to a test machine'--> Select Adapter.

Any idea why that's creating error?

Regards,
Monica


Permanent link
Thanks All for your valuable inputs and time. I really appreciate taking out time and looking into it. What worked for me was Repository Permissions as JazzAdmin (although one can try JazzProjectAdmin as well).
We can now view the adater as registered in Adapter console of IBM RQM.

Thanks Again!!.

Regards,
Monica

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 1,381

Question asked: Nov 14 '16, 10:58 p.m.

Question was seen: 3,022 times

Last updated: Nov 25 '16, 5:50 a.m.

Confirmation Cancel Confirm