Anyone using #RestAssured who wants to play with Mutual TLS / Client Certificates? I've updated https://www.jvt.me/posts/2020/01/14/mutual-tls-auth-rest-assured/ so that it now actually works 👍
Tag rest-assured
#Java friends testing using #RestAssured, you may enjoy my article https://www.jvt.me/posts/2020/05/18/rest-assured-curl/ which can help you convert its logs to curl
requests, for cases you need to do some manual testing, too
Converting Output from Rest Assured to Curl Requests (3 mins read).
How to convert the log output from Rest Assured to a curl
request.
Performing Mutual TLS Authentication with Rest Assured (via Apache HTTP Client) (3 mins read).
How to configure Rest Assured to perform Mutual TLS authentication against an API.
Verify if a field in a JSON response is not set with Rest Assured (1 mins read).
How to verify whether a field is not present in a JSON Rest Assured Response
.
Gotcha: URL Encoding for consecutive double slashes issue with Rest Assured (2 mins read).
How to workaround consecutive double slashes being URL encoded (as %2F
s) in Rest Assured.