[ 
https://issues.apache.org/jira/browse/SLING-3752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Bosschaert updated SLING-3752:
------------------------------------

    Attachment: sling-3752.patch

The attached sling-3752.patch file, which can be applied after SLING-3746 is 
completed, provides a starting point for this automation.
It requires a sling instance running and listening on port 8080.

Then run
{code}testing/samples/simple-tests $ mvn install -Pperftest
...{code}
and ultimately you will see the output of the POST test invocation:
{code}  [ac:post]     "INFO_TYPE": "test",
  [ac:post]     "description": 
"readPerf(org.apache.sling.testing.simple.simpletests.SimpleTest)",
  [ac:post]     "test_metadata": {
  [ac:post]       "test_per90": 2.8000000000000007,
  [ac:post]       "test_perc10": 0,
  [ac:post]       "test_median": 0,
  [ac:post]       "test_max": 3,
  [ac:post]       "test_execution_time_msec": 78,
  [ac:post]       "test_suite_name": "readPerf",
  [ac:post]       "test_min": 0{code}

> Automate deployment and running of Sling performance test
> ---------------------------------------------------------
>
>                 Key: SLING-3752
>                 URL: https://issues.apache.org/jira/browse/SLING-3752
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>            Reporter: David Bosschaert
>            Assignee: Antonio Sanso
>         Attachments: sling-3752.patch
>
>
> SLING-3746 combines the server side junit tests with the performance tests. 
> It would be nice is the deployment (in Sling) and running of these 
> performance tests could be automated.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to