Forum Discussion

HarshaDevOps's avatar
HarshaDevOps
Occasional Contributor
5 years ago

How to setup Proxy through Command Line

We want to run test cases with different end points and we are unable to pass the proxy through command line. Is there any way we can pass the proxy while running through the testrunner.sh

6 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Aren't those settings saved in settings file?
    • HarshaDevOps's avatar
      HarshaDevOps
      Occasional Contributor

      Hello nmrao

       

      Yes, there are in settings file. We are running the headless Ready API in the docker container. Our QA Team Test Scripts have multiple end points and they are connected using a proxy.  We want to pass our Settings.xml file with proxy defined rather than using the newly created one which will not have proxy .

       

      The below command is not working as it is not able to find the project

       

      /readyapi/ReadyAPI-2.5.0/bin/testrunner.sh "-t/readyapi/ready/soapui-settings.xml" sComponent_TestSuite "-ESIT1" /readyapi/ready/*.xml 

    • HarshaDevOps's avatar
      HarshaDevOps
      Occasional Contributor

      Hello nmrao

      Yes, there are in settings file. We are running the headless Ready API in the docker container. Our QA Team Test Scripts have multiple end points and they are connected using a proxy.  We want to pass our Settings.xml file with proxy defined rather than using the newly created one which will not have proxy .

      The below command is not working as it is not able to find the project

      /readyapi/ReadyAPI-2.5.0/bin/testrunner.sh "-t/readyapi/ready/soapui-settings.xml" sComponent_TestSuite "-ESIT1" /readyapi/ready/*.xml