Script Compilation Errors

A tool for running ANTS Load projects interactively

Script Compilation Errors

Postby tonymaynardsmith » Sat Dec 02, 2006 4:27 pm

I get a script compilation error talking about a Null reference when I include the lines:


Over to you.

Regards, Tony.
Posts: 4
Joined: Sat Dec 02, 2006 3:18 pm

Postby Brian Donahue » Tue Dec 12, 2006 6:44 am

Hi Tony,

I'll look into supporting this. The problem is that the HttpRequest and HttpResponse objects are 'fakes' in script tester. I don't think I supported the 'inherited' methods like ToString and Headers["something"].
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Postby Brian Donahue » Sat Dec 30, 2006 9:04 pm

This should be fixed now. Thanks for pointing it out.

The Headers object now acts like a WebHeaderCollection object, so you can get request headers by name from your ANTS Load script.

I've also added a few enhancements
  • Percentage complete
  • HTTP error report
  • UI things (window resizing, control updating)
  • Added Imports to the script so VB Constants such as vbCrLf work
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to ANTS Load script tester

Who is online

Users browsing this forum: No registered users and 0 guests