nilabh-mi / lr2jm

Automatically exported from code.google.com/p/lr2jm
0 stars 0 forks source link

erroneous whitespace in TestPlan.user_defined_variables #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I ran the script against our LR tests and the JMeter UI threw NPEs trying to 
display the TestPlan panel.

What version of the product are you using? On what operating system?

JMeter 2.4
LodRunner 9.5

Please provide any additional information below.

I tracked the problem down to whitespace in the TestPlan.user_defined_variables 
XML.  Line 395 of lr2jm.pl is:

>$elementproperty->setAttribute('name',' TestPlan.user_defined_variables');

Removing the whitespace from the start of the string fixed the problem.

Original issue reported on code.google.com by alan....@gmail.com on 23 Mar 2011 at 2:32