Macis, I don't understand why your test is failing.
Here are two suggestions for getting more information: 1) Add a "storeHeader" command to the failing step. 2) Install wireshark on the computer which is running webtest. Add the filter "http && ip.addr == xxx.xxx.xxx.xxx" where " xxx.xxx.xxx.xxx" is the ip address for your test system. Wireshark will show you all the http requests and responses between your system running the test and the application under test. My first guess is that for some reason you are not passing the player account information that you expect. You want to be 100% certain that you are sending the correct credentials to the application and wireshark will help you see that. Good luck with it. Cheers, Tim Pezarro Manager, Web Services Corporate Marketing [email protected] Phone: +1-604-415-6044 Cell: +1-604-762-1000 Fax: +1-604-415-6602 PMC-Sierra, Inc. 8555 Baxter Place Burnaby, BC, Canada V5A 4V7 -----Original Message----- From: [email protected] on behalf of mascis Sent: Mon 5/16/2011 12:36 AM To: [email protected] Subject: Re: [Webtest] 401 error I recalled that when user is logging as a player a password for the game is required also. I tried this: <clickButton label="Play" username = "user" password ="pwd"/> It did not work so can anyone help me with this? mascis wrote: > > I'm trying to make tests for a web page that contains two kind of users: > admin and player. Our demo server requires a password like this: <invoke > url="http://..." > username = "root" password ="pwd" />. > After this everything works just fine except for player trying to log in. > For some reason Webtest gives HTTP error 401 and Resulting page says: > > Authorization Required > > This server could not verify that you are authorized to access the > document requested. Either you supplied the wrong credentials (e.g., bad > password), or your browser doesn't understand how to supply the > credentials required. > > Does anyone know what might be wrong? Everything works fine for admin > logging so I'm getting quite confused and frustrated. > -- View this message in context: http://old.nabble.com/401-error-tp31626675p31626790.html Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

