Class TestAutomationResource


  • @Path("/lumis/service/portalmanagement/testautomation")
    public class TestAutomationResource
    extends java.lang.Object
    Test automation resource.
    Since:
    10.4.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getErrorsSince​(@NotNull @Size(min=23,max=23) java.lang.String since)
      Returns the info log error messages since the given date time.
      java.lang.String getLastInfoLogMessageDate()
      Returns the last info log message's date time as a string.
      java.lang.String getTestsRunningStatus()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestAutomationResource

        public TestAutomationResource()
    • Method Detail

      • getLastInfoLogMessageDate

        @Path("/log/info/messages/last/dateTime")
        @GET
        public java.lang.String getLastInfoLogMessageDate()
                                                   throws java.lang.Exception
        Returns the last info log message's date time as a string.
        Returns:
        the last info log message's date time as a string.
        Throws:
        java.lang.Exception
        Since:
        10.4.0
      • getErrorsSince

        @Path("/log/info/messages/errors")
        @GET
        public java.lang.String getErrorsSince​(@NotNull @Size(min=23,max=23) @QueryParam("since")
                                               @NotNull @Size(min=23,max=23) java.lang.String since)
                                        throws java.lang.Exception
        Returns the info log error messages since the given date time.
        Parameters:
        since - the last date time as string (obtained via getLastInfoLogMessageDate().
        Returns:
        the info log error messages since the given date time.
        Throws:
        java.lang.Exception
        Since:
        10.4.0
      • getTestsRunningStatus

        @Path("/testsRunningStatus")
        @GET
        @Produces("application/json")
        public java.lang.String getTestsRunningStatus()
                                               throws java.lang.Exception
        Returns:
        Throws:
        java.lang.Exception
        Since:
        10.4.0