Service Virtualization

  • 1.  Maximum error count (100) exceeded

    Posted Jul 10, 2017 01:10 AM

    Using LISA 8.01 version.

     

    I created a Test and added filter "Parse HTML Result for the Value of an Attribute". This Test hit the Service sometimes filter don't get value so it throws an Error. As the count of Error increases more than 100 because their are many data for which it runs in loop too. Due to which Coordinator stops the Test.

     

    What is the property for which need to increase error count for it.

     

     

    2017-06-21 09:32:27,310Z (04:32) [Event Sink Thread Pool Thread 4] WARN com.itko.lisa.coordinator.TestRegistryImpl - Couldn't extract hostname of database from url: jdbc:oracle:thin:@ora-test-lisa-d1.vmware.com:1521:lisatst
    2017-06-21 09:32:27,310Z (04:32) [Event Sink Thread Pool Thread 4] INFO com.itko.lisa.coordinator.TestRegistryImpl - Coordinator Servers: 1 Simulator Servers: 1 VSEs: 1 Running vusers: 1 Labs: 1 Memory used 254mb, allocated 269mb, max 910mb (27%) labSims: 1 labVSEs: 1 labCoords: 1 Our cpu usage 0%, system cpu used 3% GC time 0% db ping error
    2017-06-21 09:32:30,614Z (04:32) [QuartzScheduler_Worker-4] INFO System.out - 2017-06-21 04:32:30 TestRun Info for Insertcustomerdetails [Run1User1Cycle]: avgNodeTime (ms) = 445 instances = 1 cycles = 0 failed = 0 steps = 220 steps/sec = 1.5 cycles/sec = 0

    2017-06-21 09:32:30,614Z (04:32) [QuartzScheduler_Worker-4] INFO System.out -
    2017-06-21 09:32:35,049Z (04:32) [qtp2064455829-328242] ERROR System.err - avgresp: 439.0, currentTime: 1498037555049, middle: 1498037555499

    2017-06-21 09:32:35,282Z (04:32) [qtp2064455829-611154] ERROR System.err - avgresp: 439.0, currentTime: 1498037555282, middle: 1498037555499

    2017-06-21 09:32:40,619Z (04:32) [QuartzScheduler_Worker-4] INFO System.out - 2017-06-21 04:32:40 TestRun Info for Insertcustomerdetails [Run1User1Cycle]: avgNodeTime (ms) = 444 instances = 1 cycles = 0 failed = 0 steps = 237 steps/sec = 1.5 cycles/sec = 0

    2017-06-21 09:32:40,619Z (04:32) [QuartzScheduler_Worker-4] INFO System.out -
    2017-06-21 09:32:50,625Z (04:32) [QuartzScheduler_Worker-4] INFO System.out - 2017-06-21 04:32:50 TestRun Info for Insertcustomerdetails [Run1User1Cycle]: avgNodeTime (ms) = 445 instances = 1 cycles = 0 failed = 0 steps = 250 steps/sec = 1.5 cycles/sec = 0

    2017-06-21 09:32:50,625Z (04:32) [QuartzScheduler_Worker-4] INFO System.out -
    2017-06-21 09:32:51,090Z (04:32) [qtp2064455829-106] ERROR System.err - avgresp: 445.0, currentTime: 1498037571090, middle: 1498037571499

    2017-06-21 09:32:57,313Z (04:32) [Event Sink Thread Pool Thread 2] WARN com.itko.lisa.coordinator.TestRegistryImpl - Couldn't extract hostname of database from url: jdbc:oracle:thin:@ora-test-lisa-d1.vmware.com:1521:lisatst
    2017-06-21 09:32:57,313Z (04:32) [Event Sink Thread Pool Thread 2] INFO com.itko.lisa.coordinator.TestRegistryImpl - Coordinator Servers: 1 Simulator Servers: 1 VSEs: 1 Running vusers: 1 Labs: 1 Memory used 248mb, allocated 269mb, max 910mb (27%) labSims: 1 labVSEs: 1 labCoords: 1 Our cpu usage 0%, system cpu used 2% GC time 0% db ping error
    2017-06-21 09:33:00,632Z (04:33) [QuartzScheduler_Worker-4] INFO System.out - 2017-06-21 04:33:00 TestRun Info for Insertcustomerdetails [Run1User1Cycle]: avgNodeTime (ms) = 446 instances = 1 cycles = 0 failed = 0 steps = 264 steps/sec = 1.5 cycles/sec = 0

    2017-06-21 09:33:00,632Z (04:33) [QuartzScheduler_Worker-4] INFO System.out -
    2017-06-21 09:33:07,047Z (04:33) [qtp2064455829-840091] ERROR System.err - avgresp: 441.0, currentTime: 1498037587047, middle: 1498037587499

    2017-06-21 09:33:10,640Z (04:33) [QuartzScheduler_Worker-4] INFO System.out - Wed Jun 21 04:33:10 CDT 2017 Coordinator4: Test ended. Passed: 0 Failed: 0 Aborted: 0 Errors: 0

    2017-06-21 09:33:10,640Z (04:33) [QuartzScheduler_Worker-4] INFO System.out - Test ended.

     


    17-06-21 09:44:14,933Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:14 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$tradeid'
    2017-06-21 09:44:29,776Z (04:44) [Event Sink Thread Pool Thread 2] INFO com.itko.lisa.coordinator.CoordinatorServerImpl - Memory used 59mb, allocated 74mb, max 455mb (12%) Our cpu usage 0%, system cpu used 2% GC time 0%
    2017-06-21 09:44:29,776Z (04:44) [Event Sink Thread Pool Thread 2] INFO com.itko.lisa.coordinator.CoordinatorServerImpl - Active coordinators: 1
    2017-06-21 09:44:29,776Z (04:44) [Event Sink Thread Pool Thread 2] INFO com.itko.lisa.coordinator.CoordinatorServerImpl - ==================================================================================================
    2017-06-21 09:44:29,776Z (04:44) [Event Sink Thread Pool Thread 2] INFO com.itko.lisa.coordinator.CoordinatorServerImpl - | Name Started Ending |
    2017-06-21 09:44:29,776Z (04:44) [Event Sink Thread Pool Thread 2] INFO com.itko.lisa.coordinator.CoordinatorServerImpl - ==================================================================================================
    2017-06-21 09:44:29,776Z (04:44) [Event Sink Thread Pool Thread 2] INFO com.itko.lisa.coordinator.CoordinatorServerImpl - | Insertcustomerdetails [Run1User1Cycle]Wed Jun 21 04:41:00 CDT 2017 N/A
    2017-06-21 09:44:29,776Z (04:44) [Event Sink Thread Pool Thread 2] INFO com.itko.lisa.coordinator.CoordinatorServerImpl - --------------------------------------------------------------------------------------------------
    2017-06-21 09:44:30,946Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:30 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$firstname'
    2017-06-21 09:44:30,946Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:30 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$lastname'
    2017-06-21 09:44:30,947Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:30 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$address1'
    2017-06-21 09:44:30,947Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:30 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$address2'
    2017-06-21 09:44:30,947Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:30 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$city'
    2017-06-21 09:44:30,947Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:30 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$state'
    2017-06-21 09:44:30,947Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:30 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$country'
    2017-06-21 09:44:30,947Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:30 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$email'
    2017-06-21 09:44:30,947Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.HistoryWriteSupport - Got warning/error event : Insertcustomerdetails,Insertcustomerdetails [Run1User1Cycle],0,0,REST Customer Step,AD6296B525311E7AC08C0335EE23A52,Step warning,Wed Jun 21 04:44:30 CDT 2017,REST Customer Step,The specified JSON path is not found. JSON path = '$company'
    2017-06-21 09:44:30,947Z (04:44) [ServerRequestResponder 68] WARN com.itko.lisa.history.AbstractWriteSupport - Maximum error count (100) exceeded. Stopping test!!!



  • 2.  Re: Maximum error count (100) exceeded
    Best Answer

    Broadcom Employee
    Posted Jul 10, 2017 04:12 PM

    In you staging document, under  Reports Tab,   you could change the  ' Maximum number of errors and failure before test is stopped field to a higher number.   

     



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

    Posted Jul 11, 2017 01:05 AM

    Thank you