[ http://webtest-community.canoo.com/jira/browse/WT-526?page=all ]
Marc Guillemot closed WT-526:
-----------------------------
Resolution: Incomplete
Assign To: Marc Guillemot
Do you really think that this information allow to understand what is going
wrong?
> Page not found (404) when requesting a webresource
> --------------------------------------------------
>
> Key: WT-526
> URL: http://webtest-community.canoo.com/jira/browse/WT-526
> Project: WebTest
> Type: Bug
> Versions: 3.0
> Environment: Windows XP, ANT 1.7, JDK 1.5, Internet access
> Reporter: Urso
> Assignee: Marc Guillemot
>
> I wrote a webtest script.
> My Story and Steps:
> The script is trying to access a webresource (URL).
> I experienced a page not found (Errorcode 404).
> I looked up on Internet for people with similar occurring problems.
> I found out that I am not the only one.
> Some people are saying that this problem occurs because there might be some
> referencing URL for which the webresource van't be found. It could be a CSS
> resource or JavaScript resource etc etc.
> Since nothing specific to this occurrence is logged during the execution of
> the ant file, I decided to run the script on DEBUG level (log4j.properties).
> In addition some people suggest to set the
> "ThrowExceptionOnFailingStatusCode" to false in order to suppress the "404"
> exceptions/errors.
> So I did.
> Apparently it seemed to work and I could carry on.
> I continued extending my webtest script and added a verifyTitle element. Plus
> the expected value to be tested against.
> Surprisingly my test failed! I know for sure that it must succeed. I haven
> verified the actual title value in the fetched resource (thru webtest reports)
> The actual value for the title is an empty string !!?? (Dazzled)
> So, I concluded .... something must be wrong... and supressing the
> exception/error 404 in my webtest config propagates some ripple effect to the
> rest of the code and therefore affects the verifyTitle outcome.
> I analyzed the log and I am afraid that this could be a bug, because I don't
> see anything wrong except for the exception on verifyTitle. (Test failure)
> Is this a bug, really?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest