Forum Discussion

giovanni_favara's avatar
giovanni_favara
Contributor
5 years ago

Cannot run loadtestrunner because the project is protected

Hello,

I use the latest version from RedayAPI (3.0.0) and my project is password protected - the properties are encrypted. When I want to run functional tests in pipeline, I can give the password over the command-line parameter -p but this parameter doesn't exists for the lodtestrunner.

 

How I can run load test over the loadtestrunner using a protected project?

 

Greetings

 

...

15:18:36,575 ERROR [WsdlProject] Unable to decrypt the property [SampleUseCaseCode]. Error: null
15:18:36,577 ERROR [WsdlProject] Unable to decrypt the property [SampleUseCaseCode]. Error: null
15:18:36,578 ERROR [WsdlProject] Unable to decrypt the property [SampleUseCaseCode]. Error: null
15:18:36,580 ERROR [WsdlProject] Unable to decrypt the property [SampleUseCaseCode]. Error: null
Wrong password. Reload the project using the correct password to get access to properties.

...

  • Hi,

     

    Unfortunately, currently, there is  no argument for loadtestrunner.bat which will specify a password for an encrypted project. But, there is a feature request for this in our backlog. 

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    5 years ago

    giovanni_favara,

     

    There is no ETA for this feature so far.

    The only workaround which I can think of is to make a project not protected.

  • PeterG's avatar
    PeterG
    New Contributor

    It is already implemented and this is -x parameter.

    Usage in command line would look like this:
    -xPasswordToDecryptFile 

    • giovanni_favara's avatar
      giovanni_favara
      Contributor

      Thanks for the info. Yes, it has now been implemented. The information is not new to me. Very thoughtful of you.

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi,

     

    Unfortunately, currently, there is  no argument for loadtestrunner.bat which will specify a password for an encrypted project. But, there is a feature request for this in our backlog. 

    • giovanni_favara's avatar
      giovanni_favara
      Contributor

      Hello,
      when did you schedule the issue for?

      Is there a work around?

      • Nastya_Khovrina's avatar
        Nastya_Khovrina
        SmartBear Alumni (Retired)

        giovanni_favara,

         

        There is no ETA for this feature so far.

        The only workaround which I can think of is to make a project not protected.