kowalpy / Robot-Framework-JMeter-Library

Robot Framework and JMeter integration
16 stars 11 forks source link

IndexError: list index out of range #3

Open Formartha opened 6 years ago

Formartha commented 6 years ago

Hi,

While trying to run a jmeter test (*.jmx file) and analyzing it's output, the exception that is being raised is the following :

FAIL : IndexError: list index out of range

what could be the issue?

kowalpy commented 6 years ago

In which file do you see this error? Which versions were used ? Please share files if possible

kowalpy commented 6 years ago

@Formartha without additional information I can't tell what it is. Phrase list index out of range is a common programming error message so it can mean anything if I don't know exact scenario.

adiralashiva8 commented 4 years ago

@kowalpy I observed same issue when jtl file dont have enough information

image

Following are steps:

  1. Create test plan (thread which accepts users from command line argument with help of property ${__P(users)} )
  2. Execute above jmx without passsing users Run Jmeter Analyse Jtl Convert To Html jmeter.bat test.jmx test.jtl
  3. Observe jtl is created & error is shown while parsing
kowalpy commented 4 years ago

Is this issue related to https://github.com/kowalpy/Robot-Framework-JMeter-Library/issues/4?

adiralashiva8 commented 4 years ago

@kowalpy no, its not related to #4

Here case is we have jtl file with no rows (apart from headers).

Due to this we got list index out of range exception