API is not working using soapUI but is fine when API is called using Postman
Hi,
I just started using soapUI for testing and everything was fine so far on my API calls except for one. I couldn't figure out the reason why, if somebody can help me.
Basically I have this API call:
Method: POST
Endpoint: http://digitaltest.oakam.net:456
Resource: /sign-in
Added the following request:
grant_type = password
username = 123@test.com
password = password1
client_id = CDAF5D04-54B7-4E5D-AC08-5C265D15D703
all the entries have QUERY style and RESOURCE level
Media Type:
application/x-www-form-urlencoded
Added Header:
Content-Type = application/x-www-form-urlencoded
Every time I submit this request, it throws out this error:
- ERROR:Exception in request: java.net.SocketException: Connection reset
But when I was trying this in POSTMAN application or using hurl.it website, the request goes through successfully.
The output that I am expecting on this POST api, is it will return me a Token to be used for other APIs.
- Though not aware, but check this link
http://stackoverflow.com/questions/10576386/invalid-grant-trying-to-get-oauth-token-from-google