Comments (8)
[deleted comment]
from rest-assured.
Anybody looking at these issues ?
Original comment by [email protected]
on 18 May 2015 at 11:00
from rest-assured.
Yes I've seen it but I haven't had the time to look into it. I'm working on
this project on my spare time.
Original comment by [email protected]
on 18 May 2015 at 12:02
from rest-assured.
Let me know if I have to provide more details...
Current situation is that I have to use apache http client for some testscript
instead of Rest Assured.
Original comment by [email protected]
on 24 May 2015 at 7:33
from rest-assured.
What does the code look like when you're using HTTP Client?
Original comment by [email protected]
on 26 May 2015 at 9:13
from rest-assured.
Herewith the code I'm using with HTTP client
System.setProperty("javax.net.ssl.trustStore", new
File("src/test/resources/myKeystore").getAbsolutePath());
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
HttpClient client = HttpClientBuilder.create().build();
HttpPost post = new HttpPost("localhost/rest/session");
post.addHeader(HttpHeaders.CONTENT_TYPE, "application/json");
StringEntity params = new StringEntity("some body");
post.setEntity(params);
HttpResponse response = client.execute(post);
System.out.println("Response Code : " +
response.getStatusLine().getStatusCode());
Original comment by [email protected]
on 26 May 2015 at 10:01
from rest-assured.
I suppose you ought to be able to do this using setParam in HttpClientConfig?
https://code.google.com/p/rest-assured/wiki/Usage#HTTP_Client_Config
Original comment by [email protected]
on 26 May 2015 at 10:30
from rest-assured.
Do you mean this:
RestAssured.config =
newConfig().httpClient(httpClientConfig().setParam("javax.net.ssl.trustStore",
new
File("src/test/resources/myKeystore").getAbsolutePath()).setParam("javax.net.ssl
.trustStorePassword", "changeit"));
Because the code above is not working..
Original comment by [email protected]
on 26 May 2015 at 1:04
from rest-assured.
Related Issues (20)
- Assertion listener for granular reporting
- Junit5 enhancement HOT 2
- `.body(containsString("XPath"))` does not match an XML body containing `"XPath"`
- JsonPath: wrong result and exception when jsonPath partly evaluates to string/boolean/number
- All my problems with REST Assured
- RequestSpecification.queryParam does not respect null values HOT 3
- Groovy leaking memory
- Remove org.sonatype.oss:oss-parent
- `JsonPath#getJsonObject` is not documented
- BUG! exception in phase 'conversion' in source unit 'Script1.groovy' (Not reproducable) HOT 5
- `io.restassured.builder.ResponseBuilder.build()` ignores `io.restassured.RestAssured.registerParser(String contentType, Parser parser)`
- Error java.lang.NoSuchMethodError for HttpMethod.resolve(). HOT 2
- Enhancement: Disable a filter/Set a filter to None
- A JSONObject text must begin with '{' at 1 [character 2 line 1] HOT 5
- Do not print empty or blacklisted request or response parameters to the console. HOT 1
- Rest Assured 5.4.0 does not handle valid Json HOT 3
- IllegalArgumentException: Path parameters were not correctly defined. Redundant path parameters when retrying request HOT 1
- Doc/Wiki: Workshop link referred in example section does not work
- There is no way to log multipart/form-data sections in request except for logging all the request data
- Rest-Assured vulnerabilities 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-assured.