Forum Discussion

tparikh's avatar
tparikh
Occasional Contributor
12 years ago

The variable index is out of range warning in loadcomplete

I am currently trying to run 4 different scripts through loadcomplete. When I try to run all the scripts together they show me this warning. How to solve this warning?



And what is it actually about? Can anyone explain me about the error and how to solve it?

Here is one of the several error warnings:





Request #555 of the virtual user "Virtual user group 3 (1)" in the scenario "spreadsheet_schedule": The variable index is out of range. Avaliable items: 10. Requested index: 11. The following value is used: 1.





Note: When I run each of the four scripts individually they run perfectly fine without errors.



Thannks

Tapan



  • Anonymous's avatar
    Anonymous
    Tapan

    this message happens when LC scrolls through your data sources past the range of the rows that a data source has. LC just loops around and picks up the first row again. So in fact there is no harm that is indicated by this message.



    We actually have a small task to clarify this message in release 2.7.



    When you say "you run all 4 scripts together" what exactly does that mean?

    There are really no scripts in LC, rather, scenarios and load tests that are based on scenarios. I presume, you have a test that includes all four scenarios, correct?



    Or what is the arrangement?

  • tparikh's avatar
    tparikh
    Occasional Contributor
    Yes, I meant all 4 scenarios together.

    So what is the possible solution for this?



    Thanks

    Tapan
  • Anonymous's avatar
    Anonymous
    Well I am not sure there is a problem to begin with.



    Is this a Web site that can be accessed from outside or is it inside of your firewall?

    If it is accessible from outside, we'd like to ask you to zip up your project including your data sources and file a support case at our Support Site. We can then replay it and see what the deal is.



    Without either that or having a streaming session to understand how the various scenarios interact in terms of virtual user numbers and the associated datasources it is pretty hard to figure out where the catch is. I think it has to do with the size of your various datasources and the load profile for your test.
  • tparikh's avatar
    tparikh
    Occasional Contributor
    It is inside of my firewall.

    Another question which i had is regarding the changing of webserver.

    I have recorded my scenario on webserver with IP :192.168.9.100,

    Now i wanna use the same script for 192.168.9.105 ,



    How to change the server for the same script as every request would be having 192.168.9.100



    would you please list the steps.



    Thanks

    Tapan



  • tparikh's avatar
    tparikh
    Occasional Contributor
    I have found the solution for the question which i posted just now.



    Will keep you updated.



    Thanks for the prompt response.



    Tapan