Is it possible to get different forms of output when sending requests through VBScript?
Hi, I'm currently building a script to send GET requests to a RQM server in order to retrieve information about test cases. The script is built however when I try to use the command string, I get back a html page with none of the information I need. Run the same command through Firefox's HttpRequester addon and I get back the segment of XML I'm after.
I'm using the MSXML2.serverXMLHTTP.6.0 library with VBScript and am ignoring any certificate errors, would this configuration affect what output I'm getting? Or is it sending me some default response data as there was issues with the certificate?
Thank you for your time and help.
Phil
I'm using the MSXML2.serverXMLHTTP.6.0 library with VBScript and am ignoring any certificate errors, would this configuration affect what output I'm getting? Or is it sending me some default response data as there was issues with the certificate?
Thank you for your time and help.
Phil
Accepted answer
Phil, I believe the HTML page is the RQM login page (please confirm). If so, your HTTP client has not successfully logged into RQM using basic/form authentication.
One other answer
Hi Phill,
I am trying to use REST API with VBScript but having trouble with certificates and the authentication as a whole.
Could you please share how you could get rid of the "invalid certification" problem? Also could you share how did you authenticate using the Form Based?
Thanks!
Regards,
Marcelo Fiorito
Comments
Ara Masrof
JAZZ DEVELOPER May 08 '13, 11:05 a.m.Phil,
Phil Webb
May 08 '13, 11:53 a.m.Hi Ara,
I've tried all four variations listed on the main Wiki, and get back the same html each time.
I should mention I'm passing a feedURL with some XPath filtering.