Guest arpoodle Report post Posted July 3, 2008 I'm currently evaluating WAPT, and would like to know if it's possible to verify the expected output of a page? One of the issues we occasionally encounter is due to an issue in the load balancer and session persistance, where the repeat requests aren't sent to the same server, and so some of the content isn't rendered properly, as it doesn't have the session information to determine the relevant content. Is there a way to check this content within the test parameters, as the page still loads "correctly" as far as the http status codes are concerned. Thanks a Quote Share this post Link to post Share on other sites
Guest Paul Deen Report post Posted July 4, 2008 Is there a way to check this content within the test parameters, as the page still loads "correctly" as far as the http status codes are concerned. Sort of. What you can do is check for text on the page you're expecting. So if you purchased an order, you could make sure the response you get back from the server contains the literal text "Order Successful". Personally I think this is somewhere that WAPT could be improved, for example, check the destination of 302 redirects would be nice. Someone else suggested have regular expression support there too. As far as I'm aware there is currently no way of doing these things at the moment. Even so, I think the literal text will help you a lot Cheers, Paul Quote Share this post Link to post Share on other sites
Guest arpoodle Report post Posted July 7, 2008 Sort of. What you can do is check for text on the page you're expecting. So if you purchased an order, you could make sure the response you get back from the server contains the literal text "Order Successful". Any idea if that works for the HTML source, or just the rendered textual content? One of the issues I have is that some CSS isnt being loaded properly due to this flaky session persistance, so the text is there, but it's all formatted and coloured wrongly. Being able to check the source code for text matching Would solve my problem. thanks a Quote Share this post Link to post Share on other sites