Comments (4)
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.
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.
The configuration is shared between the CLI and GUI versions.
Original comment by subwiz
on 14 Dec 2013 at 5:38
from rest-client.
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)
- When RESTClient is opened with history filled in url field, the size of UI spreads across to fit the content of url HOT 1
- Huge response stuck the ui when "Default enable Response Body syntax coloring" is enable HOT 3
- Body length status message throws NPE when body is not available HOT 1
- Copy selected header value HOT 6
- HTML Syntax color patch HOT 1
- Json Response should always json indent and json colour the response body HOT 2
- NFE in cli when RESTClient cli is run fresh (~/.rest-client/ does not exist) HOT 1
- “WizTools.org RESTClient” is damaged and can’t be opened. You should move it to the Trash. HOT 1
- Request-fail with whitespace in URL HOT 1
- SslReqBean keyStore and trustStore type should be java.io.File HOT 1
- support sending chunked data in the request HOT 1
- Add a comments tab to application HOT 1
- INFO: Cannot load Proxy options from properties HOT 2
- Error displaying request header values in Header table HOT 1
- Set-Cookie response header not shown with rest-client api HOT 1
- Is there way, where I can see Response in Json format with Response Content-Type Header as "application/json" HOT 2
- Copy/paste to URL in X-windows (via PRIMARY selection) doesn't work.
- rest-client sometimes does not respect the clipboard (Ctrl+C) contents on X windows
- Not able to open RCQ's saved with 2.4 rest client on 3.2.2 restclient version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-client.