Jump to content
WAPT Forum
Sign in to follow this  
Guest arpoodle

content comparison in testing

Recommended Posts

Guest arpoodle

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

Share this post


Link to post
Share on other sites
Guest Paul Deen
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

Share this post


Link to post
Share on other sites
Guest arpoodle
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...