How to setup Proxy through Command Line
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Community, any ideas on how to accomplish this task?
Olga Terentieva
SmartBear Assistant Community Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @HarshaDevOps,
I'm not sure if wildcards are supported:
@HarshaDevOps wrote:
/readyapi/ready/*.xml
Could you please specify the full path to the project?
You can find more information about command line arguments in this article:
https://support.smartbear.com/readyapi/docs/soapui/running/automating/cli.html
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tanya,
We can use wildcards as long as we call the Entry Point through shell sript. It is working now
We would like to pass the proxy through command line as it is a headless mode. How can we pass the proxy through command line for headless Ready API ?
