| Author |
Message |
tonymaynardsmith
Joined: 02 Dec 2006 Posts: 4
|
Posted: Sat Dec 02, 2006 5:27 pm Post subject: Script Compilation Errors |
|
|
I get a script compilation error talking about a Null reference when I include the lines:
logtofile(webclient.HttpRequest.Headers.ToString)
logtofile(webclient.HttpResponse.Headers.ToString)
Over to you.
Regards, Tony. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Tue Dec 12, 2006 7:44 am Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Sat Dec 30, 2006 10:04 pm Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group