Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Posting a Result using "add_result" with json


#1

Hi guys!

I am trying to post my results from soapui

used this useful post as a guide to setup everything: SoapUI and TestRail - Update Test Status

and the doc: http://docs.gurock.com/testrail-api2/reference-results#add_results

Set up my http request on SoapUI with:

https://[server name].testrail.net/index.php?/api/v2/add_result/[case id]

being my case id: 44786

but when i run it i would allways get

{“error”: “Invalid or incomplete JSON string in API request.”}

Could anyone giveme some help? thanks!


#2

Remove the comma after the 5. If the comma is there it’s assumed that there will be another key:value pair.


#3

thanks @donalaya

very helpfull