Quantcast
Channel: Gurock Software Support Forum
Viewing all articles
Browse latest Browse all 829

add_result API method via node only works if routed through fiddler

$
0
0

Hi

I'm trying to use the TestRail API to write some methods in node.js in order to post test results to TestRail (to incorporate into the automated tests we're developing). I can get add_result to post a result to my test if I cURL it, but not if I make the same request in node - I get a 500 Internal server error. I can make GET requests in node, but not POSTs. I figured I'd route the request through Fiddler to see what's going on, and bizarrely the script began posting test results. I can't figure out where I'm going wrong - is this a known issue?

Thanks in advance,

Carrie


Viewing all articles
Browse latest Browse all 829

Trending Articles