Schnack_Sebastian | 2016-07-20 09:59:34 UTC | #1
In the Developer Center is a description available how to use Postman to test API calls. This is working perfectly.
In addition to this I tried to use SoapUI to test the API calls. I like SoapUI because it is very powerful with the Mockup and TestSuite Stuff.
- I created a REST Project
- I configured the OAuth2.0 authentication, this is working without issues and I get the token
- When I send a request /api/v1/users/me I got the following Errormessage:
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
I googled a little bit an it seems to be related to TLS1.2 (SOAPUI uses TLS 1.0 by default). So I added the Option
-Dsoapui.https.protocols=TLSv1.2
into SoapUI-5.2.1.vmoptions
It is still not working. Did anybody else tried to test the API with SoapUI?
KevinGlinski | 2016-07-20 12:12:40 UTC | #2
It sounds like this issue
https://developer.mypurecloud.com/forum/t/ssl-error-connecting-to-api/
chuck.pulfer | 2016-07-20 12:47:26 UTC | #3
Sebastian,
Not related to your issue around SSL but you should use /api/v2 instead of v1. All new features are going into V2 and V1 will be turned off in the coming months.
Schnack_Sebastian | 2016-07-21 08:05:53 UTC | #4
Yes it seems to be the same issue is related to a missing SNI. I compared the handshakes from Postman and SoapUI in Wirehark and this is missing. The PC Server replies with a Handshake Error to SoapUI.
It seems that I have to wait for a Update on SoapUI for this.
system | 2017-08-28 19:25:23 UTC | #5
This post was migrated from the old Developer Forum.
ref: 149