Service Virtualization

  • 1.  Maximum error count (100) exceeded.  Stopping test

    Posted Aug 25, 2015 07:47 AM

    When a test process is executed with in the suite the following error "Maximum error count (100) exceeded.  Stopping test" is displayed and the process id been aborted. In the test suite increased the Maximum number of errors before the test is stopped to 999999999, even then the test is aborted after 100 error. Do we need to change any of the configuration files apart from the error count.

    Also facing the following errors for every test executuion

    2015-08-25 10:57:22,273Z (16:27) [GenericFilterFlows [Run1User1Cycle]/0] ERROR com.itko.util.HtmlUtils        - java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "] "

    java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "] "

     

    The request from the Reest Step is

    "http://<<sever>>:8080/ca-nim-sm/odata/default/v2/Request"

    Response

    {

    "d" : {

    "__metadata" : {

    "uri" : "http://chesa13-scom2:8080/ca-nim-sm/odata/default/v2/Request('887a695284ce8e00e2536454d5deffa6')", "type" : "com_ca_integration_normalization_omodel.Request"

    }, "updatedTimeStamp" : "2015-08-25T16:36:11+05:30", "status" : "active", "reportedByUserID" : "sreepriya", "launchInContext" : "<<LIC URL>>", "referenceNumber" : "REQ0010912", "creationUserID" : "user", "creationTimeStamp" : "2015-08-25T16:36:11+05:30", "impact" : "medium", "urgency" : "medium", "id" : "887a695284ce8e00e2536454d5deffa6", "description" : "create-desc-incident500", "priority" : "low", "updatedByUserID" : "user", "name" : "filterTestName876799556", "attachment" : {

    "__deferred" : {

    "uri" : "http://<<server>>:8080/ca-nim-sm/odata/default/v2/Request('887a695284ce8e00e2536454d5deffa6')/attachment"

    }

    }, "comment" : {

    "__deferred" : {

    "uri" : "http://<<server>>:8080/ca-nim-sm/odata/default/v2/Request('887a695284ce8e00e2536454d5deffa6')/comment"

    }

    }, "customProperties" : {

    "__deferred" : {

    "uri" : "http://<<server>>:8080/ca-nim-sm/odata/default/v2/Request('887a695284ce8e00e2536454d5deffa6')/customProperties"

    }

    }

    }

    }



  • 2.  Re: Maximum error count (100) exceeded.  Stopping test

    Posted Aug 25, 2015 09:58 AM

    My question would be why would you have a tolerance for even 100 errors.  That many errors suggest some issues need to be addressed in the tests.



  • 3.  Re: Maximum error count (100) exceeded.  Stopping test

    Posted Aug 26, 2015 01:31 AM

    For every action following error is displayed

    “2015-08-25 10:57:22,273Z (16:27) [GenericFilterFlows [Run1User1Cycle]/0] ERROR com.itko.util.HtmlUtils        - java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "] "

    1. java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "] "”

     

    But the intended actions are performed on the end product.

    On LISA not able to get the reason of the error. We created a subprocess of Post method with the URL format for the request and use these subprocesses in test flows. For executing the test flows the data input is from the excel file.

    For suppressing the error should we change the subprocess step