Service Virtualization

Expand all | Collapse all

Need help on Load test for a suite with run mode parallel

Jump to Best Answer
  • 1.  Need help on Load test for a suite with run mode parallel

    Posted 06-04-2018 02:56 AM

    Hi I need to do load test for my SUT using CA DEVTEST. I have a test suite with 4 test cases. The staging document mapped to the suite has 100 instances mentioned for time period 1 hr. The Run mode is chosen as parallel in the test suite set up. Still during execution, the test cases are executed only in serial mode. Please help



  • 2.  Re: Need help on Load test for a suite with run mode parallel

    Posted 06-04-2018 09:29 AM

    Please attach the Suite Document and Staging Document that you are testing with. 

     

    Thanks. 



  • 3.  Re: Need help on Load test for a suite with run mode parallel

    Posted 06-05-2018 02:06 AM

    Run type in suite document chosen as concurrent. Below has both suite and stage doc details

     

    <?xml version="1.0" encoding="UTF-8"?>
    <Suite>

    <meta>

     

    </meta>

    <Name>FR_PNV_Performance</Name>
    <Id>4932FAB467D611E8B1960C2E20524153</Id>
    <Documentation>Put documentation of the suite here.</Documentation>
    <IsInProject>true</IsInProject>
    <DefAudit>{{LISA_RELATIVE_PROJ_ROOT}}/Tests/AuditDocs/DefaultAudit.aud</DefAudit>
    <DefStaging>{{LISA_RELATIVE_PROJ_ROOT}}/Tests/StagingDocs/PNV_Load.stg</DefStaging>
    <DefCS/>
    <BasePath/>
    <RunType>concurrent</RunType>
    <AllowDupes>true</AllowDupes>
    <baseline>false</baseline>
    <Run name="Staging Description" pathfinder="true" think="100">

    <meta>

     

    </meta>


    <IsInProject>true</IsInProject>
    <paceTime>0</paceTime>
    <paceTrans>0</paceTrans>
    <EventConsumer filter="0,1,2,3,6,7,8,9,10,14,15,17,18,19,21,22,23,24,25,26,27,28,30,31,32,37,38,39,40,42,43,44,45,46,47,48,49,51,61,62,63,64,65,66,67,76,79,80,81,82,83,84,85,86,0" type="com.itko.lisa.perfmgr.ReportGeneratorFullReport">
    <params>
    <writeEvents>false</writeEvents>
    <writeProps>false</writeProps>
    <writeMetrics>false</writeMetrics>
    <writeReqResp>true</writeReqResp>
    </params>
    </EventConsumer>
    <LoadPattern>
    <type>com.itko.lisa.coordinator.runpatterns.RunNTimesPattern</type>
    <cycles>1</cycles>
    <runfor>0</runfor>
    <ssinstances>1</ssinstances>
    </LoadPattern>
    <Distribution>
    <type>com.itko.lisa.coordinator.runpatterns.PercentDistribution</type>
    <Simulator>
    <name>auto</name>
    <percent>100</percent>
    <shortname>auto</shortname>
    </Simulator>
    </Distribution>
    <Metrics>
    <SampleRate>1</SampleRate>
    <IntervalRate>10</IntervalRate>
    <Metric type="com.itko.lisa.stats.TestEventCollector">
    <scale>0.0</scale>
    <valueType>1</valueType>
    <color>#c00000</color>
    <eventid>13</eventid>
    <keyexpr>*</keyexpr>
    <counter>true</counter>
    </Metric>
    <Metric type="com.itko.lisa.stats.TestEventCollector">
    <scale>0.0</scale>
    <valueType>1</valueType>
    <color>#ff0000</color>
    <eventid>20</eventid>
    <keyexpr>*</keyexpr>
    <counter>true</counter>
    </Metric>
    <Metric type="com.itko.lisa.stats.TestEventCollector">
    <scale>0.0</scale>
    <valueType>1</valueType>
    <color>#0000ff</color>
    <eventid>15</eventid>
    <keyexpr>*</keyexpr>
    <counter>true</counter>
    </Metric>
    <Metric type="com.itko.lisa.stats.TestEventCollector">
    <scale>0.0</scale>
    <valueType>1</valueType>
    <color>#c00000</color>
    <eventid>50</eventid>
    <keyexpr>*</keyexpr>
    <counter>true</counter>
    </Metric>
    <Metric type="com.itko.lisa.stats.TRIMetricCollector">
    <scale>0.0</scale>
    <valueType>2</valueType>
    <color>#ff00ff</color>
    <metric>0</metric>
    </Metric>
    <Metric type="com.itko.lisa.stats.TRIMetricCollector">
    <scale>0.0</scale>
    <valueType>2</valueType>
    <color>#af00a6</color>
    <metric>1</metric>
    </Metric>
    <Metric type="com.itko.lisa.stats.TRIMetricCollector">
    <scale>0.0</scale>
    <valueType>2</valueType>
    <color>#00a6af</color>
    <metric>5</metric>
    </Metric>
    </Metrics>
    <ipspoofing>
    <ipSpoofingEnabled>false</ipSpoofingEnabled>
    <useIPv4>true</useIPv4>
    <useIPv6>false</useIPv6>
    <selectionAlgorithm>ROUND_ROBIN</selectionAlgorithm>
    </ipspoofing>
    </Run>
    <SuiteEntry>
    <type>suite</type>
    Test cases in the suite
    </SuiteEntry>
    </Suite>



  • 4.  Re: Need help on Load test for a suite with run mode parallel
    Best Answer

    Posted 06-05-2018 09:17 AM

    I tried to run our example testcases in parallel and I am not able to reproduce this behavior. 

     

      What does your testcased do?  Do you have any wait time in your tests? 

     

    Please open a ticket with CA support. We can debug this issue in a webex. 

     

    Thanks

     

    Shiney