Contributions
Re: Send HTTP request without appending the end point
I saw the same on Mailinators' docs as well and I have no idea why it needs to work the way is does. I did find a horrible, ugly solution to my problem, shown in the screenshot. I added the HTTP/1.1 to the domain value and the entirety of the messege came across. The scary part. The final URL ...domain=true%20HTTP%2F1.1 HTTP/1.1 I have no idea why this would even be accepted as a valid request.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions609Views0likes1CommentRe: Send HTTP request without appending the end point
"Have you spoken to your developers? Have they confirmed if there are header parameters required on this GET?" This is Mailinators' API Thank you for your suggestions. Regardless of source, the only change in all of the manipulations to call that has made a difference is how the HTTP/1.1 is appended to the end of the call. Logs from Fiddler show that the format that does work is to end the URL with: ...&private_domain=true%20HTTP/1.1 HTTP/1.1 The calls leaving the body of the message black end in ...&private_domain=true HTTP/1.1 The problem I am having dealing with this knowledge is trying to manipulate ReadyAPI to behave in the same way. I have tried to stitch this "additional" HTTP non-header, header into the URL from ReadyAPI to no avail.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2KViews0likes3CommentsRe: Send HTTP request without appending the end point
Understood. I managed to get Fiddler working and configured and captured both. The RAW header and response from Chrome: GET https://api.mailinator.com/api/inbox?to=?%40mailinator.com&token=?&private_domain=true%20HTTP/1.1 HTTP/1.1 Host: api.mailinator.com Connection: keep-alive Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Cookie: __cfduid=d421be177b21122fcffa7164759d88f5c1547666655; JSESSIONID=s4~04C12A0D78A5976B550B2F01D68403D8 HTTP/1.1 200 Date: Fri, 01 Mar 2019 21:56:54 GMT Content-Type: application/json;charset=ISO-8859-1 Connection: keep-alive Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Server: cloudflare CF-RAY: 4b0e623178026c4c-SJC Content-Length: 344 {"messages":[{"fromfull":"leviosa@pivotal.io","subject":"Verify your account","from":"leviosa@pivotal.io","origfrom":"leviosa@pivotal.io","to”:”?”,”id”:”?”,”time":1551460931000,"seconds_ago":16483}],"to”:”?”} The Raw header and response from ReadyAPI!: GET https://api.mailinator.com/api/inbox?to=?%40mailinator.com&token=?&private_domain=true HTTP/1.1 Accept-Encoding: gzip,deflate Content-Length: 0 Host: api.mailinator.com Connection: Keep-Alive User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_181) HTTP/1.1 200 Date: Fri, 01 Mar 2019 22:06:41 GMT Content-Type: application/json;charset=ISO-8859-1 Connection: keep-alive Set-Cookie: __cfduid=d49121eb87460e82b00850caa8f6a751f1551478001; expires=Sat, 29-Feb-20 22:06:41 GMT; path=/; domain=.mailinator.com; HttpOnly Set-Cookie: JSESSIONID=s4~B16B7590F17159CAAC26D55C4EAEC8BB; Path=/; HttpOnly Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Server: cloudflare CF-RAY: 4b0e70841e9c6c22-SJC Content-Length: 63 {"messages":[],"to":"?"}6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes6CommentsRe: Send HTTP request without appending the end point
Also - can you clarify what you mean by 'incomplete response' please? By incomplete response, I am speaking to the issue of the missing message. Thank you for your reply to date richie. I appreciate your help.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes8CommentsRe: Send HTTP request without appending the end point
Raw response to SoapUI request: HTTP/1.1 200 Date: Thu, 28 Feb 2019 18:08:33 GMT Content-Type: application/json;charset=ISO-8859-1 Transfer-Encoding: chunked Connection: keep-alive Set-Cookie: __cfduid=d673ca4bba1ce54f6f2b056cb2b225aed1551377313; expires=Fri, 28-Feb-20 18:08:33 GMT; path=/; domain=.mailinator.com; HttpOnly Set-Cookie: JSESSIONID=s3~60B72731C657FDA26FBAB97BAEAD9C94; Path=/; HttpOnly Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Server: cloudflare CF-RAY: 4b04d6535a0f1ea7-SJC {"messages":[],"to":"addressID"} URI from SoapUI:https://api.mailinator.com/api/inbox?to=addressID%40mailinator.com&token=?&private_domain=true%20HTTP/1.1 Response when I copy the URI from SoapUI into browser: {"messages":[{"fromfull":"source@source.com","subject":"email subject","from":"source@source.com","origfrom":"source@source.com","to":"addressID","id":"emailID","time":1551375385000,"seconds_ago":573}],"to":"emailID"} It appears that the entirety of the "messages" is being ignored. ReadyAPI log: Thu Feb 28 10:08:33 PST 2019: INFO: Got response for [TestStepName] in 247ms (63 bytes)6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes0CommentsSend HTTP request without appending the end point
This question was asked in a previous thread but their answer is not my issue and no other answer was posited. I have a HTTP request I would like to add to a load test. It is like this https://myhostname.net/internalservice-myhostnamestatus/v1/services/applicationstatus When i run this in SoapUI i get an incomplete response. If I simply load this into a browser it works just fine. It looks like SoapUI is actually sending https://myhostname.net/internalservice-myhostnamestatus/v1/services/applicationstatusHTTP/1.1 Is there a way to submit the request without appending it with HTTP/1.1?6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes11Comments