Changing Script Name Doesnt Change Script Name in Editor

Forum for users of ANTS web server load testing tool

Moderator: Brian Donahue

Changing Script Name Doesnt Change Script Name in Editor

Postby AdamL » Wed Nov 15, 2006 9:21 pm

I have an issue where I have recorded 15 Scripts as I recorded each script I have changed the names from the default Browse whatever to more relevant names. But when I go into the script editor it would appear that it has not only saved the scripts that I had removed but not renamed any of the scripts to the names I have changed them to.


Please help......

Thanks,

Adam
AdamL
 
Posts: 10
Joined: Tue Oct 24, 2006 1:56 pm

Postby Brian Donahue » Thu Nov 16, 2006 12:37 pm

Hi Adam,

Yes, I know. The script management is ANTS Load is completely flaky. You have to remember to change the name of the 'class' in the script file if you change the name of the file in the project. This should get the ANTS Load script manager to properly correlate the script name with the file name.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby AdamL » Thu Nov 16, 2006 1:57 pm

Wow I am very dissapointed in the performance of Ants Load on a number of very simple cases. I guess I will just have to recreate all 15 Test Cases.

Thanks Again Brian
AdamL
 
Posts: 10
Joined: Tue Oct 24, 2006 1:56 pm

Postby Brian Donahue » Thu Nov 16, 2006 3:18 pm

You don't have to recreate the test cases! Just change the class name to the same thing as the file name on the right. For instance if you rename the script from foo to bar, open the script editor and make sure that
Code: Select all
Public Class foo
becomes
Code: Select all
 Public Class bar
Close the script editor. In the 'edit load' dialogue's composition tab, change the script name from 'foo' to 'bar'.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby AdamL » Thu Nov 16, 2006 4:45 pm

The problem is that I have like 20 Browse Client entries and I can tell them apart simply by looking at the generated script.
AdamL
 
Posts: 10
Joined: Tue Oct 24, 2006 1:56 pm


Return to ANTS Load

Who is online

Users browsing this forum: No registered users and 0 guests