Service Virtualization

Expand all | Collapse all

Need to execute few steps in a test case on some other machine while running an ITR.

Jump to Best Answer
  • 1.  Need to execute few steps in a test case on some other machine while running an ITR.

    Posted 04-04-2017 07:02 AM

    I'm connected to a remote registry on which I want to execute those steps. So, in the step information (on the top-right corner) I've selected the remote simulator for those steps - in Execute on (Drop Down)!

     

    I've changed the scope for those steps to Global.

     

    However, I'm getting the below error -

    ============================================================================
    | Asset not found: config://dest-7153A13FF43C11E696FA6A6220524153
    ============================================================================
    | Step: Generic ACK/ NAK Listener
    ----------------------------------------------------------------------------
    | Message: Asset not found: config://dest-7153A13FF43C11E696FA6A6220524153
    ----------------------------------------------------------------------------
    | Trapped Exception: Asset not found: config://dest-7153A13FF43C11E696FA6A6220524153
    | Trapped Message:

    ============================================================================
    | Exception:
    ============================================================================
    | Message: Asset not found: config://dest-7153A13FF43C11E696FA6A6220524153
    ----------------------------------------------------------------------------
    ============================================================================


    ----------------------------------------------------------------------------
    STACK TRACE


    ============================================================================
    | Exception:
    ============================================================================
    | Message: Asset not found: config://dest-7153A13FF43C11E696FA6A6220524153
    ----------------------------------------------------------------------------
    ============================================================================


    at com.itko.lisa.asset.RefAsset.getAsset(RefAsset.java:92)
    at com.itko.lisa.asset.spec.SpecAsset.evaluate(SpecAsset.java:219)
    at com.itko.lisa.asset.operation.AbstractSpecOperation.evaluate(AbstractSpecOperation.java:64)
    at com.itko.lisa.asset.operation.AbstractRuntimeOperation.evaluate(AbstractRuntimeOperation.java:82)
    at com.itko.lisa.asset.spec.SpecOperation.evaluate(SpecOperation.java:214)
    at com.itko.lisa.asset.operation.AbstractSpecOperation.evaluate(AbstractSpecOperation.java:64)
    at com.itko.lisa.asset.operation.AbstractRuntimeOperation.evaluate(AbstractRuntimeOperation.java:82)
    at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:162)
    at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:125)
    at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1288)
    at com.itko.lisa.test.NodeExecEngine.execute(NodeExecEngine.java:55)
    at com.itko.lisa.coordinator.SimulatorServerImpl.executeNode(SimulatorServerImpl.java:186)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.itko.lisa.net.RemoteMethodExec.execute(RemoteMethodExec.java:57)
    at com.itko.lisa.net.ServerRequestHandler.processRMIMessage(ServerRequestHandler.java:434)
    at com.itko.lisa.net.ServerRequestHandler.access$300(ServerRequestHandler.java:67)
    at com.itko.lisa.net.ServerRequestHandler$4.run(ServerRequestHandler.java:357)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    ============================================================================

    Any help on this would be appreciated

     

    Thanks in advance! 



  • 2.  Re: Need to execute few steps in a test case on some other machine while running an ITR.

    Posted 04-20-2017 01:42 PM

    abrsh01Staging work perfectly. However what I'm tyring to achieve here is to execute few steps on a simulator while doing the ITR. Is that possible?

    Anyway, for some reason, I'm getting a different exception now. I'll upload that tomorrow.  

    Thanks for your reply.



  • 3.  Re: Need to execute few steps in a test case on some other machine while running an ITR.

    Broadcom Employee
    Posted 04-12-2017 02:07 PM

    Can you look at project.assets folder under Config folder   , open it in  File explorer.  See if any of those assets are missing.  



  • 4.  Re: Need to execute few steps in a test case on some other machine while running an ITR.

    Posted 04-13-2017 11:28 AM

    Hi Shiney,

     

    Thanks for your reply. It works when I use it as local.

     

    So assets are in place I believe. 



  • 5.  Re: Need to execute few steps in a test case on some other machine while running an ITR.
    Best Answer

    Broadcom Employee
    Posted 04-13-2017 11:32 AM

    create a mar file for that particular test  and try to stage that mar. 

     

    If you are still facing issues, please open a support ticket with us.  We can debug this further in a webex

     

    Thanks

     

    Shiney.