Giter Site home page Giter Site logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Proxy configurations are written by GUI tool in this location: 
~/.rest-client/rest-client.properties

So your options are:

1. Open GUI tool and then disable proxy
2. Edit proxy.options.is_enabled=false in the file
3. Delete rest-client.properties to regenerate the properties afresh

Original comment by subwiz on 14 Dec 2013 at 2:53

  • Changed state: Fixed

from rest-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Hi subwiz,

thanks for the quick response. Actually I am using RESTClient 3.2.2 CLI in one 
of my automation project. At this time, I have to do everything using CLI 
version (with Java programing) ONLY. Also, this file is only created after the 
execution, so for the first time (in a fresh machine) my test cases may fail. 
Below I have two short questions-

(1) How to disable the proxy using CLI version?
(2) How to configure HTTP Request Timeout using CLI version?

Thank you for the support.

--
Regards
Ravi

Original comment by [email protected] on 14 Dec 2013 at 5:36

from rest-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
The configuration is shared between the CLI and GUI versions.

Original comment by subwiz on 14 Dec 2013 at 5:38

from rest-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Hi subwiz,

Finally I figured out the exact problem. The CLI version is creating 
rest-client.properties with request-timeout-in-millis=60000 ONLY. If the user 
hasn't used GUI version, before executing CLI version, it is showing the above 
exception. After checking with the source code, I realized that as per the 
exception, it is trying to get the integer value of proxy.options.port 
parameter, which is NOT present in the properties file.

Since I never used GUI before this, I noticed that proxy.options.is_enabled 
parameter was not present in rest-client.properties file.


--
Regards
Ravi

Original comment by [email protected] on 14 Dec 2013 at 8:29

from rest-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.