Service Virtualization

  • 1.  Error in IBM MQ service

    Posted Feb 24, 2019 09:13 PM

    Hi,

     

    I am getting the below error in VSE for IBM MQ service listen step. Could see below error in VSE transactions. I am not using any Java script in my virtual Service. Not sure when and why this error is getting generated. Could you please provide some inputs on this error. 

     

    ============================================================================
    | null
    ============================================================================
    | Step: Listen
    ----------------------------------------------------------------------------
    | Trapped Exception: null
    | Trapped Message: java.lang.ArrayIndexOutOfBoundsException
    ----------------------------------------------------------------------------
    STACK TRACE
    java.lang.ArrayIndexOutOfBoundsException
    ============================================================================

     

    Thank You

    Rajasekhar



  • 2.  Re: Error in IBM MQ service

    Broadcom Employee
    Posted Feb 25, 2019 02:44 AM

    I think that your incoming payload does not match the request Data Protocol Handlers that are defined for the Listen step.

     

    Have a look in the VS_ ... log file what the incoming message looks like? And which data protocol are you applying to it?

    (vaguely seem to remember that an array index out of bounds error also appears if there is an issue with character set decoding; but that also is a case of the incoming message not being what the VS expects)

     

    Cheers,

    Danny



  • 3.  Re: Error in IBM MQ service

    Posted Feb 28, 2019 02:30 PM

    Thank You Danny.

    This MQ service has SOAP request and response messages. Request coming to the service is matching with the one in VSI and virtual service is responding back. I Could not see any mismatch errors in VSE log file. and some times, with out any transactions also i am seeing this error. Though there are no transactions hitting the service, in transaction viewer error is displayed.

     

    PFB the complete error and image:

     

     

    <?xml version="1.0" encoding="UTF-8"?>
    <CycleHistory>
    <EndedState>2</EndedState>
    <ModelUniqueId>D6583E8D4A2611E8861C005056974E6E</ModelUniqueId>
    <CycleUniqueId>A03105A33B6A11E9B2DB005056974E6E</CycleUniqueId>
    <StagingId>9E88AC033B6A11E9B2DB005056974E6E</StagingId>
    <Run>VS_MQ_Cons_TSYSCreditCare [VS_VS_MQ_BHOB_ECP_LME_Cons_TSYSCreditCare_Run]</Run>
    <Sim>local</Sim>
    <Instance>59</Instance>
    <Cycle>0</Cycle>
    <WarningCount>0</WarningCount>
    <ErrorCount>1</ErrorCount>
    <Configuration>D:\CA\DevTest\10.3.0\install\lisatmp_10.3.0\lads\9E88AC033B6A11E9B2DB005056974E6E\VS_MQ_BHOB_ECP_Cons_TSYSCreditCare\Configs\project.config</Configuration>
    <DataSets ></DataSets>
    <Companions ></Companions>
    <QuietSteps ></QuietSteps>
    <EventActions ></EventActions>
    <Start>1551366475165</Start>
    <StartTime>2019-02-28 10:07:55</StartTime>
    <End>1551371843708</End>
    <EndTime>2019-02-28 11:37:23</EndTime>
    <EndedByDSM>false</EndedByDSM>
    <Workflow>
    <StepExecHistory>
    <StepName>Listen</StepName>
    <StepGUID>null</StepGUID>
    <Time>1551366475165</Time>
    <Timestamp>2019-02-28 10:07:55</Timestamp>
    <TestRunId>9E88AC033B6A11E9B2DB005056974E6E</TestRunId>
    <TypeName>IBM MQ Native VSE Listen</TypeName>
    <Target>Receive from QUEUE NAME</Target>
    <CycleUniqueId>A03105A33B6A11E9B2DB005056974E6E</CycleUniqueId>
    <EndedState>2</EndedState>
    <RespTime>5368541</RespTime>
    <Bandwidth>0</Bandwidth>
    <PropsSet>
    <Prop>
    <Type>S</Type>
    <Name>lisa.Listen.rsp</Name>
    <Value>java.lang.ArrayIndexOutOfBoundsException</Value>
    <time>1551371843706</time>
    </Prop>
    <Prop>
    <Type>S</Type>
    <Name>lisa.Listen.rsp.time</Name>
    <Value>5368541</Value>
    <time>1551371843707</time>
    </Prop>
    <Prop>
    <Type>S</Type>
    <Name>DOM</Name>
    <Value>[#document: null]</Value>
    <time>1551371843708</time>
    </Prop>
    <Prop>
    <Type>S</Type>
    <Name>CardNumber</Name>
    <Value ></Value>
    <time>1551371843708</time>
    </Prop>
    </PropsSet>
    <PropsUsed>
    <Prop>
    <Type>U</Type>
    <Name>LASTRESPONSEPAYLOAD</Name>
    <Value><<null>></Value>
    <time>1551371843707</time>
    </Prop>
    <Prop>
    <Type>U</Type>
    <Name>DOM</Name>
    <Value><<null>></Value>
    <time>1551371843707</time>
    </Prop>
    </PropsUsed>
    <Events>
    <Event>
    <id>62</id>
    <time>1551371843708</time>
    <timestamp>11:37:23</timestamp>
    <short>Finished transaction processing</short>
    <long>Ending</long>
    <TestRunId>9E88AC033B6A11E9B2DB005056974E6E</TestRunId>
    </Event>
    </Events>
    <Warnings ></Warnings>
    <Errors>
    <Msg>
    <Body>Listen :

    ============================================================================
    | null
    ============================================================================
    | Step: Listen
    ----------------------------------------------------------------------------
    | Trapped Exception: null
    | Trapped Message: java.lang.ArrayIndexOutOfBoundsException
    ----------------------------------------------------------------------------
    STACK TRACE
    java.lang.ArrayIndexOutOfBoundsException
    ============================================================================</Body>
    <Type>E</Type>
    <TestRunId>9E88AC033B6A11E9B2DB005056974E6E</TestRunId>
    <time>1551371843706</time>
    </Msg>
    </Errors>
    </StepExecHistory>
    <StepExecHistory>
    <StepName>abort</StepName>
    <StepGUID>D6583E934A2611E8861C005056974E6E</StepGUID>
    <Time>1551371843708</Time>
    <Timestamp>2019-02-28 11:37:23</Timestamp>
    <TestRunId>9E88AC033B6A11E9B2DB005056974E6E</TestRunId>
    <TypeName>Test Aborted</TypeName>
    <CycleUniqueId>A03105A33B6A11E9B2DB005056974E6E</CycleUniqueId>
    <EndedState>2</EndedState>
    <RespTime>0</RespTime>
    <Bandwidth>0</Bandwidth>
    <PropsSet>
    <Prop>
    <Type>S</Type>
    <Name>lisa.abort.rsp.time</Name>
    <Value>0</Value>
    <time>1551371843708</time>
    </Prop>
    </PropsSet>
    <PropsUsed ></PropsUsed>
    <Events ></Events>
    <Warnings ></Warnings>
    <Errors ></Errors>
    </StepExecHistory>
    </Workflow>
    </CycleHistory>

     

     

    Thank You

    Rajasekhar



  • 4.  Re: Error in IBM MQ service

    Broadcom Employee
    Posted Mar 01, 2019 12:07 PM

    What we can see from this is that your request payload is "null" but I'm pretty sure it is null as a result of the java.lang.ArrayIndexOutOfBoundsException and not the cause of it.

     

    Did you find any information in either the vse.log file and/or this specifc VS_ ... just before the end-time related to this incoming request? If so please provide what you found or provide the relevant logs themselves to this question. This should be for anything just before this  <EndTime>2019-02-28 11:37:23</EndTime>

     

    Can you also let us know: which Data Protocol Handlers are configured for this Listen step? 

     

    Cheers,

    Danny



  • 5.  Re: Error in IBM MQ service

    Posted Mar 01, 2019 04:28 PM

    Thank You Danny. I am not seeing any error details in VSE.log file ad VS_Service name file.

    I have configured Web Service (SOAP) as Data Protocol Filter in Listen Step.

     

    Thank You

    Rajasekhar