We are using REST in our APIs. We are trying to capture the HTTP response and HTTP response Header data in HP Loadrunner to perform load test. Could someone kindly tell how it can be acheived ?
Regards
Amit
Please take a look at this blog post
Related
In SOAP UI, I need to attach a multipart file in a rest api. I have stored responses for this api. I have seen this ans but could not get much help. I know that multipart files are sent in form-data. The documentation talks about some "attachment tab" but I can't find that in my case as I have stored responses - this link gives an idea about my rest api.
Does Syncfusion Dashboard web data source support POST http methods?
If yes, so how set it up?
Thanks!
HTTP Post requests additional data from client to server in the message body, where message body will be like JSON, XML, TEXT etc. This may result in the creation of a new resource or the updates of existing resources or both. In contrast, HTTP Get requests include all required data in the URL. So we support HTTP Get method since POST method is not valid use case.
Regards,
Umapathy S.
I am trying to call an API in ROKU player using bright script. But I a getting "response code -3". But when I am hitting that service on Web Browser it gives the xml in response. Actually there is a redirection in the API which I am using. As I know the redirection is not handled by the ROKU OS level. So How will I come out this situation.
Please help me and provide me any solution for that how can I handle the redirection in ROKU?
Thanks in advance.
The documentation at http://sdkdocs.roku.com/display/sdkdoc/roUrlEvent gives CURLE_URL_MALFORMAT as name for the -3 code you got from GetResponseCode() on the roUrlEvent. Try checking the string you get from GetFailureReason() on that same roUrlEvent, which should give a more detailed description of the problem.
Please check if you are missing any header in http request.
Check for accept header also.
Check this link how to make Get and Post request in Roku.
request = CreateObject("roUrlTransfer")
request.SetUrl("http://blog.roku.com/developer")
html = request.GetToString()
I try to write a HTTPRequester using CFNetwork and with Stream Reader. It is just an a interface to send GET/POST/PUT... request but I can able to create the CFHTTPMessageCreateRequest and set header and postbody also create NSInputStream and successfully open it but the response callback is not getting fired.
Any idea?
I found the ASIHttp code but I cannot able to use it.
can any one give us a complete example code?
My end requirement is to work with socket. setting NTLM based authenticated GET/POST request through CFSocket. any help?
Can anyone give me a simple example about how to send a POST request using CFNetwork?
thanks in advance,
Naveen Shan
How can I post XML data format to server?
(I only know post paramters to server)
Thank you!
It will depend on the server. You could get the NSData -bytes representation of the XML data and, if you're working with a RESTful web application, use PUT or POST when sending the data.