Service Virtualization

  • 1.  Unable to stage the test and the error message displayed as "Error staging test: Could not stage: Error creating result "

    Posted Nov 22, 2018 04:37 AM

    When I try to stage the test which has JDBC step with custom assertions which uses savetoExcelFilter I am getting the following error as "Error staging test: Could not stage: Error creating result".

     

    I have the "savetoExcelFilter" added to hotdeploy folder and updated the typemap properties.

     

    Please see the exception log below.

     

    Thank you.

     

    ============================================================================
    | Exception:
    ============================================================================

    ----------------------------------------------------------------------------
    | Trapped Exception: Error creating result
    | Trapped Message:

    ============================================================================
    | Exception:
    ============================================================================
    | Step: Filter
    ----------------------------------------------------------------------------
    | Message: Error creating result
    ----------------------------------------------------------------------------
    | Trapped Exception: com.itko.excel.filter.FilterSaveResultSettoExcelFile
    | Trapped Message: java.lang.ClassNotFoundException: com.itko.excel.filter.FilterSaveResultSettoExcelFile
    ----------------------------------------------------------------------------
    STACK TRACE
    java.lang.ClassNotFoundException: com.itko.excel.filter.FilterSaveResultSettoExcelFile
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at com.itko.lisa.test.FilterBaseImpl.makeFilter(FilterBaseImpl.java:364)
    at com.itko.lisa.test.FilterBaseImpl.filterFactory(FilterBaseImpl.java:383)
    at com.itko.lisa.test.FilterBaseImpl.loadFilters(FilterBaseImpl.java:339)
    at com.itko.lisa.test.TestNode.baseInit(TestNode.java:1789)
    at com.itko.lisa.test.TestNode.nodeFactory(TestNode.java:1724)
    at com.itko.lisa.test.TestNode.loadNodes(TestNode.java:1700)
    at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1516)
    at com.itko.lisa.coordinator.CoordinatorImpl.setTestCase(CoordinatorImpl.java:1475)
    at com.itko.lisa.coordinator.CoordinatorImpl.stageModelArchive(CoordinatorImpl.java:1239)
    at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.itko.lisa.net.RemoteMethodExec.execute(RemoteMethodExec.java:57)
    at com.itko.lisa.net.ServerRequestHandler.processRMIMessage(ServerRequestHandler.java:533)
    at com.itko.lisa.net.ServerRequestHandler.access$600(ServerRequestHandler.java:70)
    at com.itko.lisa.net.ServerRequestHandler$5.run(ServerRequestHandler.java:451)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    ============================================================================



  • 2.  Re: Unable to stage the test and the error message displayed as "Error staging test: Could not stage: Error creating result "

    Broadcom Employee
    Posted Nov 25, 2018 10:15 PM

    Hi,

        Can you please tell us the version of Devtest you are using?  As you have mentioned, you are using customer assertion to save resultset to excel. Is this assertion built on same version which you are using? 

        I assume that "FilterSaveResultSettoExcelFile" does not exists in the current version which you are using. You need to re-built the custom assertion according the version you are using.

     

    Thanks & Regards

    Srikanth Gajawada



  • 3.  Re: Unable to stage the test and the error message displayed as "Error staging test: Could not stage: Error creating result "

    Posted Nov 27, 2018 02:04 PM

    Thank you for your reply.

    I am using the DevTest Desktop version 10.1 and the Server version is 10.3



  • 4.  Re: Unable to stage the test and the error message displayed as "Error staging test: Could not stage: Error creating result "
    Best Answer

    Broadcom Employee
    Posted Nov 27, 2018 02:16 PM

    Satish, we do not support DevTest Desktop ( Workstation) version 10.1 with the Server version  10.3.  The workstation and DevTest components should be on version 10.3.  

    Also,  it looks like the custom patch was created for 10.1.  You would have to compile it for version 10.3   

     

     

    Thanks

     

    Shiney. 



  • 5.  Re: Unable to stage the test and the error message displayed as "Error staging test: Could not stage: Error creating result "

    Posted Nov 28, 2018 04:16 AM

    Thanks for your reply.

     

    I will update the versions and try this again.

     

    And also will check the compilation of the custom patch in 10.3.