Hi Mark,

If you want to post results you need:

1) Project declarated in the DB. Done for Storperf: 
http://testresults.opnfv.org:80/test/api/v1/projects/storperf
2) Declare test cases under the project. Currently 1 test for Storperf: 
http://testresults.opnfv.org:80/test/api/v1/projects/storperf/cases

Once that is done, you need to do a call to the test api from your code. This 
is an example using python:
https://git.opnfv.org/functest/tree/functest/utils/functest_utils.py#n185


The api is on http://testresults.opnfv.org/test/api/v1 and this is the model 
schema you need to post a result:

{
  "project_name": "",
  "scenario": "",
  "stop_date": “",
  "case_name": "",
  "build_tag": "",
  "version": "",
  "pod_name": "",
  "criteria": "",
  "installer": "",
  "start_date": "",
  "details": ""
}

Serena can help out since she is in charge of the API/DB.

Regards,
Jose



> On 22 Nov 2016, at 22:36, Beierl, Mark <mark.bei...@dell.com> wrote:
> 
> Hello,
> 
> Sorry for misplacing the email, but I know someone sent out information on 
> the test results API being refactored quite a number of months ago.  Where 
> can I find the latest documentation on how to post results?
> 
> Regards,
> Mark
> 
> Mark Beierl
> Advisory Solutions Architect
> Dell EMC | Office of the CTO
> mobile +1 613 314 8106
> mark.bei...@dell.com
> 
> _______________________________________________
> opnfv-tech-discuss mailing list
> opnfv-tech-discuss@lists.opnfv.org
> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to