Web Testing
Contents |
[edit]
Unit Testing for the Web
- JavaScript
- ActionScript
- Note: be aware of using sessions and remoting as testing would be coupled to using the browser. If at all possible, solve the problem in a way automated unit testing is possible.
[edit]
Regression Testing for the Web
- JavaScript
- ActionScript
- XHTML/CSS
[edit]
Performance Testing for the Web
- Charles
[edit]
Stress Testing for the Web
- Charles
- asdf
[edit]
User Agent Testing
If you happen to have the get tool in your path (depends on you having ActivePerl installed), try this: c:\>get -dSUH "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)" http://novak:8080
And you should see the trace back of request headers and response status chain. You should expect output like this:
U:\>get -dSUH "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)" http://novak:8080 GET http://novak:8080/homecrawler User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html) GET http://novak:8080 --> 302 Moved Temporarily GET http://novak:8080/home --> 302 Moved Temporarily GET http://novak:8080/homecrawler --> 200 OK
And if you want to see the output, remove the 'd' option: U:\>get -SUH "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)" http://novak:8080
and you should see something like this:
GET http://novak:8080/homecrawler User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html) GET http://novak:8080 --> 302 Moved Temporarily GET http://novak:8080/home --> 302 Moved Temporarily GET http://novak:8080/homecrawler --> 200 OK <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html xmlns="http://www/w3/org/TR/xhtml1"> <head> <title>Nintendo</title> <!-- [...] --> </head> <body onload="rolloverInit();"> <div align="center"> <!-- [...] --> </div> </body> </html>
[edit]
Testing for Nathan
U:\>get -dSUH "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)" http://aspn.activestate.com GET http://aspn.activestate.com/ASPN/ User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html) GET http://aspn.activestate.com --> 302 Moved Temporarily GET http://aspn.activestate.com/ASPN/ --> 200 OK U:\>get -dSUH "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)" http://www.nintendo.com GET http://www.nintendo.com User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html) GET http://www.nintendo.com --> 200 OK U:\>get -dSUH "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)" http://noa2dev.nintendo.com GET http://noa2dev.nintendo.com User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html) GET http://noa2dev.nintendo.com --> 200 OK U:\>get -dSUH "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)" http://novak:8080 GET http://novak:8080/homecrawler User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html) GET http://novak:8080 --> 302 Moved Temporarily GET http://novak:8080/home --> 302 Moved Temporarily GET http://novak:8080/homecrawler --> 200 OK U:\>get -dSUH "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)" http://copper.radius.ad GET http://copper.radius.ad/homecrawler User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html) GET http://copper.radius.ad --> 302 Moved Temporarily GET http://copper.radius.ad/home --> 302 Moved Temporarily GET http://copper.radius.ad/homecrawler --> 200 OK U:\>
This page has been accessed 2,260 times. This page was last modified 04:44, 27 September 2006.