Jump to content


Photo

Treat server response as valid for all requests


  • Please log in to reply
1 reply to this topic

#1 someguy

someguy

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 28 May 2013 - 05:15 PM

Is it possible to record a session and check on a test run that the server response is the same?

I have lots of ajax calls and the response should be identical. I copied and pasted the whole dataset returned into the "Server response valid if body CONTAINS the following text:", and that works, but it's very time consuming and changes will be hard to update in that small single line textbox.

Am I missing a global feature for this?

WAPT 8.0 Built on Apr 30 2013
Unregistered version
Installed modules: Module for ASP.NET Testing, Module for JSON Format
OS: Windows 7 (build 7601) x64 (Service Pack 1)

#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 662 posts

Posted 29 May 2013 - 07:32 AM

You can use validation rules for the whole profile.
Or if your ajax calls are identical that try to use the Loop operator instead of lots of requests.
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users