Release Automation

  • 1.  HP Quality Center Plugin - (HPQC)

    Posted Dec 14, 2016 07:54 AM

    Hello Community,

     

    I heard from CA RA support that HP QC plugin to be used only for changing the status of testing scripts designed in QC portal rather than executing the same. Is that true?

     

    Can't we execute the test script from HP QC plugin provided by CA RA suite? If yes, what is point of having this plugin!

     

    Need your expertise here.

     

     

    Thanks,

    Raghavendra Guttur



  • 2.  Re: HP Quality Center Plugin - (HPQC)
    Best Answer

    Posted Dec 14, 2016 11:02 AM

    Hi Raghavendra Guttur,

     

    I have no answer for your question but we are trying to use the action "HP QC - Run Test" and have some trouble to make it working even if we are really close to it...

     

    When we run it we get the following error message :

     

    with a tcpdump on the agent machine we were able to catch the URL called.

    It seems like when the action calls :

    - the endpoint /qcbin/rest/domains : it returns all the domains the user as rights on, i.e. "AUTOMATISATION"

    - the endpoint /qcbin/rest/domains/AUTOMATISATION/projects : it returns an empty XML stream "<projects/>"

     

    When we try the same with curl command when get the following answers :

    curl -c qc_cookiesz -u <login>:<password> http://<alm_fqdn>:<alm_port>/qcbin/authentication-point/authenticate

     

    curl -b qc_cookiesz http://<alm_fqdn>:<alm_port>/qcbin/rest/domains
    <?xml version="1.0" encoding="UTF-8"?><Domains><Domain Name="AUTOMATISATION"/></Domains>

     

    curl -b qc_cookiesz http://<alm_fqdn>:8080<alm_port>/qcbin/rest/domains/AUTOMATISATION/projects
    <?xml version="1.0" encoding="UTF-8"?><Projects><Project Name="REFERENTIEL_AUTOMATISATION"/>

     

    So, using the action we get an empty stream, but with curl command it works...

     

    Where is the problem ?

     

    As we are blocked there we do not know if we effectively can run the tests...

     

    Regards.



  • 3.  Re: HP Quality Center Plugin - (HPQC)

    Posted Dec 16, 2016 08:59 AM

    Thanks for this detailed explanation! Have raised an ER to CA development team.

    I didn't try using CURL options to trigger tests, will give it a shot.

    Currently, all the scripts are moved to UFT platform and using UFT plugin to trigger scripts successfully.

     

    Thanks,

    Raghavendra Guttur

    +91 9901900122