itsmeagain
9 years agoNew Contributor
http/2 support in soapui
For a testing purpose, i must make a Rest call using HTTP/2.
When making the request i do get a the error org.apache.http.client.ClientProtocolException.
The http log reports
Fri May 20 13:27:00 CEST 2016:DEBUG:<< "[0x0][0x0][0x18][0x4][0x0][0x0][0x0][0x0][0x0][0x0][0x1][0x0][0x0][0x10][0x0][0x0][0x3][0x0][0x0][0x1]?[0x0][0x5][0x0][0x0]@[0x0][0x0][0x6][0x0][0x0][0x1f]@[0x0][0x0]?[0x7][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x1]HTTP/2 client preface string missing or corrupt. Hex dump for received bytes: 504f5354202f332f6465766963652f306439313763653434[\r][\n]"
Outside SoapUI i can reproduce the error using curl and forcing to use HTTP1.1
> curl -d '{"aps":{"alert":"My First Push Notification!","sound":"default"}}' --cert "./HCMonitorPush.pem":"secret" -H "apns-topic: reddipped.com.myapp" --http2 https://api.development.push.apple.com/3/device/0e9339aadd9 --ciphers ECDHE-RSA-AES256-GCM-SHA384 -vvv --http1.1 ?@@?HTTP/2 client preface string missing or corrupt. Hex dump for received bytes: 504f5354202f332f6465766963652f306439313763653434Chigatze:certificates push notifi
So SoapUI is probably lacking HTTP/2 support. Is there a known workaround to make an HTTP/2 request from SoapUI ?